langtools/src/jdk.jshell/share/classes/jdk/jshell/Unit.java
changeset 37005 71210037624f
parent 35000 952a7b4652f0
child 37644 33cf53901cac
--- a/langtools/src/jdk.jshell/share/classes/jdk/jshell/Unit.java	Fri Apr 08 11:52:46 2016 +0200
+++ b/langtools/src/jdk.jshell/share/classes/jdk/jshell/Unit.java	Fri Apr 08 10:51:57 2016 -0700
@@ -140,12 +140,6 @@
         return isNew;
     }
 
-    boolean isRedundant() {
-        return !isNew && !isDependency() && !si.isExecutable() &&
-                prevStatus.isDefined &&
-                siOld.source().equals(si.source());
-    }
-
     void initialize(Collection<Unit> working) {
         isAttemptingCorral = false;
         dependenciesNeeded = false;