aboutsummaryrefslogtreecommitdiffstats
path: root/api/src/main
diff options
context:
space:
mode:
authorTimo Westkämper <[email protected]>2014-04-17 23:26:13 +0300
committerTimo Westkämper <[email protected]>2014-04-17 23:26:13 +0300
commitf64dfb33396d4a5fc7f5cd93e865167d37ef1351 (patch)
tree77087b4f3913479d227fa6333374aeb4add60c1f /api/src/main
parent418e3db25eb9f526ce8b766047d1a04c5f5ba6db (diff)
Fix tests
Diffstat (limited to 'api/src/main')
-rw-r--r--api/src/main/java/org/osjava/jardiff/JarDiff.java4
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()