diff options
author | Timo Westkämper <[email protected]> | 2014-04-17 23:26:13 +0300 |
---|---|---|
committer | Timo Westkämper <[email protected]> | 2014-04-17 23:26:13 +0300 |
commit | f64dfb33396d4a5fc7f5cd93e865167d37ef1351 (patch) | |
tree | 77087b4f3913479d227fa6333374aeb4add60c1f /api/src/main | |
parent | 418e3db25eb9f526ce8b766047d1a04c5f5ba6db (diff) |
Fix tests
Diffstat (limited to 'api/src/main')
-rw-r--r-- | api/src/main/java/org/osjava/jardiff/JarDiff.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/api/src/main/java/org/osjava/jardiff/JarDiff.java b/api/src/main/java/org/osjava/jardiff/JarDiff.java index 0926b60..dcf6454 100644 --- a/api/src/main/java/org/osjava/jardiff/JarDiff.java +++ b/api/src/main/java/org/osjava/jardiff/JarDiff.java @@ -436,8 +436,6 @@ public class JarDiff MethodInfo newInfo = (MethodInfo) newMethods.get(desc); if (!criteria.differs(oldInfo, newInfo)) j.remove(); - else if (oldInfo.isPrivate() && newInfo.isPrivate()) - j.remove(); } j = changedFields.iterator(); while (j.hasNext()) { @@ -446,8 +444,6 @@ public class JarDiff FieldInfo newInfo = (FieldInfo) newFields.get(desc); if (!criteria.differs(oldInfo, newInfo)) j.remove(); - else if (oldInfo.isPrivate() && newInfo.isPrivate()) - j.remove();; } boolean classchanged = criteria.differs(oci, nci); if (classchanged || !removedMethods.isEmpty() |