(no commit message)
[utils] / crawler / basic / src / org / wamblee / crawler / impl / ConfigItem.java
index 7dfd9169cf7ac650b0862b05d237ff39ad54fd7a..d6c73859469a8d86fc235005a460557eb9007e62 100644 (file)
@@ -12,7 +12,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
- */ 
+ */
 
 package org.wamblee.crawler.impl;
 
@@ -22,18 +22,19 @@ import java.util.regex.Pattern;
  * 
  */
 class ConfigItem<ValueType> {
-    
+
     private Pattern _pattern;
-    private ValueType _value; 
-    
-    protected ConfigItem(String aPattern, ValueType aValue) { 
+
+    private ValueType _value;
+
+    protected ConfigItem(String aPattern, ValueType aValue) {
         _pattern = Pattern.compile(aPattern);
         _value = aValue;
     }
-    
-    protected ValueType match(String aValue) { 
-        if ( !_pattern.matcher(aValue).matches() ) { 
-            return null; 
+
+    protected ValueType match(String aValue) {
+        if (!_pattern.matcher(aValue).matches()) {
+            return null;
         }
         return _value;
     }