Created
September 10, 2009 05:39
-
-
Save nemtsov/184333 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date: Thu, 10 Sep 2009 01:32:17 -0400 | |
Subject: [PATCH] comparing identical expressions | |
--- | |
.../alchim/mojo/yuicompressor/BasicRhinoShell.java | 3 --- | |
1 files changed, 0 insertions(+), 3 deletions(-) | |
diff --git a/src/main/java/net/sf/alchim/mojo/yuicompressor/BasicRhinoShell.java b/src/main/java/net/sf/alchim/mojo/yuicompressor/BasicRhinoShell.java | |
index b840f66..a6bc780 100644 | |
--- a/src/main/java/net/sf/alchim/mojo/yuicompressor/BasicRhinoShell.java | |
+++ b/src/main/java/net/sf/alchim/mojo/yuicompressor/BasicRhinoShell.java | |
@@ -132,9 +132,6 @@ public class BasicRhinoShell extends ScriptableObject { | |
usage(arg); | |
} | |
double d = Context.toNumber(args[i]); | |
- if (d != d) { | |
- usage(arg); | |
- } | |
cx.setLanguageVersion((int) d); | |
continue; | |
} | |
-- | |
1.6.4.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment