|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2009 the original author or authors. |
|
|
|
* Copyright 2002-2011 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
@ -34,10 +34,6 @@ public class CurrencyEditor extends PropertyEditorSupport { |
|
|
|
setValue(Currency.getInstance(text)); |
|
|
|
setValue(Currency.getInstance(text)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* This implementation returns <code>null</code> to indicate that |
|
|
|
|
|
|
|
* there is no appropriate text representation. |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getAsText() { |
|
|
|
public String getAsText() { |
|
|
|
Currency value = (Currency) getValue(); |
|
|
|
Currency value = (Currency) getValue(); |
|
|
|