Commit Graph

1213 Commits

Author SHA1 Message Date
Lars Kühne b7f58129fa fixed java sytax error in example 2003-04-18 06:32:57 +00:00
Oliver Burn c69b2f8481 Added SlickEdit reference 2003-04-16 07:19:03 +00:00
Lars Kühne 7eddfd71a0 tests for NewlineAtEndOfFile check, contributed by Christopher Lenz 2003-04-15 19:56:13 +00:00
Lars Kühne 6520032fd7 added NewLineAtEOF 2003-04-12 14:15:10 +00:00
Lars Kühne 09efd9db71 tests for NewlineAtEndOfFile check, contributed by Christopher Lenz 2003-04-12 14:02:07 +00:00
Lars Kühne 35139b1ca2 test files for NewLineAtEOF check
Note: These files are checked in as binary files so the unit tests are
independent of how CVS messes around with newline characters when
these files are checked out
2003-04-12 14:01:22 +00:00
Lars Kühne 6cbf99acd8 fixed docs of DesignForInheritance, static methods are now ignored 2003-04-11 04:44:18 +00:00
Lars Kühne d0f2c7d53f don't flag static methods, bugrport and fix by Christopher Lenz 2003-04-10 04:37:32 +00:00
Lars Kühne 1cc0a79b77 improved javadoc, contributed by Peter Dobratz 2003-04-08 05:19:59 +00:00
Lars Kühne 002b55c219 added NewlineAtEndOfFile check, contributed by Christopher Lenz 2003-04-06 12:27:55 +00:00
Lars Kühne 59aa156470 added NewlineAtEndOfFile check, contributed by Christopher Lenz 2003-04-06 12:16:03 +00:00
Lars Kühne 168901fbd8 error message for NewLineAtEOF check 2003-04-06 11:01:18 +00:00
Lars Kühne 2fdb7b43e7 assign expected and actual result to variables, eases debugging 2003-04-06 11:00:19 +00:00
Oliver Burn 29390c5b02 Fix bug 713716: grammar bug defaulting to float and not double. 2003-04-02 11:19:17 +00:00
Lars Kühne b94cc23891 test case for problem reported by Oleg Sukhodolsky in patch #713239 2003-04-01 20:07:00 +00:00
Lars Kühne 3bf83180c9 fixed bug reported by Oleg Sukhodolsky in patch #713239 2003-04-01 20:05:39 +00:00
Lars Kühne 36d1d1bd0f make DesignForInheritance a warning
record rfe id for "wait outside loop"
2003-03-31 17:58:55 +00:00
Lars Kühne e8a1b54e79 behave like gcc when emitting warnings, i.e. prepend "warning: " to the message 2003-03-31 17:52:58 +00:00
Lars Kühne 32c3ee46e3 removed the "threadsafe" keyword, fix for bug #710319 2003-03-30 14:58:22 +00:00
Lars Kühne 2727c0a857 removed the "threadsafe" keyword, fix for bug #710319 2003-03-30 14:48:12 +00:00
Lars Kühne 752ce8ceed forgot to add input file for double checked locking test 2003-03-30 13:29:23 +00:00
Lars Kühne 9a2675e580 added unit tests for DesignForInheritanceCheck 2003-03-30 13:27:09 +00:00
Lars Kühne b42ddf006f i18n DesignForInheritance 2003-03-30 13:25:56 +00:00
Oliver Burn 712a812fdd Fix broken Maven links 2003-03-30 06:41:04 +00:00
Oliver Burn b0902e01cc Minor syntax. I really like this check as I used to use the idiom. BTW, I
think an input test file has not been added to CVS as the unit test fails.
2003-03-30 02:38:42 +00:00
Oliver Burn 3e5a642f7c Fix Javadoc error. Bizarre, but if I make the tag {@inheritDoc}, the Javadoc
hangs?!
2003-03-30 02:37:08 +00:00
Lars Kühne 8f965910b0 added check to detect the double-checked locking idiom, rfe #709333 2003-03-29 17:34:12 +00:00
Lars Kühne ba1663fc94 rfe #528196, task should output version info 2003-03-29 13:39:22 +00:00
Oliver Burn 80da4bb9ba Small cleanup 2003-03-29 02:48:36 +00:00
Oliver Burn 1781e78175 Fix spelling mistake - I am a shocker I know. ;-) 2003-03-29 00:36:04 +00:00
Oliver Burn f09c190dff Added support for metadata in the configuration file. This required increasing
the version number to 1.1. I thought this made sense, even though the change
was backwardly compatible.
2003-03-29 00:29:25 +00:00
Oliver Burn 77945f2962 Upgrade to ANTLR 2.7.2. There is now no concept of a runtime JAR. Pity, but
such is life.
2003-03-28 13:30:15 +00:00
Oliver Burn d1eb126cae Patch from Peter Dobratz to make the file xhtml compliant. 2003-03-27 12:12:02 +00:00
Oliver Burn 5db3630ded Trying out the new Severity level stuff from Lars. It works really well - I
like it! Not sure about the IGNORE level, as it would be easier to just remove
the Check. But I guess for completeness.
2003-03-27 11:59:03 +00:00
Oliver Burn 373ec398fc Fixing broken windows...... http://www.artima.com/intv/fixitP.html 2003-03-27 11:57:37 +00:00
Oliver Burn 0ac2db237e Fixing broken windows...... http://www.artima.com/intv/fixitP.html 2003-03-27 10:17:40 +00:00
Oliver Burn 7e34b7d408 Fixing broken windows...... http://www.artima.com/intv/fixitP.html 2003-03-27 10:08:07 +00:00
Oliver Burn 65277d3042 Fixing broken windows...... http://www.artima.com/intv/fixitP.html 2003-03-27 09:50:54 +00:00
Oliver Burn 92707fb90a Just being picky 2003-03-27 09:38:16 +00:00
Lars Kühne d216ec7525 Major refactorings to allow the use of SeverityLevels in FileSetChecks
as well as in Checks and to simplify logging of messages in FileSetChecks.

