|
From: Bavo De R. <ba...@us...> - 2010-08-07 21:30:43
|
Update of /cvsroot/pfc/pfc-demo/src/java/portal/demo/crash In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv15113/src/java/portal/demo/crash Modified Files: CrashDemoPanel.java CrashDemoInfo.java Log Message: Refactored to support generics. Added a default serialization id for all serializable classes. Index: CrashDemoInfo.java =================================================================== RCS file: /cvsroot/pfc/pfc-demo/src/java/portal/demo/crash/CrashDemoInfo.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CrashDemoInfo.java 26 Jan 2005 20:15:04 -0000 1.2 --- CrashDemoInfo.java 7 Aug 2010 21:30:35 -0000 1.3 *************** *** 6,9 **** --- 6,11 ---- public class CrashDemoInfo implements DemoEntryInfo { + private static final long serialVersionUID = 1L; + public String getShortName() { Index: CrashDemoPanel.java =================================================================== RCS file: /cvsroot/pfc/pfc-demo/src/java/portal/demo/crash/CrashDemoPanel.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** CrashDemoPanel.java 13 Sep 2005 11:35:26 -0000 1.7 --- CrashDemoPanel.java 7 Aug 2010 21:30:35 -0000 1.8 *************** *** 10,13 **** --- 10,15 ---- public class CrashDemoPanel extends Panel implements DemoEntry { + private static final long serialVersionUID = 1L; + public CrashDemoPanel() { *************** *** 23,27 **** } ! public Component getComponent() { return this; --- 25,29 ---- } ! public Component<?> getComponent() { return this; *************** *** 37,40 **** --- 39,44 ---- crashMeButton.setAction(new IAction() { + private static final long serialVersionUID = 1L; + public void doAction() { |