Author: rahul
Date: Tue Oct 17 10:59:40 2006
New Revision: 464980
URL: http://svn.apache.org/viewvc?view=rev&rev=464980
Log:
Serial version UIDs for test classes (minimize IDE warnings, little functional
benefit).
Modified:
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/WizardsTest.java
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/model/Hello.java
Modified:
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/WizardsTest.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/WizardsTest.java?view=diff&rev=464980&r1=464979&r2=464980
==============================================================================
---
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/WizardsTest.java
(original)
+++
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/WizardsTest.java
Tue Oct 17 10:59:40 2006
@@ -129,6 +129,7 @@
}
static class TestEventDispatcher implements EventDispatcher, Serializable {
+ private static final long serialVersionUID = 1L;
// If you change this, you must also change testWizard02Sample()
int callback = 0;
public void send(String sendId, String target, String targetType,
Modified:
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java?view=diff&rev=464980&r1=464979&r2=464980
==============================================================================
---
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java
(original)
+++
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/env/StopWatchDisplay.java
Tue Oct 17 10:59:40 2006
@@ -46,6 +46,7 @@
public class StopWatchDisplay extends JFrame
implements ActionListener {
+ private static final long serialVersionUID = 1L;
private StopWatch stopWatch;
private Image watchImage, watchIcon;
@@ -131,6 +132,8 @@
}
class WatchPanel extends JPanel {
+ private static final long serialVersionUID = 1L;
+
public void paintComponent(Graphics g) {
if(watchImage != null) {
g.drawImage(watchImage,0,0,this.getWidth(),this.getHeight(),this);
Modified:
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/model/Hello.java
URL:
http://svn.apache.org/viewvc/jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/model/Hello.java?view=diff&rev=464980&r1=464979&r2=464980
==============================================================================
---
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/model/Hello.java
(original)
+++
jakarta/commons/proper/scxml/trunk/src/test/java/org/apache/commons/scxml/model/Hello.java
Tue Oct 17 10:59:40 2006
@@ -30,6 +30,8 @@
*/
public class Hello extends Action {
+ /** Serial version UID. */
+ private static final long serialVersionUID = 1L;
/** This is who we say hello to. */
private String name;
/** We count callbacks to execute() as part of the test suite. */
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]