NUBIC/ladle — pull request #17 by calavera (2014-03-10 22:37:07+00:00)
Title: Ad 2

This is a rebound of #14 with the log fixed.

The problem was that the method that checks if the log line is an error assumed that every line without a logging header came from an error. That's not true in cases like when a schema is being loaded, which is only info:

```
"INFO: Loading other enabled schema: \n"
"\tSchema Name: other\n"
"\t\tDisabled: false\n"
"\t\tOwner: uid=admin,ou=system\n"
"\t\tDependencies: [system, apachemeta, apache, core]\n"
```

Tests pass and there are no weird messages now:

```
calavera@dcp ~/oss/ladle (ad_2●)$ rake spec
Compiling java support code
/Users/calavera/oss/ladle/lib/ladle/apacheds/apacheds-service-2.0.0-M15.jar(org/apache/directory/api/ldap/model/name/Dn.class): warning: Cannot find annotation method 'value()' in type 'SuppressWarnings': class file for edu.umd.cs.findbugs.annotations.SuppressWarnings not found
/Users/calavera/oss/ladle/lib/ladle/apacheds/apacheds-service-2.0.0-M15.jar(org/apache/directory/api/ldap/model/name/Dn.class): warning: Cannot find annotation method 'justification()' in type 'SuppressWarnings'
Note: lib/ladle/java/net/detailedbalance/ladle/Server.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 warnings
/opt/boxen/rbenv/versions/2.1.0-github1/bin/ruby -S rspec spec/ladle/server_spec.rb spec/ladle/version_spec.rb
.......................................................

Finished in 2 minutes 9.3 seconds
55 examples, 0 failures
```