src/main/java/de/unixwork/uwproj/OptionValue.java

changeset 40
b42bfc9e9983
parent 0
38775db5fdf5
child 41
75ee588d5d9e
--- a/src/main/java/de/unixwork/uwproj/OptionValue.java	Wed Sep 06 21:08:04 2023 +0200
+++ b/src/main/java/de/unixwork/uwproj/OptionValue.java	Wed Sep 06 22:55:42 2023 +0200
@@ -1,17 +1,7 @@
-/*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
 package de.unixwork.uwproj;
 
 import java.util.List;
-import java.util.LinkedList;
 
-/**
- *
- * @author olaf
- */
 public class OptionValue {
     Option option;
     
@@ -52,6 +42,6 @@
     }
     
     public boolean hasMake() {
-        return targetData.getMake().trim().length() > 0;
+        return !targetData.getMake().trim().isEmpty();
     }
 }

mercurial