@@ -73,6 +73,7 @@ public Unit<Q> shift(double offset) {
7373 return this ;
7474 }
7575
76+ @ SuppressWarnings ({ "unchecked" , "rawtypes" })
7677 public Unit <Q > alternate (String symbol ) {
7778 return new BaseUnit (symbol );
7879 }
@@ -136,7 +137,6 @@ public String getName() {
136137 }
137138
138139 public Map <Unit <?>, Integer > getProductUnits () {
139- // TODO Auto-generated method stub
140140 return null ;
141141 }
142142
@@ -145,49 +145,42 @@ public String getSymbol() {
145145 }
146146
147147 public Unit <?> inverse () {
148- // TODO Auto-generated method stub
149148 return null ;
150149 }
151150
152151 public boolean isCompatible (Unit <?> that ) {
153- // TODO Auto-generated method stub
154152 return false ;
155153 }
156154
157155 public Unit <Q > multiply (double factor ) {
158- // TODO Auto-generated method stub
159156 return null ;
160157 }
161158
162159 public Unit <?> multiply (Unit <?> that ) {
163- // TODO Auto-generated method stub
164160 return null ;
165161 }
166162
167163 public Unit <?> pow (int n ) {
168- // TODO Auto-generated method stub
169164 return null ;
170165 }
171166
172167 public Unit <?> root (int n ) {
173- // TODO Auto-generated method stub
174168 return null ;
175169 }
176170
177171 public abstract Unit <Q > getSystemUnit ();
178172
179173 /**
180- * Returns the converter from this unit to its unscaled {@link #toSysemUnit System Unit} unit.
174+ * Returns the converter from this unit to its unscaled {@link #getSystemUnit System Unit} unit.
181175 *
182176 * @return <code>getConverterTo(this.toSystemUnit())</code>
183- * @see #toSI
177+ * @see #getSystemUnit
184178 */
185179 public UnitConverter getSystemConverter () throws UnsupportedOperationException {
186180 return TestConverter .IDENTITY ;
187181 }
188182
189183 public Unit <Q > transform (UnitConverter operation ) {
190- // TODO Auto-generated method stub
191184 return null ;
192185 }
193186
0 commit comments