octave-patch-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #9067] java sources part 1


From: Mike Miller
Subject: [Octave-patch-tracker] [patch #9067] java sources part 1
Date: Thu, 11 Aug 2016 09:15:54 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:48.0) Gecko/20100101 Firefox/48.0

Follow-up Comment #6, patch #9067 (project octave):

I took 5 minutes and reviewed very briefly. I can offer some basic code
formatting suggestions.

* Please delete all trailing whitespace at the end of every line.
* Watch your indentation, I see at least one place that is indented by an
extra space, around line 330 of ClassHelper.java.
* Do not break function arguments on every comma, only break when the line
exceeds 80 columns.
* I don't know what these "PMD" and "NOPMD" comments mean.
* Don't comment out code that should just be deleted, that's what hg is for.
* Is it really so bad to keep "else if" after a case that does a return? The
"else" at the start of the line makes it clear that the cases are related
alternatives, otherwise you have to look into the if block to see whether it
returns something or not.

If you want to make changes to your patch, please fold those changes into and
refresh the existing patch.

I have no comments on the rest, it's Java that is over my head and too deep to
review quickly. I have no idea if the changes you have made make sense, or are
safe, or do the same thing that they did before. For example you change
getClassPath so that it could throw an exception. Is this safe? I don't know.
Someone else may, but I can't help review these types of Java functionality
changes.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?9067>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]