made fields final, cleanup

This commit is contained in:
Alexey Kudravtsev
2013-11-01 18:07:30 +04:00
parent ba6b81fc8f
commit 6bdf2d1d39
98 changed files with 293 additions and 242 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2013 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -51,7 +51,7 @@ public class PatternPackageSet extends PatternBasedPackageSet {
myModulePatternText = modulePattern;
Pattern mmgp = null;
Pattern mmp = null;
if (modulePattern == null || modulePattern.length() == 0) {
if (modulePattern == null || modulePattern.isEmpty()) {
mmp = null;
}
else {