Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(243)

Unified Diff: icu4j/main/classes/core/src/com/ibm/icu/util/Measure.java

Issue 315420043: DecimalFormat rewrite, Java Base URL: svn+icussh://source.icu-project.org/repos/icu/branches/shane/numberformat/
Patch Set: r39857: Last commit before merge to trunk. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: icu4j/main/classes/core/src/com/ibm/icu/util/Measure.java
===================================================================
--- icu4j/main/classes/core/src/com/ibm/icu/util/Measure.java (revision 39589)
+++ icu4j/main/classes/core/src/com/ibm/icu/util/Measure.java (working copy)
@@ -43,7 +43,7 @@
*/
public Measure(Number number, MeasureUnit unit) {
if (number == null || unit == null) {
- throw new NullPointerException();
+ throw new NullPointerException("Number and MeasureUnit must not be null");
}
this.number = number;
this.unit = unit;

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b