Revision: 625
Author: [email protected]
Date: Thu Jul 30 02:01:10 2009
Log: issue#116 reduce accidental finalicy
http://code.google.com/p/piccolo2d/source/detail?r=625
Modified:
/piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/event/PInputEventFilter.java
/piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/util/PUtil.java
=======================================
---
/piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/event/PInputEventFilter.java
Tue Jul 28 12:46:54 2009
+++
/piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/event/PInputEventFilter.java
Thu Jul 30 02:01:10 2009
@@ -53,7 +53,7 @@
*/
public class PInputEventFilter {
- public static final int ALL_MODIFIERS_MASK = InputEvent.BUTTON1_MASK |
InputEvent.BUTTON2_MASK
+ public static int ALL_MODIFIERS_MASK = InputEvent.BUTTON1_MASK |
InputEvent.BUTTON2_MASK
| InputEvent.BUTTON3_MASK | InputEvent.SHIFT_MASK |
InputEvent.CTRL_MASK | InputEvent.ALT_MASK
| InputEvent.ALT_GRAPH_MASK | InputEvent.META_MASK;
=======================================
---
/piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/util/PUtil.java
Tue Jul 28 12:46:54 2009
+++
/piccolo2d.java/trunk/core/src/main/java/edu/umd/cs/piccolo/util/PUtil.java
Thu Jul 30 02:01:10 2009
@@ -58,8 +58,8 @@
public static int ACTIVITY_SCHEDULER_FRAME_DELAY = 10;
private static final int PATH_IS_DONE = -1;
- public static final Iterator NULL_ITERATOR =
Collections.EMPTY_LIST.iterator();
- public static final Enumeration NULL_ENUMERATION = new Enumeration() {
+ public static Iterator NULL_ITERATOR =
Collections.EMPTY_LIST.iterator();
+ public static Enumeration NULL_ENUMERATION = new Enumeration() {
public boolean hasMoreElements() {
return false;
}
@@ -69,7 +69,7 @@
}
};
- public static final OutputStream NULL_OUTPUT_STREAM = new
OutputStream() {
+ public static OutputStream NULL_OUTPUT_STREAM = new OutputStream() {
public void close() {
}
--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---