Robert,

the aRAT tool is indeed very helpful.

As a side note: would you consider to commit the attached patch?
I think it would make life easier to many since the String.contains(...) method is deprecated in recent JDK versions.

Thanks,

Jacopo


robert burrell donkin wrote:
On 10/12/06, Noel J. Bergman <[EMAIL PROTECTED]> wrote:
Other than wait for Robert's scanning tool?  :-)

no need to wait: get the source (http://code.google.com/p/arat/) and
run the RAT against the source distribution (i'll improved binary will
come later). the output is very unfriendly but what do you expect from
aRAT ;-)

some knowledge and judgement is needed to interpret the output. more
work is needed for stuff i have to check manual ATM but the vast
majority of my blockers (as opposed to stylist feedback) are found by
RAT.

if anyone wants to have a hack then let me know...

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Index: src/java/rat/license/standard/W3CLicense.java
===================================================================
--- src/java/rat/license/standard/W3CLicense.java       (revision 19)
+++ src/java/rat/license/standard/W3CLicense.java       (working copy)
@@ -34,7 +34,7 @@
 
     public ILicense match(String line) {
         ILicense result = null;
-        if (line != null && line.contains(COPYRIGHT_URL)) {
+        if (line != null && line.indexOf(COPYRIGHT_URL) != -1) {
             result = this;
         }
         return result;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to