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/core/Path.java

    r84 r85  
    55import com.framsticks.params.Param;
    66import com.framsticks.util.dispatching.Dispatching;
     7
    78import java.util.Iterator;
    89import java.util.LinkedList;
    910import java.util.List;
    1011
     12import javax.annotation.concurrent.Immutable;
     13import javax.annotation.Nonnull;
     14
    1115import org.apache.commons.collections.ListUtils;
    1216
     
    1418 * @author Piotr Sniegowski
    1519 */
     20@Immutable
    1621public class Path {
    1722        // private final static Logger log = Logger.getLogger(Path.class.getName());
     
    6368        }
    6469
    65         public Path(Instance instance, List<Node> nodes, Node node) {
     70        public Path(@Nonnull Instance instance, List<Node> nodes, Node node) {
    6671                this.instance = instance;
    6772                StringBuilder b = new StringBuilder();
     
    196201        }
    197202
     203        public void setInstance(Instance instance) {
     204                this.instance = instance;
     205        }
     206
    198207        @SuppressWarnings("unchecked")
    199208        public
Note: See TracChangeset for help on using the changeset viewer.