Sami Leino

Show:

What's happening?

  • Comment: Ability to store reports to Java source files

    Logged In: YES user_id=396953 >> source code gets manipulated _after_ analyzation phase > Yup, tricky. Unit test time! To be a little bit more exact, the actual _code_ won't get manipulated, but the source file will. No alterations will be made after the class/interface descriptor line, so the only thing that get's altered/added is the Javadoc comment. It would be...

    2003-12-08 17:57:28 UTC in PMD

  • Comment: Ability to store reports to Java source files

    Logged In: YES user_id=396953 Got the first version ready. Still few things to be done (like word-wrapping lines over 80 characters), but it's a good start anyway. Here's an excerpt from one of the result files: -- excerpt begins -- /** * <p>The <code>BootstrapServlet</code> performs the ObjectFactory * startup procedure in J2EE environment.</p> * *...

    2003-12-08 17:14:45 UTC in PMD

  • Comment: Ability to store reports to Java source files

    Logged In: YES user_id=396953 I started writing the "AddCommentRenderer" implementation. It works now, but it's not very elegant yet. One particular problem is that the developer must set the "shortFilenames" attribute to "false" from the ANT task, because otherwise RuleViolation.getFilename() returns the filename as relative. As long as you remember to...

    2003-12-08 15:38:57 UTC in PMD

  • Comment: Ability to store reports to Java source files

    Logged In: YES user_id=396953 I believe the class comment would be a good place for it. An example: /** * <p>The <code>MyClass </code> class blah blah ...</p> * * <p>The PMD code analyzer was run on this class * (2003/12/05 at 12:00) with following results:</p> * * <p> * <ul> * <li>...

    2003-12-05 09:20:23 UTC in PMD

  • Ability to store reports to Java source files

    Hi. First of all, I have just taken my first test-drive with PMD, and I must admit it really rocks! One feature that I would like to see is an option to write examination results directly to those Java source files they are targeted at, instead of writing a separate report file. A report file is a good choice in most cases, but the developers tend to forget that it's there. If...

    2003-12-04 14:13:35 UTC in PMD

  • roundDown bug

    There's a bug in the 'roundDown(int unit,Calendar unRounded)' method in RecurranceRuleRfc class. This bug applies to recurrence rules having frequency 'WEEKLY', depending on which period end date has been set. Here's how to see the bug in action (insert this code somewhere in the RecurrenceRuleRfc class so that it will be executed when you test it): ----- code snippet begins...

    2003-10-10 10:07:38 UTC in Recur

  • getAllMatchingDates() not returning all needed dates

    Here's an excerpt of my test log: [java] Weekly rules: [java] Every week on Tuesday and Thursday: [java] FREQ=WEEKLY;BYDAY=TU,TH [java] All occurrences: [java] 1) Tue Sep 16 14:29:45 EEST 2003 [java] 2) Thu Sep 18 14:29:45 EEST 2003 ... [java] 31) Tue Dec 30 14:29:45 EET 2003 [java] 32) Tue Jan 06...

    2003-09-16 11:56:22 UTC in Recur

  • Comment: BYDAY, BYMONTH

    Logged In: YES user_id=396953 I found the same thing. In my case, I tried to get the last Friday in August. Instead, I got the last Friday in December. I got it working by replacing "BYDAY=-1FR" with "BYDAY=FR;BYSETPOS=-1".

    2003-09-15 12:30:09 UTC in Recur

  • Comment: Incomplete attachment filename handling

    Logged In: YES user_id=396953 I tried to test the new version today, but CVS problems prevented me from testing it. We tried the 1.4.1 release though, but the problem still existed there. I presume that the 1.4.1 version does not yet contain the new attachment filename handling procedure, which is only present in the current CVS head? Am I correct? Currently, CVS checkout seems to...

    2003-07-10 13:19:40 UTC in SquirrelMail

  • Comment: Incomplete attachment filename handling

    Logged In: YES user_id=396953 I'm currently away from the office, so I can't test it right now. I can perform the tests next week.

    2003-07-02 10:19:00 UTC in SquirrelMail

About Me

  • 2001-12-08 (8 years ago)
  • 396953
  • slite2 (My Site)
  • Sami Leino

Send me a message