Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,7 @@ public boolean equals(Object o) {

WalletTypeExtension that = (WalletTypeExtension) o;

if (walletType != that.walletType) return false;

return true;
return walletType == that.walletType;
}

@Override
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -107,15 +107,8 @@ public static boolean isUnix() {
final String os = getOsName().toLowerCase();

// XXX: this obviously needs some more work to be "true" in general (see bottom of file)
if ((os.contains("sunos")) || (os.contains("linux"))) {
return true;
}

if (isMac() && (System.getProperty("os.version", "").startsWith("10."))) {
return true;
}
return (os.contains("sunos")) || (os.contains("linux")) || isMac() && (System.getProperty("os.version", "").startsWith("10."));

return false;
}

/**
Expand Down