diff options
Diffstat (limited to 'scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java')
-rw-r--r-- | scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java index a9f04564794f..8d2755576aa6 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java @@ -284,11 +284,7 @@ public class ParcelFolder extends DataFolder { private class ParcelFolderFilter implements DataFilter { public boolean acceptDataObject(DataObject dobj) { String name = dobj.getPrimaryFile().getNameExt(); - - if (name.equals(ParcelZipper.PARCEL_DESCRIPTOR_XML)) - return false; - - return true; + return !name.equals(ParcelZipper.PARCEL_DESCRIPTOR_XML); } } } |