Skip to content

Commit

Permalink
MRI does not have this warning, so don't make it non-verbose.
Browse files Browse the repository at this point in the history
Should be enough to fix #2759.
  • Loading branch information
headius committed Apr 2, 2015
1 parent 7a750e2 commit 7fe7ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/jruby/RubyTime.java
Expand Up @@ -200,7 +200,7 @@ private static DateTimeZone parseTZString(Ruby runtime, String zone) {
try {
return DateTimeZone.forID(zone);
} catch (IllegalArgumentException e) {
runtime.getWarnings().warn("Unrecognized time zone: "+zone);
runtime.getWarnings().warning("Unrecognized time zone: "+zone);
return DateTimeZone.UTC;
}
}
Expand Down

0 comments on commit 7fe7ec3

Please sign in to comment.