RE: Another unused import statement report is out...

2003-03-03 Thread Vladimir R. Bossicard
> I still don't understand what the hubub about unused imports is about.

The goal is not really to check for unused imports (it's a "nice-to-have") but
IMO to regularly (every night?) use a tool to check the quality of the code.  If
you care about the details (like unused imports), chances are that you care
about more important things (like tests, unused variables, unused methods...).

Once all the projects have discovered PMD (or another similar tool) and that the
unused imports are fixed, we can report other (more interesting) things like
unused variables, unused private methods, use interfaces in signatures, define
at least one constructor... This will really increase the quality/readability of
the code.

The "unused imports" stuff is just the beginning, not the end.

My 2 cents

-Vladimir

-- 
Vladimir R. Bossicard
www.bossicard.com

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



Re: Another unused import statement report is out...

2003-03-03 Thread Vladimir R. Bossicard
> >assertTrue("Whoa, doSomething returned a non-Fred type!", doSomething()
> >instanceof Fred);

When the test fails, you don't have a lot of information (like the class
returned by doSomething) to debug your code.


Using JUnit-addons, you would code your assertion:

   ObjectAssert.assertInstanceOf(Fred, doSomething());

The error message will be something like:

  "expected instance of class: but was of class "

at least you have something to start your debug session.


-Vladimir

PS: junit-addons.sf.net

-- 
Vladimir R. Bossicard
www.bossicard.com

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



Re: [PMC VOTE] Gump subproject

2002-12-27 Thread Vladimir R. Bossicard
Per previous discussion, it seems that there is wide agreement that the 
gump code, stylesheets, and data should be updatable by every committer. 

+1 (from an xml committer)

and I'm interested in managing the Xindice configuration as well

-Vladimir

--
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice


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




Re: A Jakarta wiki?

2002-12-21 Thread Vladimir R. Bossicard
3. Scope of the wiki(s) - ((Turbine) and (Avalon)), Jakarta or Apache?


Apache.  XML-Xindice would also like to have a wiki documentation

-Vladimir

--
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice


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




Re: Due to popular demand, the "bad imports" report has been updated...

2002-12-10 Thread Vladimir R. Bossicard
Note that in two weeks the percentage dropped from 1.01% to .93%.  At
this rate, we'll soon have no bad imports.


I know that a lot of us don't like IDEs but Eclipse or IntelliJ will fix
this problem in 2 minutes.  Add 5 minutes for the commits and we are done!

PMD <http://pmd.sf.net> is maintained by Tom (Jakarta committers) and
Jakarta/xml is a fabulous testbed for his application.  I'm sure that we
can give him a lot of valuable feedback to improve this product and our 
code at the same time.

-Vladimir

--
Vladimir R. Bossicard
www.bossicard.com



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



Re: Sun Is Losing Its Way

2002-12-06 Thread Vladimir R. Bossicard
it is for free Mr.Colombo Holmez :)
why not?!! ;)


There are other free email accounts (like yahoo! - running on FreeBSD)

Don't you think that there is a correlation between the number of 
msn.com users and how much M$ charges for ads on its msn.com website, 
and reselling your address so that you can receive more spam ?

Don't you think it's _helping_ M$?

If you don't like M$, don't use their products.  Even if they are free. 
 M$ never gives things for free anyway.

-Vladimir

--
Vladimir R. Bossicard
www.bossicard.com


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



Re: Sun Is Losing Its Way

2002-12-06 Thread Vladimir R. Bossicard
>From :  "mohammad nabil" <[EMAIL PROTECTED]>

> i will leave Apache system if you used any Micro$oft products.
> when you support Micro$oft you help in KILLING an open source project :'(

>From someone using a msn.com email account...

-Vladimir

--
Vladimir R. Bossicard
www.bossicard.com

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




Re: Unused imports compose only about 1% of the Jakarta source code....

2002-11-07 Thread Vladimir R. Bossicard
...which is pretty good.  563K LOC, 5300 unused imports.  Here are the
details:


Since every other tool (Eclipse, IntelliJ) can fix this automatically 
(and within minutes) I think that the 0,01% an be easily achievable.

Since some people use this metric to judge the quality of a code (you 
can argue if it makes sense or not) it's time to invest some time to 
automatically fix this!

-Vladimir

--
Vladimir R. Bossicard
www.bossicard.com


--
To unsubscribe, e-mail:   <mailto:general-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:general-help@;jakarta.apache.org>



Re: A Jakarta unused code scoreboard [was RE: [Fwd: Re: [eclipse-dev]Java compiler defaults changed]]...

2002-10-24 Thread Vladimir R. Bossicard
but these are actually pretty good!  I forwarded them 
to the poi dev list.

Time to have a gump-like Maven based PMD website for the Apache projects?

+1

-Vladimir

--
Vladimir R. Bossicard
www.bossicard.com


--
To unsubscribe, e-mail:   <mailto:general-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:general-help@;jakarta.apache.org>