Ignore:
Timestamp:
06/24/13 13:38:40 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

  • upgrade to Java 7
    • use try-multi-catch clauses
    • use try-with-resources were appropriate
  • configure FindBugs? (use mvn site and then navigate in browser to the report)
    • remove most bugs found
  • parametrize Dispatching environment (Dispatcher, RunAt?) to enforce more control on the place of closures actual call

CHANGELOG:
Rework FavouritesXMLFactory.

FindBugs?. Thread start.

FindBugs?. Minor change.

FindBugs?. Iterate over entrySet.

FindBugs?. Various.

FindBug?.

FindBug?. Encoding.

FindBug?. Final fields.

FindBug?.

Remove synchronization bug in ClientConnection?.

Experiments with findbugs.

Finish parametrization.

Make RunAt? an abstract class.

More changes in parametrization.

More changes in parametrizing dispatching.

Several changes to parametrize tasks.

Rename Runnable to RunAt?.

Add specific framsticks Runnable.

Add JSR305 (annotations).

Add findbugs reporting.

More improvements to ParamBuilder? wording.

Make FramsClass? accept also ParamBuilder?.

Change wording of ParamBuilder?.

Change wording of Request creation.

Use Java 7 exception catch syntax.

Add ScopeEnd? class.

Upgrade to Java 7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/leftovers/f0/NeuroClass.java

    r84 r85  
    1616
    1717        /**
    18          * The symbol glymph.
    19          */
    20         private int[] symbolGlymph;
     18         * The symbol glyph.
     19         */
     20        private int[] symbolGlyph;
    2121
    2222        /**
     
    7171         * @param prefLocation the pref location
    7272         * @param visualHints  the visual hints
    73          * @param symbolGlymph the symbol glymph
     73         * @param symbolGlyph the symbol glymph
    7474         */
    7575        public NeuroClass(FramsClass framsClass, int prefInputs,
    7676                                          int prefOutput, int prefLocation, int visualHints,
    77                                           int[] symbolGlymph) {
    78                 super();
     77                                          int[] symbolGlyph) {
    7978                this.framsClass = framsClass;
    8079                this.prefInputs = prefInputs;
     
    8281                this.prefLocation = prefLocation;
    8382                this.visualHints = visualHints;
    84                 this.symbolGlymph = symbolGlymph;
     83                this.symbolGlyph = (symbolGlyph == null ? null : Arrays.copyOf(symbolGlyph, symbolGlyph.length));
    8584        }
    8685
     
    153152         */
    154153        int[] getSymbolGlyph() {
    155                 return symbolGlymph;
     154                return symbolGlyph;
    156155        }
    157156
     
    165164         */
    166165        void setSymbolGlyph(int[] data) {
    167                 symbolGlymph = data;
     166                symbolGlyph = data;
    168167        }
    169168
     
    191190                                .append(", prefLocation=").append(prefLocation)
    192191                                .append(", visualHints=").append(visualHints)
    193                                 .append(", symbolGlymph=").append(Arrays.toString(symbolGlymph));
     192                                .append(", symbolGlymph=").append(Arrays.toString(symbolGlyph));
    194193
    195194                sb.append(", paramList={");
Note: See TracChangeset for help on using the changeset viewer.