Skip to content

Commit 2678ed0

Browse files
committed
Slight mods to no-op
1 parent 91ac504 commit 2678ed0

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/main/java/org/codehaus/plexus/archiver/diags/NoOpArchiver.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737
@SuppressWarnings( "UnusedDeclaration" )
3838
public class NoOpArchiver implements Archiver
3939
{
40+
boolean useJvmChmod;
41+
private boolean ignorePermissions;
42+
4043
public void createArchive()
4144
throws ArchiverException, IOException
4245
{
@@ -264,21 +267,21 @@ public void setDuplicateBehavior( String duplicate )
264267

265268
public void setUseJvmChmod( boolean useJvmChmod )
266269
{
267-
270+
this.useJvmChmod = useJvmChmod;
268271
}
269272

270273
public boolean isUseJvmChmod()
271274
{
272-
return false;
275+
return useJvmChmod;
273276
}
274277

275278
public boolean isIgnorePermissions()
276279
{
277-
return false;
280+
return ignorePermissions;
278281
}
279282

280283
public void setIgnorePermissions( boolean ignorePermissions )
281284
{
282-
285+
this.ignorePermissions = ignorePermissions;
283286
}
284287
}

0 commit comments

Comments
 (0)