Introduction of a new class called AbstractViolationReporter, from which
both Check and FileSetCheck are derived.

Severity is passed to submodules by means of the Contextualizable
mechanism. This means that the user can f.ex. set severity to INFO
in a TreeWalker and all Checks below that TreeWalker will use severity INFO.
2003-03-26 19:52:30 +00:00
Oliver Burn d4cee63283 Small refactor to improve all test failures. Probably defining the default
severity level in the SeverityLevel class is not the best thing to do - but I
could not think of an other obvious place.
2003-03-25 10:55:47 +00:00
Oliver Burn 26c4b0998f Fix cause of GUMP failure 2003-03-25 10:46:03 +00:00
Oliver Burn 068d52958b fix must GUMP errors 2003-03-25 09:53:02 +00:00
Lars Kühne 678deac3fe fixed copy and paste naming error 2003-03-25 05:57:41 +00:00
Lars Kühne 085edafb3b only consider events with severity ERROR when counting events,
necessary to make the Ant task's failOnError property work as expected
2003-03-23 08:29:12 +00:00
Lars Kühne bd9f7c6809 only log non-IGNORE events 2003-03-23 08:24:16 +00:00
Lars Kühne a14cef2fec events with no message are only generated by fireFileFinished,
these events are clearly INFO, not WARNING severity.
2003-03-23 08:04:56 +00:00
Lars Kühne 7480bff68a xref in javadoc 2003-03-22 09:23:31 +00:00
Oliver Burn c0da7e0d0b Just another very useful patch from Peter Dobratz. 2003-03-19 03:48:49 +00:00
Oliver Burn 5c273c9f39 Patch from Peter Dobratz to remove warnings from <tar> tasks. 2003-03-16 22:00:06 +00:00