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/gui/EndpointAtFrame.java

    r84 r85  
    1414
    1515import javax.swing.tree.TreePath;
     16import com.framsticks.util.dispatching.RunAt;
    1617
    1718/**
     
    121122                                }
    122123                                Path p = new Path(path.getInstance(), nodes, n);
     124
     125                                //TODO breaks immutable
     126                                path.setInstance(path.getInstance());
     127
    123128                                log.debug("forced resolution: creating treenode for " + p);
    124129                                TreeNode childNode = new TreeNode(EndpointAtFrame.this, p);
     
    146151                log.trace("fetched " + path);
    147152
    148                 frame.invokeLater(new Runnable() {
     153                frame.invokeLater(new RunAt<Frame>() {
    149154                        @Override
    150155                        public void run() {
     
    155160                                final TreeNode result = (TreeNode) treePath.getLastPathComponent();
    156161                                // log.trace("found " + result + " == " + path);
    157                                 instance.invokeLater(new Runnable() {
     162                                instance.invokeLater(new RunAt<Instance>() {
    158163                                        @Override
    159164                                        public void run() {
Note: See TracChangeset for help on using the changeset viewer.