Remove the dependency on JDK 1.6 API String.isEmpty()
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@708313 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d3762321bf
commit
1ed034c531
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ public class JavaCompiler extends AbstractCompiler {
|
|||
if (configuration.isDebug()) {
|
||||
settings.put(OPTION_LocalVariableAttribute, GENERATE);
|
||||
}
|
||||
if (configuration.getSourceEncoding() != null && !configuration.getSourceEncoding().isEmpty()) {
|
||||
if (configuration.getSourceEncoding() != null && !(configuration.getSourceEncoding().length() == 0)) {
|
||||
settings.put(OPTION_Encoding, configuration.getSourceEncoding());
|
||||
}
|
||||
if (!configuration.isShowWarnings()) {
|
||||
|
|
Loading…
Reference in a new issue