Maarten Coene

Show:

What's happening?

  • TimeSeries.addOrUpdate() with TimeSeriesDateItem

    Hi, the TimeSeries class has a method to add a TimeSeriesDataItem to the series: TimeSeries#add(TimeSeriesDataItem). It would be great if you could also add the corresponding addOrUpdate method: TimeSeries#addOrUpdate(TimeSeriesDataItem). kind regards, Maarten Coene.

    2008-04-28 15:29:48 UTC in JFreeChart

  • TestClassWithoutTestCases: false + when extending other test

    Hi, I have a junit test which extends another junit test. public class MyUnitTest extends ParentUnitTest { } The MyUnitTest class doesn't contain any test methods, but the ParentUnitTest class does. The MyUnitTest executes the same tests as the ParentUnitTest, but with another test fixture. I think the TestClassWithoutTestCases-check should also test if the super classes contains...

    2007-07-31 10:19:16 UTC in PMD

  • Comment: Report contains wrong filenames when using symbolic links

    Maybe you can use something like org.apache.tools.ant.util.FileUtils.normalize(String file) to do what you want. This way, the symbolic links aren't resolved, but your "/../" problem is solved. Cfr. http://www.dpml.net/api/ant/1.6.5/org/apache/tools/ant/util/FileUtils.html#normalize(java.lang.String) Maarten.

    2007-07-27 20:32:25 UTC in PMD

  • Comment: Report contains wrong filenames when using symbolic links

    The File API tells that the getCanonicalPath() will resolve symbolic links on unix platforms. It has nothing to do with NIO or things like this. It has always been like this. I simply think PMD should be carefull when using the getCanonicalPath(). Other tools doesn't do this neither because it's confusing and gives problems. For instance, if I would compile my sources, the compiler would...

    2007-07-27 15:40:15 UTC in PMD

  • Report contains wrong filenames when using symbolic links

    Hi, I use PMD on unix. My source files are in fact symlinks. If I run PMD on my sources, the produced XML report contains the name of the original file and not the name of the link. In my opinion, it should contain the name of the link. For instance: say I have a directory /usr/maarten/src which has some source files. These files are symbolic links to other files...

    2007-07-27 14:12:29 UTC in PMD

  • ParenPad and Annotations

    Hi, I want to ignore the padding when defining annotations. At the moment, this doesn't seem possible with the ParenPad check at the moment. For instance, I want to allow this: @MyAnnotation( someField1 = "Hello") I think this could be solved by adding ANNOTATION as supported token to the ParenPad check. regards, Maarten.

    2007-04-11 14:45:31 UTC in checkstyle

  • Add extra ways to specify mappings

    Hi, I have an InputStream to a mapping file. Is it possible to enhance Dozer to read directly from that InputStream instead of having to pass the filename? thanks, Maarten.

    2007-03-06 12:23:10 UTC in Dozer

  • Add fork mode and jvm option to checkstyle task

    Hi, I have the same request as this one: http://sourceforge.net/tracker/index.php?func=detail&aid=1212138&group_id=29721&atid=397081 My situation is like this: - we have a build machine which is used to build all our projects - this build machine uses Ant and JDK 1.4 for building the projects - some projects are compiled with JDK 1.4 and some are compiled with JDK 1.5 When I check...

    2007-02-13 09:52:55 UTC in checkstyle

  • Comment: Unable to get class information for @throws tag

    I've just tested it with adding the classes of my project to the classpath and it works as expected. Thanks for the feedback. regards, Maarten.

    2007-02-13 09:41:46 UTC in checkstyle

  • Comment: Unable to get class information for @throws tag

    Hi, I cannot add the classes containing the exception because I do a stylecheck before I compile my code. The exception is in the same source folder as my other class. For instance, I have the following directory structure: $project/src/my/package/MyObject.java $project/src/my/package/MyException.java The MyObject class uses MyException. With checkstyle 3.5, I could verify my sources...

    2007-02-12 20:52:49 UTC in checkstyle

About Me

  • 2001-03-21 (9 years ago)
  • 178745
  • maartenc (My Site)
  • Maarten Coene

Send me a message