diff options
Diffstat (limited to 'scripting/java/com/sun/star/script/framework/container/ScriptEntry.java')
-rw-r--r-- | scripting/java/com/sun/star/script/framework/container/ScriptEntry.java | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/scripting/java/com/sun/star/script/framework/container/ScriptEntry.java b/scripting/java/com/sun/star/script/framework/container/ScriptEntry.java index ddd3fa712ebf..b4d6a70e8e22 100644 --- a/scripting/java/com/sun/star/script/framework/container/ScriptEntry.java +++ b/scripting/java/com/sun/star/script/framework/container/ScriptEntry.java @@ -76,13 +76,11 @@ public class ScriptEntry implements Cloneable { } public boolean equals(ScriptEntry other) { - if (language.equals(other.getLanguage()) && - languagename.equals(other.getLanguageName()) && - logicalname.equals(other.getLogicalName()) && - languagedepprops.equals(other.getLanguageProperties()) && - location.equals(other.getLocation())) - return true; - return false; + return language.equals(other.getLanguage()) && + languagename.equals(other.getLanguageName()) && + logicalname.equals(other.getLogicalName()) && + languagedepprops.equals(other.getLanguageProperties()) && + location.equals(other.getLocation()); } public Map<String,String> getLanguageProperties() |