diff --git a/src/com/romraider/ECUExec.java b/src/com/romraider/ECUExec.java index ea3a7f46..1a9d6236 100644 --- a/src/com/romraider/ECUExec.java +++ b/src/com/romraider/ECUExec.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -31,12 +31,12 @@ import static com.romraider.util.RomServer.sendRomToOpenInstance; import static com.romraider.util.RomServer.waitForRom; import com.romraider.util.SettingsManager; import com.romraider.util.SettingsManagerImpl; -import org.apache.log4j.Logger; -import static org.apache.log4j.Logger.getLogger; import static javax.swing.JOptionPane.INFORMATION_MESSAGE; import static javax.swing.JOptionPane.showMessageDialog; import static javax.swing.SwingUtilities.invokeLater; import static javax.swing.WindowConstants.EXIT_ON_CLOSE; +import org.apache.log4j.Logger; +import static org.apache.log4j.Logger.getLogger; import java.io.File; public class ECUExec { @@ -52,8 +52,8 @@ public class ECUExec { initDebugLogging(); // dump the system properties to the log file as early as practical to help debugging/support LOGGER.info("When requesting assistance at " + SUPPORT_URL + " please include the System Properties information below:"); - LOGGER.info("System Properties: \n\t" - + System.getProperties().toString().replace(",", "\n\t")); + LOGGER.info("System Properties: \n\t" + + System.getProperties().toString().replace(",", "\n\t")); // check for dodgy threading - dev only // RepaintManager.setCurrentManager(new ThreadCheckingRepaintManager(true)); diff --git a/src/com/romraider/Settings.java b/src/com/romraider/Settings.java index 3cfb41c1..a6ec2d60 100644 --- a/src/com/romraider/Settings.java +++ b/src/com/romraider/Settings.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/Version.java.template b/src/com/romraider/Version.java.template index 30d03a2f..c27b25cd 100644 --- a/src/com/romraider/Version.java.template +++ b/src/com/romraider/Version.java.template @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2008 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/editor/ecu/ECUEditor.java b/src/com/romraider/editor/ecu/ECUEditor.java index a9a9ca99..87d32015 100644 --- a/src/com/romraider/editor/ecu/ECUEditor.java +++ b/src/com/romraider/editor/ecu/ECUEditor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -54,6 +54,7 @@ import static javax.swing.JScrollPane.VERTICAL_SCROLLBAR_ALWAYS; import static javax.swing.JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED; import org.w3c.dom.Document; import org.xml.sax.InputSource; +import org.xml.sax.SAXParseException; import javax.swing.ImageIcon; import javax.swing.JCheckBox; import javax.swing.JLabel; @@ -78,7 +79,6 @@ import java.io.FileInputStream; import java.io.FileReader; import java.io.IOException; import java.util.Vector; -import org.xml.sax.SAXParseException; public class ECUEditor extends AbstractFrame { private static final long serialVersionUID = -7826850987392016292L; diff --git a/src/com/romraider/editor/ecu/ECUEditorManager.java b/src/com/romraider/editor/ecu/ECUEditorManager.java index db49f596..f353fa97 100644 --- a/src/com/romraider/editor/ecu/ECUEditorManager.java +++ b/src/com/romraider/editor/ecu/ECUEditorManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/connection/ConnectionManager.java b/src/com/romraider/io/connection/ConnectionManager.java index 033515d7..6c9044cd 100644 --- a/src/com/romraider/io/connection/ConnectionManager.java +++ b/src/com/romraider/io/connection/ConnectionManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/connection/ConnectionManagerFactory.java b/src/com/romraider/io/connection/ConnectionManagerFactory.java index 4835ca2e..bc95db28 100644 --- a/src/com/romraider/io/connection/ConnectionManagerFactory.java +++ b/src/com/romraider/io/connection/ConnectionManagerFactory.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/connection/ConnectionProperties.java b/src/com/romraider/io/connection/ConnectionProperties.java index 2be17f31..fe23b7fe 100644 --- a/src/com/romraider/io/connection/ConnectionProperties.java +++ b/src/com/romraider/io/connection/ConnectionProperties.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/connection/ConnectionPropertiesImpl.java b/src/com/romraider/io/connection/ConnectionPropertiesImpl.java index 0f8d9cb7..a155898f 100644 --- a/src/com/romraider/io/connection/ConnectionPropertiesImpl.java +++ b/src/com/romraider/io/connection/ConnectionPropertiesImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/api/ConfigItem.java b/src/com/romraider/io/j2534/api/ConfigItem.java index 4b9e00d4..584b7927 100644 --- a/src/com/romraider/io/j2534/api/ConfigItem.java +++ b/src/com/romraider/io/j2534/api/ConfigItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/api/J2534.java b/src/com/romraider/io/j2534/api/J2534.java index 45d6f387..6de3b03f 100644 --- a/src/com/romraider/io/j2534/api/J2534.java +++ b/src/com/romraider/io/j2534/api/J2534.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/api/J2534ConnectionManager.java b/src/com/romraider/io/j2534/api/J2534ConnectionManager.java index 10980713..d65777e9 100644 --- a/src/com/romraider/io/j2534/api/J2534ConnectionManager.java +++ b/src/com/romraider/io/j2534/api/J2534ConnectionManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/api/J2534Exception.java b/src/com/romraider/io/j2534/api/J2534Exception.java index 46e19087..3f184c88 100644 --- a/src/com/romraider/io/j2534/api/J2534Exception.java +++ b/src/com/romraider/io/j2534/api/J2534Exception.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/api/TestJ2534.java b/src/com/romraider/io/j2534/api/TestJ2534.java index 2d94ce18..50b6a1b3 100644 --- a/src/com/romraider/io/j2534/api/TestJ2534.java +++ b/src/com/romraider/io/j2534/api/TestJ2534.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/api/Version.java b/src/com/romraider/io/j2534/api/Version.java index eb07f288..e5e7663e 100644 --- a/src/com/romraider/io/j2534/api/Version.java +++ b/src/com/romraider/io/j2534/api/Version.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/op20/J2534DllLocator.java b/src/com/romraider/io/j2534/op20/J2534DllLocator.java index daa7e4f3..b2764f22 100644 --- a/src/com/romraider/io/j2534/op20/J2534DllLocator.java +++ b/src/com/romraider/io/j2534/op20/J2534DllLocator.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/op20/J2534OpenPort20.java b/src/com/romraider/io/j2534/op20/J2534OpenPort20.java index a880f7a2..c451f845 100644 --- a/src/com/romraider/io/j2534/op20/J2534OpenPort20.java +++ b/src/com/romraider/io/j2534/op20/J2534OpenPort20.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -40,9 +40,9 @@ import static com.romraider.io.j2534.op20.OpenPort20.PassThruWriteMsgs; import static com.romraider.io.j2534.op20.OpenPort20.STATUS_ERR_TIMEOUT; import static com.romraider.io.j2534.op20.OpenPort20.STATUS_NOERROR; import static com.romraider.util.HexUtil.asHex; +import static java.lang.System.arraycopy; import org.apache.log4j.Logger; import static org.apache.log4j.Logger.getLogger; -import static java.lang.System.arraycopy; import java.util.ArrayList; import java.util.List; diff --git a/src/com/romraider/io/j2534/op20/Old_J2534OpenPort20.java b/src/com/romraider/io/j2534/op20/Old_J2534OpenPort20.java index becc0cc7..bb061fb5 100644 --- a/src/com/romraider/io/j2534/op20/Old_J2534OpenPort20.java +++ b/src/com/romraider/io/j2534/op20/Old_J2534OpenPort20.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -41,10 +41,10 @@ import static com.romraider.io.j2534.op20.OpenPort20.STATUS_ERR_TIMEOUT; import static com.romraider.io.j2534.op20.OpenPort20.STATUS_NOERROR; import static com.romraider.util.HexUtil.asHex; import static com.romraider.util.ThreadUtil.sleep; -import org.apache.log4j.Logger; -import static org.apache.log4j.Logger.getLogger; import static java.lang.System.arraycopy; import static java.lang.System.currentTimeMillis; +import org.apache.log4j.Logger; +import static org.apache.log4j.Logger.getLogger; import java.util.ArrayList; import java.util.List; diff --git a/src/com/romraider/io/j2534/op20/OpenPort20.java b/src/com/romraider/io/j2534/op20/OpenPort20.java index 94210a06..9393660d 100644 --- a/src/com/romraider/io/j2534/op20/OpenPort20.java +++ b/src/com/romraider/io/j2534/op20/OpenPort20.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/op20/PassThruMessage.java b/src/com/romraider/io/j2534/op20/PassThruMessage.java index 99f8a1a3..1c31a74f 100644 --- a/src/com/romraider/io/j2534/op20/PassThruMessage.java +++ b/src/com/romraider/io/j2534/op20/PassThruMessage.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/op20/SByteArray.java b/src/com/romraider/io/j2534/op20/SByteArray.java index d708a8cf..415efe59 100644 --- a/src/com/romraider/io/j2534/op20/SByteArray.java +++ b/src/com/romraider/io/j2534/op20/SByteArray.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/op20/SConfig.java b/src/com/romraider/io/j2534/op20/SConfig.java index d6dceae3..da7a3aa7 100644 --- a/src/com/romraider/io/j2534/op20/SConfig.java +++ b/src/com/romraider/io/j2534/op20/SConfig.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/j2534/op20/SConfigList.java b/src/com/romraider/io/j2534/op20/SConfigList.java index cf7eefda..b092d2ee 100644 --- a/src/com/romraider/io/j2534/op20/SConfigList.java +++ b/src/com/romraider/io/j2534/op20/SConfigList.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/protocol/Protocol.java b/src/com/romraider/io/protocol/Protocol.java index 891bf552..fa0880f7 100644 --- a/src/com/romraider/io/protocol/Protocol.java +++ b/src/com/romraider/io/protocol/Protocol.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/protocol/ProtocolFactory.java b/src/com/romraider/io/protocol/ProtocolFactory.java index e9cc8d7f..4a3d144a 100644 --- a/src/com/romraider/io/protocol/ProtocolFactory.java +++ b/src/com/romraider/io/protocol/ProtocolFactory.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/protocol/ssm/SSMChecksumCalculator.java b/src/com/romraider/io/protocol/ssm/SSMChecksumCalculator.java index b145b86c..82f4ca23 100644 --- a/src/com/romraider/io/protocol/ssm/SSMChecksumCalculator.java +++ b/src/com/romraider/io/protocol/ssm/SSMChecksumCalculator.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/protocol/ssm/SSMProtocol.java b/src/com/romraider/io/protocol/ssm/SSMProtocol.java index ce7d6bdd..0f122177 100644 --- a/src/com/romraider/io/protocol/ssm/SSMProtocol.java +++ b/src/com/romraider/io/protocol/ssm/SSMProtocol.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/protocol/ssm/SSMResponseProcessor.java b/src/com/romraider/io/protocol/ssm/SSMResponseProcessor.java index 3bf45928..88a35a51 100644 --- a/src/com/romraider/io/protocol/ssm/SSMResponseProcessor.java +++ b/src/com/romraider/io/protocol/ssm/SSMResponseProcessor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/serial/connection/SerialConnection.java b/src/com/romraider/io/serial/connection/SerialConnection.java index c84515cb..8c6d1b77 100644 --- a/src/com/romraider/io/serial/connection/SerialConnection.java +++ b/src/com/romraider/io/serial/connection/SerialConnection.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/serial/connection/SerialConnectionImpl.java b/src/com/romraider/io/serial/connection/SerialConnectionImpl.java index 06e9ea49..e46a7529 100644 --- a/src/com/romraider/io/serial/connection/SerialConnectionImpl.java +++ b/src/com/romraider/io/serial/connection/SerialConnectionImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/serial/connection/SerialConnectionManager.java b/src/com/romraider/io/serial/connection/SerialConnectionManager.java index e3575a3e..099ff8cc 100644 --- a/src/com/romraider/io/serial/connection/SerialConnectionManager.java +++ b/src/com/romraider/io/serial/connection/SerialConnectionManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/serial/connection/TestSerialConnection.java b/src/com/romraider/io/serial/connection/TestSerialConnection.java index d73650d0..2432966f 100644 --- a/src/com/romraider/io/serial/connection/TestSerialConnection.java +++ b/src/com/romraider/io/serial/connection/TestSerialConnection.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -42,9 +42,9 @@ import static com.romraider.util.HexUtil.asHex; import static com.romraider.util.ParamChecker.checkNotNull; import static com.romraider.util.ParamChecker.checkNotNullOrEmpty; import static com.romraider.util.ThreadUtil.sleep; +import static java.lang.System.currentTimeMillis; import org.apache.log4j.Logger; import static org.apache.log4j.Logger.getLogger; -import static java.lang.System.currentTimeMillis; import java.util.Random; final class TestSerialConnection implements SerialConnection { diff --git a/src/com/romraider/io/serial/port/SerialPortDiscoverer.java b/src/com/romraider/io/serial/port/SerialPortDiscoverer.java index 9b49307d..56c5dab1 100644 --- a/src/com/romraider/io/serial/port/SerialPortDiscoverer.java +++ b/src/com/romraider/io/serial/port/SerialPortDiscoverer.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/serial/port/SerialPortDiscovererImpl.java b/src/com/romraider/io/serial/port/SerialPortDiscovererImpl.java index f2bfa2f9..c61dc5d3 100644 --- a/src/com/romraider/io/serial/port/SerialPortDiscovererImpl.java +++ b/src/com/romraider/io/serial/port/SerialPortDiscovererImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/serial/port/SerialPortRefreshListener.java b/src/com/romraider/io/serial/port/SerialPortRefreshListener.java index 0be23177..5487e2ea 100644 --- a/src/com/romraider/io/serial/port/SerialPortRefreshListener.java +++ b/src/com/romraider/io/serial/port/SerialPortRefreshListener.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/io/serial/port/SerialPortRefresher.java b/src/com/romraider/io/serial/port/SerialPortRefresher.java index 24fc027a..3bbecd25 100644 --- a/src/com/romraider/io/serial/port/SerialPortRefresher.java +++ b/src/com/romraider/io/serial/port/SerialPortRefresher.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/aem/io/AemConnection.java b/src/com/romraider/logger/aem/io/AemConnection.java index fed716a6..d4a18e9b 100644 --- a/src/com/romraider/logger/aem/io/AemConnection.java +++ b/src/com/romraider/logger/aem/io/AemConnection.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/aem/io/AemConnectionImpl.java b/src/com/romraider/logger/aem/io/AemConnectionImpl.java index 9937c69f..15f6780b 100644 --- a/src/com/romraider/logger/aem/io/AemConnectionImpl.java +++ b/src/com/romraider/logger/aem/io/AemConnectionImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/aem/io/AemConnectionProperties.java b/src/com/romraider/logger/aem/io/AemConnectionProperties.java index a534ef60..7486208c 100644 --- a/src/com/romraider/logger/aem/io/AemConnectionProperties.java +++ b/src/com/romraider/logger/aem/io/AemConnectionProperties.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/aem/io/AemRunner.java b/src/com/romraider/logger/aem/io/AemRunner.java index 476c2ab3..e74e0206 100644 --- a/src/com/romraider/logger/aem/io/AemRunner.java +++ b/src/com/romraider/logger/aem/io/AemRunner.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/aem/io/AemRunnerImpl.java b/src/com/romraider/logger/aem/io/AemRunnerImpl.java index 3c8a666e..6131e19d 100644 --- a/src/com/romraider/logger/aem/io/AemRunnerImpl.java +++ b/src/com/romraider/logger/aem/io/AemRunnerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/aem/plugin/AemConvertor.java b/src/com/romraider/logger/aem/plugin/AemConvertor.java index e37df79b..9e95f07b 100644 --- a/src/com/romraider/logger/aem/plugin/AemConvertor.java +++ b/src/com/romraider/logger/aem/plugin/AemConvertor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/aem/plugin/AemConvertorImpl.java b/src/com/romraider/logger/aem/plugin/AemConvertorImpl.java index 4e1a3fe4..e24e3554 100644 --- a/src/com/romraider/logger/aem/plugin/AemConvertorImpl.java +++ b/src/com/romraider/logger/aem/plugin/AemConvertorImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,8 +21,8 @@ package com.romraider.logger.aem.plugin; import static com.romraider.util.HexUtil.asHex; -import org.apache.log4j.Logger; import static java.lang.Double.parseDouble; +import org.apache.log4j.Logger; import java.nio.charset.Charset; public final class AemConvertorImpl implements AemConvertor { diff --git a/src/com/romraider/logger/aem/plugin/AemDataItem.java b/src/com/romraider/logger/aem/plugin/AemDataItem.java index a206d365..005ff5cf 100644 --- a/src/com/romraider/logger/aem/plugin/AemDataItem.java +++ b/src/com/romraider/logger/aem/plugin/AemDataItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/aem/plugin/AemDataSource.java b/src/com/romraider/logger/aem/plugin/AemDataSource.java index 49b79e2b..20c3ecac 100644 --- a/src/com/romraider/logger/aem/plugin/AemDataSource.java +++ b/src/com/romraider/logger/aem/plugin/AemDataSource.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/aem/plugin/RawDataListener.java b/src/com/romraider/logger/aem/plugin/RawDataListener.java index d40dfff4..3a7aed50 100644 --- a/src/com/romraider/logger/aem/plugin/RawDataListener.java +++ b/src/com/romraider/logger/aem/plugin/RawDataListener.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/EcuLogger.java b/src/com/romraider/logger/ecu/EcuLogger.java index 67539780..9398fdbc 100644 --- a/src/com/romraider/logger/ecu/EcuLogger.java +++ b/src/com/romraider/logger/ecu/EcuLogger.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/EcuLoggerExec.java b/src/com/romraider/logger/ecu/EcuLoggerExec.java index 6699f732..0a13eb7e 100644 --- a/src/com/romraider/logger/ecu/EcuLoggerExec.java +++ b/src/com/romraider/logger/ecu/EcuLoggerExec.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/controller/LoggerController.java b/src/com/romraider/logger/ecu/comms/controller/LoggerController.java index b980961b..68940cd2 100644 --- a/src/com/romraider/logger/ecu/comms/controller/LoggerController.java +++ b/src/com/romraider/logger/ecu/comms/controller/LoggerController.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/controller/LoggerControllerImpl.java b/src/com/romraider/logger/ecu/comms/controller/LoggerControllerImpl.java index 5df11313..78a76de2 100644 --- a/src/com/romraider/logger/ecu/comms/controller/LoggerControllerImpl.java +++ b/src/com/romraider/logger/ecu/comms/controller/LoggerControllerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/io/connection/LoggerConnection.java b/src/com/romraider/logger/ecu/comms/io/connection/LoggerConnection.java index 80b1fc7e..6e5f2ece 100644 --- a/src/com/romraider/logger/ecu/comms/io/connection/LoggerConnection.java +++ b/src/com/romraider/logger/ecu/comms/io/connection/LoggerConnection.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/io/connection/LoggerConnectionFactory.java b/src/com/romraider/logger/ecu/comms/io/connection/LoggerConnectionFactory.java index b6d25bab..3b08a8e0 100644 --- a/src/com/romraider/logger/ecu/comms/io/connection/LoggerConnectionFactory.java +++ b/src/com/romraider/logger/ecu/comms/io/connection/LoggerConnectionFactory.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/io/connection/SSMLoggerConnection.java b/src/com/romraider/logger/ecu/comms/io/connection/SSMLoggerConnection.java index 9f39bc11..d6ab541c 100644 --- a/src/com/romraider/logger/ecu/comms/io/connection/SSMLoggerConnection.java +++ b/src/com/romraider/logger/ecu/comms/io/connection/SSMLoggerConnection.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/io/protocol/LoggerProtocol.java b/src/com/romraider/logger/ecu/comms/io/protocol/LoggerProtocol.java index a8c34dd0..462a7c46 100644 --- a/src/com/romraider/logger/ecu/comms/io/protocol/LoggerProtocol.java +++ b/src/com/romraider/logger/ecu/comms/io/protocol/LoggerProtocol.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/io/protocol/SSMLoggerProtocol.java b/src/com/romraider/logger/ecu/comms/io/protocol/SSMLoggerProtocol.java index 783a708f..2027814f 100644 --- a/src/com/romraider/logger/ecu/comms/io/protocol/SSMLoggerProtocol.java +++ b/src/com/romraider/logger/ecu/comms/io/protocol/SSMLoggerProtocol.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/manager/QueryManager.java b/src/com/romraider/logger/ecu/comms/manager/QueryManager.java index aaee0082..b1f77794 100644 --- a/src/com/romraider/logger/ecu/comms/manager/QueryManager.java +++ b/src/com/romraider/logger/ecu/comms/manager/QueryManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/manager/QueryManagerImpl.java b/src/com/romraider/logger/ecu/comms/manager/QueryManagerImpl.java index a6f1a1e4..7979b4ed 100644 --- a/src/com/romraider/logger/ecu/comms/manager/QueryManagerImpl.java +++ b/src/com/romraider/logger/ecu/comms/manager/QueryManagerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -41,13 +41,13 @@ import com.romraider.logger.ecu.ui.handler.file.FileLoggerControllerSwitchMonito import static com.romraider.util.ParamChecker.checkNotNull; import static com.romraider.util.ThreadUtil.runAsDaemon; import static com.romraider.util.ThreadUtil.sleep; +import static java.util.Collections.synchronizedList; +import static java.util.Collections.synchronizedMap; import org.apache.log4j.Logger; import javax.swing.SwingUtilities; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.Collection; -import static java.util.Collections.synchronizedList; -import static java.util.Collections.synchronizedMap; import java.util.HashMap; import java.util.List; import java.util.Map; diff --git a/src/com/romraider/logger/ecu/comms/manager/TransmissionManager.java b/src/com/romraider/logger/ecu/comms/manager/TransmissionManager.java index c7b7614d..12052b3b 100644 --- a/src/com/romraider/logger/ecu/comms/manager/TransmissionManager.java +++ b/src/com/romraider/logger/ecu/comms/manager/TransmissionManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/manager/TransmissionManagerImpl.java b/src/com/romraider/logger/ecu/comms/manager/TransmissionManagerImpl.java index c55bdbb6..54502eae 100644 --- a/src/com/romraider/logger/ecu/comms/manager/TransmissionManagerImpl.java +++ b/src/com/romraider/logger/ecu/comms/manager/TransmissionManagerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -50,7 +50,8 @@ public final class TransmissionManagerImpl implements TransmissionManager { public void sendQueries(Collection queries) { checkNotNull(queries, "queries"); - if (connection == null) throw new NotConnectedException("TransmissionManager must be started before queries can be sent!"); + if (connection == null) + throw new NotConnectedException("TransmissionManager must be started before queries can be sent!"); connection.sendAddressReads(queries); } diff --git a/src/com/romraider/logger/ecu/comms/query/EcuInit.java b/src/com/romraider/logger/ecu/comms/query/EcuInit.java index 06a890cc..fef1ea56 100644 --- a/src/com/romraider/logger/ecu/comms/query/EcuInit.java +++ b/src/com/romraider/logger/ecu/comms/query/EcuInit.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/query/EcuInitCallback.java b/src/com/romraider/logger/ecu/comms/query/EcuInitCallback.java index 73d5a324..83c0e5f0 100644 --- a/src/com/romraider/logger/ecu/comms/query/EcuInitCallback.java +++ b/src/com/romraider/logger/ecu/comms/query/EcuInitCallback.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/query/EcuQuery.java b/src/com/romraider/logger/ecu/comms/query/EcuQuery.java index 772abf65..2bf36e65 100644 --- a/src/com/romraider/logger/ecu/comms/query/EcuQuery.java +++ b/src/com/romraider/logger/ecu/comms/query/EcuQuery.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/query/EcuQueryImpl.java b/src/com/romraider/logger/ecu/comms/query/EcuQueryImpl.java index 66890f15..240734c5 100644 --- a/src/com/romraider/logger/ecu/comms/query/EcuQueryImpl.java +++ b/src/com/romraider/logger/ecu/comms/query/EcuQueryImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/query/ExternalQuery.java b/src/com/romraider/logger/ecu/comms/query/ExternalQuery.java index 385e2619..6fd18bf0 100644 --- a/src/com/romraider/logger/ecu/comms/query/ExternalQuery.java +++ b/src/com/romraider/logger/ecu/comms/query/ExternalQuery.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/query/ExternalQueryImpl.java b/src/com/romraider/logger/ecu/comms/query/ExternalQueryImpl.java index d889c401..432cfc25 100644 --- a/src/com/romraider/logger/ecu/comms/query/ExternalQueryImpl.java +++ b/src/com/romraider/logger/ecu/comms/query/ExternalQueryImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/query/Query.java b/src/com/romraider/logger/ecu/comms/query/Query.java index c070a885..b53390d7 100644 --- a/src/com/romraider/logger/ecu/comms/query/Query.java +++ b/src/com/romraider/logger/ecu/comms/query/Query.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/query/Response.java b/src/com/romraider/logger/ecu/comms/query/Response.java index 2ba6e726..0d265e4f 100644 --- a/src/com/romraider/logger/ecu/comms/query/Response.java +++ b/src/com/romraider/logger/ecu/comms/query/Response.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/query/ResponseImpl.java b/src/com/romraider/logger/ecu/comms/query/ResponseImpl.java index 62e35980..6de1da96 100644 --- a/src/com/romraider/logger/ecu/comms/query/ResponseImpl.java +++ b/src/com/romraider/logger/ecu/comms/query/ResponseImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/query/SSMEcuInit.java b/src/com/romraider/logger/ecu/comms/query/SSMEcuInit.java index cfbe3153..22939958 100644 --- a/src/com/romraider/logger/ecu/comms/query/SSMEcuInit.java +++ b/src/com/romraider/logger/ecu/comms/query/SSMEcuInit.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/reset/ResetManager.java b/src/com/romraider/logger/ecu/comms/reset/ResetManager.java index a57e310d..2e4283a8 100644 --- a/src/com/romraider/logger/ecu/comms/reset/ResetManager.java +++ b/src/com/romraider/logger/ecu/comms/reset/ResetManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/comms/reset/ResetManagerImpl.java b/src/com/romraider/logger/ecu/comms/reset/ResetManagerImpl.java index 2a2f64c5..924ada7a 100644 --- a/src/com/romraider/logger/ecu/comms/reset/ResetManagerImpl.java +++ b/src/com/romraider/logger/ecu/comms/reset/ResetManagerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/ConvertorUpdateListener.java b/src/com/romraider/logger/ecu/definition/ConvertorUpdateListener.java index 37063690..593a4cd3 100644 --- a/src/com/romraider/logger/ecu/definition/ConvertorUpdateListener.java +++ b/src/com/romraider/logger/ecu/definition/ConvertorUpdateListener.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuAddress.java b/src/com/romraider/logger/ecu/definition/EcuAddress.java index 6b3e11e6..7e21f210 100644 --- a/src/com/romraider/logger/ecu/definition/EcuAddress.java +++ b/src/com/romraider/logger/ecu/definition/EcuAddress.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuAddressImpl.java b/src/com/romraider/logger/ecu/definition/EcuAddressImpl.java index 562147e2..d7c2d078 100644 --- a/src/com/romraider/logger/ecu/definition/EcuAddressImpl.java +++ b/src/com/romraider/logger/ecu/definition/EcuAddressImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuData.java b/src/com/romraider/logger/ecu/definition/EcuData.java index d4d965e8..02924731 100644 --- a/src/com/romraider/logger/ecu/definition/EcuData.java +++ b/src/com/romraider/logger/ecu/definition/EcuData.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuDataConvertor.java b/src/com/romraider/logger/ecu/definition/EcuDataConvertor.java index 977ed995..72f85325 100644 --- a/src/com/romraider/logger/ecu/definition/EcuDataConvertor.java +++ b/src/com/romraider/logger/ecu/definition/EcuDataConvertor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuDataLoader.java b/src/com/romraider/logger/ecu/definition/EcuDataLoader.java index 487017dd..1aa8c735 100644 --- a/src/com/romraider/logger/ecu/definition/EcuDataLoader.java +++ b/src/com/romraider/logger/ecu/definition/EcuDataLoader.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuDataLoaderImpl.java b/src/com/romraider/logger/ecu/definition/EcuDataLoaderImpl.java index 4e204b50..b3bd7676 100644 --- a/src/com/romraider/logger/ecu/definition/EcuDataLoaderImpl.java +++ b/src/com/romraider/logger/ecu/definition/EcuDataLoaderImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,6 +27,7 @@ import com.romraider.logger.ecu.exception.ConfigurationException; import static com.romraider.util.ParamChecker.checkNotNull; import static com.romraider.util.ParamChecker.checkNotNullOrEmpty; import static com.romraider.util.SaxParserFactory.getSaxParser; +import org.xml.sax.SAXParseException; import java.io.BufferedInputStream; import java.io.File; import java.io.FileInputStream; @@ -36,7 +37,6 @@ import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; -import org.xml.sax.SAXParseException; public final class EcuDataLoaderImpl implements EcuDataLoader { private Map ecuDefinitionMap = new HashMap(); @@ -58,9 +58,9 @@ public final class EcuDataLoaderImpl implements EcuDataLoader { } } catch (SAXParseException spe) { // catch general parsing exception - enough people don't unzip the defs that a better error message is in order - throw new ConfigurationException("Unable to read ECU definition file " + ecuDefsFile + ". Please make sure the definition file is correct. If it is in a ZIP archive, unzip the file and try again."); + throw new ConfigurationException("Unable to read ECU definition file " + ecuDefsFile + ". Please make sure the definition file is correct. If it is in a ZIP archive, unzip the file and try again."); } catch (FileNotFoundException fnfe) { - throw new ConfigurationException("The specified ECU definition file " + ecuDefsFile + " does not exist."); + throw new ConfigurationException("The specified ECU definition file " + ecuDefsFile + " does not exist."); } catch (Exception e) { throw new ConfigurationException(e); } @@ -83,10 +83,10 @@ public final class EcuDataLoaderImpl implements EcuDataLoader { inputStream.close(); } } catch (FileNotFoundException fnfe) { - throw new ConfigurationException("The specified Logger Config file " + loggerConfigFilePath + " does not exist."); + throw new ConfigurationException("The specified Logger Config file " + loggerConfigFilePath + " does not exist."); } catch (SAXParseException spe) { // catch general parsing exception - enough people don't unzip the defs that a better error message is in order - throw new ConfigurationException("Unable to read Logger Config file " + loggerConfigFilePath + ". Please make sure the configuration file is correct. If it is in a ZIP archive, unzip the file and try again."); + throw new ConfigurationException("Unable to read Logger Config file " + loggerConfigFilePath + ". Please make sure the configuration file is correct. If it is in a ZIP archive, unzip the file and try again."); } catch (Exception e) { throw new ConfigurationException(e); } diff --git a/src/com/romraider/logger/ecu/definition/EcuDataType.java b/src/com/romraider/logger/ecu/definition/EcuDataType.java index a9a28214..2231d890 100644 --- a/src/com/romraider/logger/ecu/definition/EcuDataType.java +++ b/src/com/romraider/logger/ecu/definition/EcuDataType.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuDefinition.java b/src/com/romraider/logger/ecu/definition/EcuDefinition.java index 46a04e91..7dfe45ea 100644 --- a/src/com/romraider/logger/ecu/definition/EcuDefinition.java +++ b/src/com/romraider/logger/ecu/definition/EcuDefinition.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuDefinitionImpl.java b/src/com/romraider/logger/ecu/definition/EcuDefinitionImpl.java index 57e90a4a..6c1d9c44 100644 --- a/src/com/romraider/logger/ecu/definition/EcuDefinitionImpl.java +++ b/src/com/romraider/logger/ecu/definition/EcuDefinitionImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuDerivedParameterConvertor.java b/src/com/romraider/logger/ecu/definition/EcuDerivedParameterConvertor.java index 8869d507..72d1c321 100644 --- a/src/com/romraider/logger/ecu/definition/EcuDerivedParameterConvertor.java +++ b/src/com/romraider/logger/ecu/definition/EcuDerivedParameterConvertor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuDerivedParameterConvertorImpl.java b/src/com/romraider/logger/ecu/definition/EcuDerivedParameterConvertorImpl.java index 56989bb6..01c84191 100644 --- a/src/com/romraider/logger/ecu/definition/EcuDerivedParameterConvertorImpl.java +++ b/src/com/romraider/logger/ecu/definition/EcuDerivedParameterConvertorImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,8 +23,8 @@ import com.romraider.logger.ecu.ui.handler.dash.GaugeMinMax; import static com.romraider.util.JEPUtil.evaluate; import static com.romraider.util.ParamChecker.checkNotNull; import static com.romraider.util.ParamChecker.checkNotNullOrEmpty; -import java.text.DecimalFormat; import static java.util.Collections.synchronizedMap; +import java.text.DecimalFormat; import java.util.HashMap; import java.util.Map; diff --git a/src/com/romraider/logger/ecu/definition/EcuDerivedParameterImpl.java b/src/com/romraider/logger/ecu/definition/EcuDerivedParameterImpl.java index 5eaa0544..5cdc4a9d 100644 --- a/src/com/romraider/logger/ecu/definition/EcuDerivedParameterImpl.java +++ b/src/com/romraider/logger/ecu/definition/EcuDerivedParameterImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuParameter.java b/src/com/romraider/logger/ecu/definition/EcuParameter.java index ddf63f5b..84e4827e 100644 --- a/src/com/romraider/logger/ecu/definition/EcuParameter.java +++ b/src/com/romraider/logger/ecu/definition/EcuParameter.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuParameterConvertorImpl.java b/src/com/romraider/logger/ecu/definition/EcuParameterConvertorImpl.java index a12cebe3..323b2539 100644 --- a/src/com/romraider/logger/ecu/definition/EcuParameterConvertorImpl.java +++ b/src/com/romraider/logger/ecu/definition/EcuParameterConvertorImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuParameterImpl.java b/src/com/romraider/logger/ecu/definition/EcuParameterImpl.java index 7124efc0..959414fe 100644 --- a/src/com/romraider/logger/ecu/definition/EcuParameterImpl.java +++ b/src/com/romraider/logger/ecu/definition/EcuParameterImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuSwitch.java b/src/com/romraider/logger/ecu/definition/EcuSwitch.java index 5cf02540..cc87bd60 100644 --- a/src/com/romraider/logger/ecu/definition/EcuSwitch.java +++ b/src/com/romraider/logger/ecu/definition/EcuSwitch.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuSwitchConvertorImpl.java b/src/com/romraider/logger/ecu/definition/EcuSwitchConvertorImpl.java index 9a0629b0..6ce23939 100644 --- a/src/com/romraider/logger/ecu/definition/EcuSwitchConvertorImpl.java +++ b/src/com/romraider/logger/ecu/definition/EcuSwitchConvertorImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/EcuSwitchImpl.java b/src/com/romraider/logger/ecu/definition/EcuSwitchImpl.java index e053dd1f..be98c40b 100644 --- a/src/com/romraider/logger/ecu/definition/EcuSwitchImpl.java +++ b/src/com/romraider/logger/ecu/definition/EcuSwitchImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/ExternalData.java b/src/com/romraider/logger/ecu/definition/ExternalData.java index 3503b224..eaf1792f 100644 --- a/src/com/romraider/logger/ecu/definition/ExternalData.java +++ b/src/com/romraider/logger/ecu/definition/ExternalData.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/ExternalDataImpl.java b/src/com/romraider/logger/ecu/definition/ExternalDataImpl.java index 5a7447ed..ee94c1c3 100644 --- a/src/com/romraider/logger/ecu/definition/ExternalDataImpl.java +++ b/src/com/romraider/logger/ecu/definition/ExternalDataImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/LoggerData.java b/src/com/romraider/logger/ecu/definition/LoggerData.java index b9974065..703575c4 100644 --- a/src/com/romraider/logger/ecu/definition/LoggerData.java +++ b/src/com/romraider/logger/ecu/definition/LoggerData.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/plugin/PluginFilenameFilter.java b/src/com/romraider/logger/ecu/definition/plugin/PluginFilenameFilter.java index 54dd4a18..70f9c669 100644 --- a/src/com/romraider/logger/ecu/definition/plugin/PluginFilenameFilter.java +++ b/src/com/romraider/logger/ecu/definition/plugin/PluginFilenameFilter.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/xml/ConverterMaxMinDefaults.java b/src/com/romraider/logger/ecu/definition/xml/ConverterMaxMinDefaults.java index 88a32045..ae62c4ce 100644 --- a/src/com/romraider/logger/ecu/definition/xml/ConverterMaxMinDefaults.java +++ b/src/com/romraider/logger/ecu/definition/xml/ConverterMaxMinDefaults.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/xml/EcuDefinitionHandler.java b/src/com/romraider/logger/ecu/definition/xml/EcuDefinitionHandler.java index 701524c1..98d6c0c7 100644 --- a/src/com/romraider/logger/ecu/definition/xml/EcuDefinitionHandler.java +++ b/src/com/romraider/logger/ecu/definition/xml/EcuDefinitionHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/definition/xml/LoggerDefinitionHandler.java b/src/com/romraider/logger/ecu/definition/xml/LoggerDefinitionHandler.java index 813d6679..05e74c90 100644 --- a/src/com/romraider/logger/ecu/definition/xml/LoggerDefinitionHandler.java +++ b/src/com/romraider/logger/ecu/definition/xml/LoggerDefinitionHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -41,9 +41,9 @@ import static com.romraider.logger.ecu.definition.xml.ConverterMaxMinDefaults.ge import com.romraider.logger.ecu.ui.handler.dash.GaugeMinMax; import static com.romraider.util.ParamChecker.checkNotNullOrEmpty; import static com.romraider.util.ParamChecker.isNullOrEmpty; +import static java.lang.Double.parseDouble; import org.xml.sax.Attributes; import org.xml.sax.helpers.DefaultHandler; -import static java.lang.Double.parseDouble; import java.util.ArrayList; import java.util.HashMap; import java.util.HashSet; diff --git a/src/com/romraider/logger/ecu/exception/ConfigurationException.java b/src/com/romraider/logger/ecu/exception/ConfigurationException.java index 0f6de156..7b4b6402 100644 --- a/src/com/romraider/logger/ecu/exception/ConfigurationException.java +++ b/src/com/romraider/logger/ecu/exception/ConfigurationException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/exception/FileLoggerException.java b/src/com/romraider/logger/ecu/exception/FileLoggerException.java index 2a37f038..3be666ed 100644 --- a/src/com/romraider/logger/ecu/exception/FileLoggerException.java +++ b/src/com/romraider/logger/ecu/exception/FileLoggerException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/exception/InvalidResponseException.java b/src/com/romraider/logger/ecu/exception/InvalidResponseException.java index a962b534..aea36ded 100644 --- a/src/com/romraider/logger/ecu/exception/InvalidResponseException.java +++ b/src/com/romraider/logger/ecu/exception/InvalidResponseException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/exception/NotConnectedException.java b/src/com/romraider/logger/ecu/exception/NotConnectedException.java index 8f56dc13..6f6291dc 100644 --- a/src/com/romraider/logger/ecu/exception/NotConnectedException.java +++ b/src/com/romraider/logger/ecu/exception/NotConnectedException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/exception/PortNotFoundException.java b/src/com/romraider/logger/ecu/exception/PortNotFoundException.java index e35451e0..c3dae389 100644 --- a/src/com/romraider/logger/ecu/exception/PortNotFoundException.java +++ b/src/com/romraider/logger/ecu/exception/PortNotFoundException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/exception/SerialCommunicationException.java b/src/com/romraider/logger/ecu/exception/SerialCommunicationException.java index 5804fbdf..8e3b0bb4 100644 --- a/src/com/romraider/logger/ecu/exception/SerialCommunicationException.java +++ b/src/com/romraider/logger/ecu/exception/SerialCommunicationException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/exception/UnsupportedPortTypeException.java b/src/com/romraider/logger/ecu/exception/UnsupportedPortTypeException.java index 7294c15c..9fce41be 100644 --- a/src/com/romraider/logger/ecu/exception/UnsupportedPortTypeException.java +++ b/src/com/romraider/logger/ecu/exception/UnsupportedPortTypeException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/exception/UnsupportedProtocolException.java b/src/com/romraider/logger/ecu/exception/UnsupportedProtocolException.java index 96bf5304..ed1737bc 100644 --- a/src/com/romraider/logger/ecu/exception/UnsupportedProtocolException.java +++ b/src/com/romraider/logger/ecu/exception/UnsupportedProtocolException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/external/ExternalDataItem.java b/src/com/romraider/logger/ecu/external/ExternalDataItem.java index ee5bbe31..e8fcc85f 100644 --- a/src/com/romraider/logger/ecu/external/ExternalDataItem.java +++ b/src/com/romraider/logger/ecu/external/ExternalDataItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/external/ExternalDataSource.java b/src/com/romraider/logger/ecu/external/ExternalDataSource.java index 43478533..4ba07040 100644 --- a/src/com/romraider/logger/ecu/external/ExternalDataSource.java +++ b/src/com/romraider/logger/ecu/external/ExternalDataSource.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/external/ExternalDataSourceLoader.java b/src/com/romraider/logger/ecu/external/ExternalDataSourceLoader.java index f786e339..2ea32fed 100644 --- a/src/com/romraider/logger/ecu/external/ExternalDataSourceLoader.java +++ b/src/com/romraider/logger/ecu/external/ExternalDataSourceLoader.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/external/ExternalDataSourceLoaderImpl.java b/src/com/romraider/logger/ecu/external/ExternalDataSourceLoaderImpl.java index 8674cb81..14c3745f 100644 --- a/src/com/romraider/logger/ecu/external/ExternalDataSourceLoaderImpl.java +++ b/src/com/romraider/logger/ecu/external/ExternalDataSourceLoaderImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/external/GenericDataSourceConnector.java b/src/com/romraider/logger/ecu/external/GenericDataSourceConnector.java index 5429a8ac..743eebda 100644 --- a/src/com/romraider/logger/ecu/external/GenericDataSourceConnector.java +++ b/src/com/romraider/logger/ecu/external/GenericDataSourceConnector.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/external/GenericDataSourceManager.java b/src/com/romraider/logger/ecu/external/GenericDataSourceManager.java index 0f72fe2a..845c1037 100644 --- a/src/com/romraider/logger/ecu/external/GenericDataSourceManager.java +++ b/src/com/romraider/logger/ecu/external/GenericDataSourceManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/profile/UserProfile.java b/src/com/romraider/logger/ecu/profile/UserProfile.java index 69bb45d0..fec622e4 100644 --- a/src/com/romraider/logger/ecu/profile/UserProfile.java +++ b/src/com/romraider/logger/ecu/profile/UserProfile.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/profile/UserProfileFileFilter.java b/src/com/romraider/logger/ecu/profile/UserProfileFileFilter.java index 26bd23bf..9c381b3b 100644 --- a/src/com/romraider/logger/ecu/profile/UserProfileFileFilter.java +++ b/src/com/romraider/logger/ecu/profile/UserProfileFileFilter.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/profile/UserProfileImpl.java b/src/com/romraider/logger/ecu/profile/UserProfileImpl.java index d868d205..de082d7a 100644 --- a/src/com/romraider/logger/ecu/profile/UserProfileImpl.java +++ b/src/com/romraider/logger/ecu/profile/UserProfileImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -113,7 +113,8 @@ public final class UserProfileImpl implements UserProfile { if (item.isLiveDataSelected()) builder.append(" livedata=\"selected\""); if (item.isGraphSelected()) builder.append(" graph=\"selected\""); if (item.isDashSelected()) builder.append(" dash=\"selected\""); - if (showUnits && !isNullOrEmpty(item.getUnits())) builder.append(" units=\"").append(item.getUnits()).append("\""); + if (showUnits && !isNullOrEmpty(item.getUnits())) + builder.append(" units=\"").append(item.getUnits()).append("\""); builder.append("/>").append(NEW_LINE); } } diff --git a/src/com/romraider/logger/ecu/profile/UserProfileItem.java b/src/com/romraider/logger/ecu/profile/UserProfileItem.java index bf94e15b..f62b5574 100644 --- a/src/com/romraider/logger/ecu/profile/UserProfileItem.java +++ b/src/com/romraider/logger/ecu/profile/UserProfileItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/profile/UserProfileItemImpl.java b/src/com/romraider/logger/ecu/profile/UserProfileItemImpl.java index 72607883..4e06e9f9 100644 --- a/src/com/romraider/logger/ecu/profile/UserProfileItemImpl.java +++ b/src/com/romraider/logger/ecu/profile/UserProfileItemImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/profile/UserProfileLoader.java b/src/com/romraider/logger/ecu/profile/UserProfileLoader.java index 4c5cad3a..6dd5fae6 100644 --- a/src/com/romraider/logger/ecu/profile/UserProfileLoader.java +++ b/src/com/romraider/logger/ecu/profile/UserProfileLoader.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/profile/UserProfileLoaderImpl.java b/src/com/romraider/logger/ecu/profile/UserProfileLoaderImpl.java index 29b5d39e..3f947a85 100644 --- a/src/com/romraider/logger/ecu/profile/UserProfileLoaderImpl.java +++ b/src/com/romraider/logger/ecu/profile/UserProfileLoaderImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/profile/xml/UserProfileHandler.java b/src/com/romraider/logger/ecu/profile/xml/UserProfileHandler.java index 50be3016..31c1f7a1 100644 --- a/src/com/romraider/logger/ecu/profile/xml/UserProfileHandler.java +++ b/src/com/romraider/logger/ecu/profile/xml/UserProfileHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/DataRegistrationBroker.java b/src/com/romraider/logger/ecu/ui/DataRegistrationBroker.java index 7622b0fa..e0811d81 100644 --- a/src/com/romraider/logger/ecu/ui/DataRegistrationBroker.java +++ b/src/com/romraider/logger/ecu/ui/DataRegistrationBroker.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/DataRegistrationBrokerImpl.java b/src/com/romraider/logger/ecu/ui/DataRegistrationBrokerImpl.java index c5961a39..58d438e7 100644 --- a/src/com/romraider/logger/ecu/ui/DataRegistrationBrokerImpl.java +++ b/src/com/romraider/logger/ecu/ui/DataRegistrationBrokerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,8 +23,8 @@ import com.romraider.logger.ecu.comms.controller.LoggerController; import com.romraider.logger.ecu.definition.LoggerData; import com.romraider.logger.ecu.ui.handler.DataUpdateHandlerManager; import static com.romraider.util.ParamChecker.checkNotNull; -import java.util.ArrayList; import static java.util.Collections.synchronizedList; +import java.util.ArrayList; import java.util.List; public final class DataRegistrationBrokerImpl implements DataRegistrationBroker { diff --git a/src/com/romraider/logger/ecu/ui/EcuDataComparator.java b/src/com/romraider/logger/ecu/ui/EcuDataComparator.java index 1940c889..6ee295d7 100644 --- a/src/com/romraider/logger/ecu/ui/EcuDataComparator.java +++ b/src/com/romraider/logger/ecu/ui/EcuDataComparator.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/MessageListener.java b/src/com/romraider/logger/ecu/ui/MessageListener.java index 6bdcbcb2..255f04ac 100644 --- a/src/com/romraider/logger/ecu/ui/MessageListener.java +++ b/src/com/romraider/logger/ecu/ui/MessageListener.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/SerialPortComboBox.java b/src/com/romraider/logger/ecu/ui/SerialPortComboBox.java index 139f9236..46e3d411 100644 --- a/src/com/romraider/logger/ecu/ui/SerialPortComboBox.java +++ b/src/com/romraider/logger/ecu/ui/SerialPortComboBox.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/StatusChangeListener.java b/src/com/romraider/logger/ecu/ui/StatusChangeListener.java index 16280839..633df07e 100644 --- a/src/com/romraider/logger/ecu/ui/StatusChangeListener.java +++ b/src/com/romraider/logger/ecu/ui/StatusChangeListener.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/StatusIndicator.java b/src/com/romraider/logger/ecu/ui/StatusIndicator.java index c867d8dd..f47ef28b 100644 --- a/src/com/romraider/logger/ecu/ui/StatusIndicator.java +++ b/src/com/romraider/logger/ecu/ui/StatusIndicator.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,13 +19,13 @@ package com.romraider.logger.ecu.ui; +import static java.awt.BorderLayout.WEST; +import static java.awt.Font.BOLD; import javax.swing.ImageIcon; import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.SwingUtilities; import java.awt.BorderLayout; -import static java.awt.BorderLayout.WEST; -import static java.awt.Font.BOLD; public final class StatusIndicator extends JPanel implements StatusChangeListener { private static final long serialVersionUID = -3244690866698807677L; diff --git a/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandler.java b/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandler.java index 299f8604..883b861e 100644 --- a/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandler.java +++ b/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandlerManager.java b/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandlerManager.java index 6847d191..6d92f1e9 100644 --- a/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandlerManager.java +++ b/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandlerManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandlerManagerImpl.java b/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandlerManagerImpl.java index 9a8255d0..a80b1e49 100644 --- a/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandlerManagerImpl.java +++ b/src/com/romraider/logger/ecu/ui/handler/DataUpdateHandlerManagerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/dash/DashboardUpdateHandler.java b/src/com/romraider/logger/ecu/ui/handler/dash/DashboardUpdateHandler.java index b59a05e2..6fbeb8ad 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dash/DashboardUpdateHandler.java +++ b/src/com/romraider/logger/ecu/ui/handler/dash/DashboardUpdateHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,11 +24,11 @@ import com.romraider.logger.ecu.definition.ConvertorUpdateListener; import com.romraider.logger.ecu.definition.LoggerData; import com.romraider.logger.ecu.ui.handler.DataUpdateHandler; import static com.romraider.util.ThreadUtil.run; +import static java.util.Collections.synchronizedMap; import javax.swing.JPanel; import javax.swing.SwingUtilities; import java.awt.Container; import java.lang.reflect.Constructor; -import static java.util.Collections.synchronizedMap; import java.util.HashMap; import java.util.Map; diff --git a/src/com/romraider/logger/ecu/ui/handler/dash/DialGaugeStyle.java b/src/com/romraider/logger/ecu/ui/handler/dash/DialGaugeStyle.java index 50ed21e8..50069dea 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dash/DialGaugeStyle.java +++ b/src/com/romraider/logger/ecu/ui/handler/dash/DialGaugeStyle.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,14 @@ package com.romraider.logger.ecu.ui.handler.dash; import com.romraider.logger.ecu.definition.EcuDataConvertor; import com.romraider.logger.ecu.definition.LoggerData; import static com.romraider.util.ParamChecker.checkNotNull; +import static java.awt.Color.BLUE; +import static java.awt.Color.GREEN; +import static java.awt.Color.ORANGE; +import static java.awt.Color.RED; +import static java.awt.Font.BOLD; +import static java.awt.Font.PLAIN; +import static java.lang.Double.MAX_VALUE; +import static java.lang.Double.MIN_VALUE; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; import org.jfree.chart.plot.dial.DialBackground; @@ -41,18 +49,10 @@ import javax.swing.JPanel; import javax.swing.SwingUtilities; import java.awt.BasicStroke; import java.awt.Color; -import static java.awt.Color.BLUE; -import static java.awt.Color.GREEN; -import static java.awt.Color.ORANGE; -import static java.awt.Color.RED; import java.awt.Dimension; import java.awt.Font; -import static java.awt.Font.BOLD; -import static java.awt.Font.PLAIN; import java.awt.GradientPaint; import java.awt.Point; -import static java.lang.Double.MAX_VALUE; -import static java.lang.Double.MIN_VALUE; import java.text.DecimalFormat; public class DialGaugeStyle implements GaugeStyle { diff --git a/src/com/romraider/logger/ecu/ui/handler/dash/Gauge.java b/src/com/romraider/logger/ecu/ui/handler/dash/Gauge.java index dd1e1d20..fc2e8ecb 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dash/Gauge.java +++ b/src/com/romraider/logger/ecu/ui/handler/dash/Gauge.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,10 +19,10 @@ package com.romraider.logger.ecu.ui.handler.dash; +import static java.awt.BorderLayout.CENTER; import javax.swing.JPanel; import javax.swing.SwingUtilities; import java.awt.BorderLayout; -import static java.awt.BorderLayout.CENTER; public final class Gauge extends JPanel { private static final long serialVersionUID = 7354117571944547043L; diff --git a/src/com/romraider/logger/ecu/ui/handler/dash/GaugeMinMax.java b/src/com/romraider/logger/ecu/ui/handler/dash/GaugeMinMax.java index 197d4961..13f2a841 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dash/GaugeMinMax.java +++ b/src/com/romraider/logger/ecu/ui/handler/dash/GaugeMinMax.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/dash/GaugeStyle.java b/src/com/romraider/logger/ecu/ui/handler/dash/GaugeStyle.java index 9310461e..fa66db69 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dash/GaugeStyle.java +++ b/src/com/romraider/logger/ecu/ui/handler/dash/GaugeStyle.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/dash/GaugeUpdateListener.java b/src/com/romraider/logger/ecu/ui/handler/dash/GaugeUpdateListener.java index 6902ad0e..a81d15dc 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dash/GaugeUpdateListener.java +++ b/src/com/romraider/logger/ecu/ui/handler/dash/GaugeUpdateListener.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/dash/NoFrillsGaugeStyle.java b/src/com/romraider/logger/ecu/ui/handler/dash/NoFrillsGaugeStyle.java index 428f6c8b..d44f2495 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dash/NoFrillsGaugeStyle.java +++ b/src/com/romraider/logger/ecu/ui/handler/dash/NoFrillsGaugeStyle.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,15 +20,15 @@ package com.romraider.logger.ecu.ui.handler.dash; import com.romraider.logger.ecu.definition.LoggerData; -import javax.swing.JPanel; -import java.awt.BorderLayout; import static java.awt.BorderLayout.CENTER; import static java.awt.BorderLayout.NORTH; import static java.awt.Color.BLACK; import static java.awt.Color.WHITE; +import static java.awt.Font.PLAIN; +import javax.swing.JPanel; +import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.FlowLayout; -import static java.awt.Font.PLAIN; public final class NoFrillsGaugeStyle extends PlainGaugeStyle { public NoFrillsGaugeStyle(LoggerData loggerData) { diff --git a/src/com/romraider/logger/ecu/ui/handler/dash/PlainGaugeStyle.java b/src/com/romraider/logger/ecu/ui/handler/dash/PlainGaugeStyle.java index 314e0886..34b6fd12 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dash/PlainGaugeStyle.java +++ b/src/com/romraider/logger/ecu/ui/handler/dash/PlainGaugeStyle.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,13 @@ package com.romraider.logger.ecu.ui.handler.dash; import com.romraider.logger.ecu.definition.LoggerData; import com.romraider.tts.Speaker; import static com.romraider.util.ParamChecker.checkNotNull; +import static java.awt.BorderLayout.CENTER; +import static java.awt.BorderLayout.NORTH; +import static java.awt.BorderLayout.SOUTH; +import static java.awt.Color.BLACK; +import static java.awt.Color.WHITE; +import static java.awt.Font.BOLD; +import static java.awt.Font.PLAIN; import static javax.swing.BorderFactory.createLineBorder; import javax.swing.JCheckBox; import javax.swing.JComboBox; @@ -31,16 +38,9 @@ import javax.swing.JProgressBar; import javax.swing.JTextField; import javax.swing.SwingUtilities; import java.awt.BorderLayout; -import static java.awt.BorderLayout.CENTER; -import static java.awt.BorderLayout.NORTH; -import static java.awt.BorderLayout.SOUTH; import java.awt.Color; -import static java.awt.Color.BLACK; -import static java.awt.Color.WHITE; import java.awt.Dimension; import java.awt.FlowLayout; -import static java.awt.Font.BOLD; -import static java.awt.Font.PLAIN; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; diff --git a/src/com/romraider/logger/ecu/ui/handler/dash/SmallDialGaugeStyle.java b/src/com/romraider/logger/ecu/ui/handler/dash/SmallDialGaugeStyle.java index 98d03908..40da8206 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dash/SmallDialGaugeStyle.java +++ b/src/com/romraider/logger/ecu/ui/handler/dash/SmallDialGaugeStyle.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,6 +21,12 @@ package com.romraider.logger.ecu.ui.handler.dash; import com.romraider.logger.ecu.definition.EcuDataConvertor; import com.romraider.logger.ecu.definition.LoggerData; +import static java.awt.Color.BLUE; +import static java.awt.Color.GREEN; +import static java.awt.Color.ORANGE; +import static java.awt.Color.RED; +import static java.awt.Font.BOLD; +import static java.awt.Font.PLAIN; import org.jfree.chart.JFreeChart; import org.jfree.chart.plot.dial.DialBackground; import org.jfree.chart.plot.dial.DialCap; @@ -35,14 +41,8 @@ import static org.jfree.ui.GradientPaintTransformType.VERTICAL; import org.jfree.ui.StandardGradientPaintTransformer; import java.awt.BasicStroke; import java.awt.Color; -import static java.awt.Color.BLUE; -import static java.awt.Color.GREEN; -import static java.awt.Color.ORANGE; -import static java.awt.Color.RED; import java.awt.Dimension; import java.awt.Font; -import static java.awt.Font.BOLD; -import static java.awt.Font.PLAIN; import java.awt.GradientPaint; import java.awt.Point; import java.text.DecimalFormat; diff --git a/src/com/romraider/logger/ecu/ui/handler/dash/SmallGaugeStyle.java b/src/com/romraider/logger/ecu/ui/handler/dash/SmallGaugeStyle.java index cdfc9c1a..6dd2c13a 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dash/SmallGaugeStyle.java +++ b/src/com/romraider/logger/ecu/ui/handler/dash/SmallGaugeStyle.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,17 +20,17 @@ package com.romraider.logger.ecu.ui.handler.dash; import com.romraider.logger.ecu.definition.LoggerData; -import javax.swing.JLabel; -import javax.swing.JPanel; -import java.awt.BorderLayout; import static java.awt.BorderLayout.CENTER; import static java.awt.BorderLayout.NORTH; import static java.awt.BorderLayout.SOUTH; import static java.awt.Color.BLACK; import static java.awt.Color.WHITE; +import static java.awt.Font.PLAIN; +import javax.swing.JLabel; +import javax.swing.JPanel; +import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.FlowLayout; -import static java.awt.Font.PLAIN; public final class SmallGaugeStyle extends PlainGaugeStyle { public SmallGaugeStyle(LoggerData loggerData) { diff --git a/src/com/romraider/logger/ecu/ui/handler/dyno/DynoUpdateHandler.java b/src/com/romraider/logger/ecu/ui/handler/dyno/DynoUpdateHandler.java index c251c53b..6bd876af 100644 --- a/src/com/romraider/logger/ecu/ui/handler/dyno/DynoUpdateHandler.java +++ b/src/com/romraider/logger/ecu/ui/handler/dyno/DynoUpdateHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/file/FileLogger.java b/src/com/romraider/logger/ecu/ui/handler/file/FileLogger.java index ef6ade42..53b72230 100644 --- a/src/com/romraider/logger/ecu/ui/handler/file/FileLogger.java +++ b/src/com/romraider/logger/ecu/ui/handler/file/FileLogger.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchHandler.java b/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchHandler.java index 0542f675..7d88191c 100644 --- a/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchHandler.java +++ b/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchMonitor.java b/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchMonitor.java index 2c0edbcc..ceca3d4b 100644 --- a/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchMonitor.java +++ b/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchMonitor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchMonitorImpl.java b/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchMonitorImpl.java index d39109b4..8d9cd62a 100644 --- a/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchMonitorImpl.java +++ b/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerControllerSwitchMonitorImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerImpl.java b/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerImpl.java index 9f517d94..17c176fd 100644 --- a/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerImpl.java +++ b/src/com/romraider/logger/ecu/ui/handler/file/FileLoggerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/file/FileUpdateHandler.java b/src/com/romraider/logger/ecu/ui/handler/file/FileUpdateHandler.java index 275c9ce4..1aca90a7 100644 --- a/src/com/romraider/logger/ecu/ui/handler/file/FileUpdateHandler.java +++ b/src/com/romraider/logger/ecu/ui/handler/file/FileUpdateHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/file/FileUpdateHandlerImpl.java b/src/com/romraider/logger/ecu/ui/handler/file/FileUpdateHandlerImpl.java index a4d374a7..0e8ca8d3 100644 --- a/src/com/romraider/logger/ecu/ui/handler/file/FileUpdateHandlerImpl.java +++ b/src/com/romraider/logger/ecu/ui/handler/file/FileUpdateHandlerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,9 +26,9 @@ import com.romraider.logger.ecu.definition.LoggerData; import com.romraider.logger.ecu.ui.MessageListener; import com.romraider.logger.ecu.ui.StatusChangeListener; import static com.romraider.util.ParamChecker.checkNotNull; -import java.util.ArrayList; import static java.util.Collections.synchronizedList; import static java.util.Collections.synchronizedMap; +import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; diff --git a/src/com/romraider/logger/ecu/ui/handler/graph/GraphUpdateHandler.java b/src/com/romraider/logger/ecu/ui/handler/graph/GraphUpdateHandler.java index 37b66ea9..d9d7b9c2 100644 --- a/src/com/romraider/logger/ecu/ui/handler/graph/GraphUpdateHandler.java +++ b/src/com/romraider/logger/ecu/ui/handler/graph/GraphUpdateHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,6 +24,13 @@ import com.romraider.logger.ecu.definition.ConvertorUpdateListener; import com.romraider.logger.ecu.definition.LoggerData; import com.romraider.logger.ecu.ui.handler.DataUpdateHandler; import static com.romraider.logger.ecu.ui.handler.graph.SpringUtilities.makeCompactGrid; +import static java.awt.BorderLayout.CENTER; +import static java.awt.BorderLayout.NORTH; +import static java.awt.Color.BLACK; +import static java.awt.Color.WHITE; +import static java.util.Collections.synchronizedMap; +import static javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW; +import static javax.swing.KeyStroke.getKeyStroke; import org.jfree.chart.ChartFactory; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; @@ -36,21 +43,14 @@ import org.jfree.data.xy.XYSeries; import org.jfree.data.xy.XYSeriesCollection; import javax.swing.AbstractAction; import javax.swing.JCheckBox; -import static javax.swing.JComponent.WHEN_IN_FOCUSED_WINDOW; import javax.swing.JPanel; import javax.swing.JToggleButton; -import static javax.swing.KeyStroke.getKeyStroke; import javax.swing.SpringLayout; import javax.swing.SwingUtilities; -import static java.awt.BorderLayout.CENTER; -import static java.awt.BorderLayout.NORTH; import java.awt.Color; -import static java.awt.Color.BLACK; -import static java.awt.Color.WHITE; import java.awt.Dimension; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; -import static java.util.Collections.synchronizedMap; import java.util.HashMap; import java.util.Map; diff --git a/src/com/romraider/logger/ecu/ui/handler/graph/SpringUtilities.java b/src/com/romraider/logger/ecu/ui/handler/graph/SpringUtilities.java index d9bf0310..d78fe88a 100644 --- a/src/com/romraider/logger/ecu/ui/handler/graph/SpringUtilities.java +++ b/src/com/romraider/logger/ecu/ui/handler/graph/SpringUtilities.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -141,6 +141,7 @@ public class SpringUtilities { } /* Used by makeCompactGrid. */ + private static SpringLayout.Constraints getConstraintsForCell( int row, int col, Container parent, diff --git a/src/com/romraider/logger/ecu/ui/handler/injector/InjectorUpdateHandler.java b/src/com/romraider/logger/ecu/ui/handler/injector/InjectorUpdateHandler.java index 62a690ac..9cdc9b8f 100644 --- a/src/com/romraider/logger/ecu/ui/handler/injector/InjectorUpdateHandler.java +++ b/src/com/romraider/logger/ecu/ui/handler/injector/InjectorUpdateHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,10 +23,10 @@ import com.romraider.logger.ecu.comms.query.Response; import com.romraider.logger.ecu.definition.LoggerData; import com.romraider.logger.ecu.ui.handler.DataUpdateHandler; import com.romraider.logger.ecu.ui.tab.injector.InjectorTab; -import org.apache.log4j.Logger; -import javax.swing.SwingUtilities; import static java.lang.Math.abs; import static java.lang.System.currentTimeMillis; +import org.apache.log4j.Logger; +import javax.swing.SwingUtilities; import java.util.Set; public final class InjectorUpdateHandler implements DataUpdateHandler { diff --git a/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataRow.java b/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataRow.java index 51d8fc13..6abb9c6a 100644 --- a/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataRow.java +++ b/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataRow.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataTableModel.java b/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataTableModel.java index 2767d076..94a7d6c5 100644 --- a/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataTableModel.java +++ b/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataTableModel.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,9 +20,9 @@ package com.romraider.logger.ecu.ui.handler.livedata; import com.romraider.logger.ecu.definition.LoggerData; -import javax.swing.table.AbstractTableModel; import static java.util.Collections.synchronizedList; import static java.util.Collections.synchronizedMap; +import javax.swing.table.AbstractTableModel; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; diff --git a/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataUpdateHandler.java b/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataUpdateHandler.java index 367f651e..c6d85f2d 100644 --- a/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataUpdateHandler.java +++ b/src/com/romraider/logger/ecu/ui/handler/livedata/LiveDataUpdateHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/handler/maf/MafUpdateHandler.java b/src/com/romraider/logger/ecu/ui/handler/maf/MafUpdateHandler.java index d8779ebc..c5462aa0 100644 --- a/src/com/romraider/logger/ecu/ui/handler/maf/MafUpdateHandler.java +++ b/src/com/romraider/logger/ecu/ui/handler/maf/MafUpdateHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,11 +23,11 @@ import com.romraider.logger.ecu.comms.query.Response; import com.romraider.logger.ecu.definition.LoggerData; import com.romraider.logger.ecu.ui.handler.DataUpdateHandler; import com.romraider.logger.ecu.ui.tab.maf.MafTab; +import static java.lang.Math.abs; +import static java.lang.System.currentTimeMillis; import org.apache.log4j.Logger; import static org.apache.log4j.Logger.getLogger; import javax.swing.SwingUtilities; -import static java.lang.Math.abs; -import static java.lang.System.currentTimeMillis; import java.util.Set; public final class MafUpdateHandler implements DataUpdateHandler { diff --git a/src/com/romraider/logger/ecu/ui/handler/table/TableUpdateHandler.java b/src/com/romraider/logger/ecu/ui/handler/table/TableUpdateHandler.java index ea397516..e68dda2a 100644 --- a/src/com/romraider/logger/ecu/ui/handler/table/TableUpdateHandler.java +++ b/src/com/romraider/logger/ecu/ui/handler/table/TableUpdateHandler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,8 +26,8 @@ import com.romraider.maps.Table; import com.romraider.maps.Table2D; import com.romraider.maps.Table3D; import static com.romraider.util.ParamChecker.isNullOrEmpty; -import java.util.ArrayList; import static java.util.Collections.synchronizedMap; +import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; diff --git a/src/com/romraider/logger/ecu/ui/paramlist/ParameterListTable.java b/src/com/romraider/logger/ecu/ui/paramlist/ParameterListTable.java index bdee1ea1..ecbc9be1 100644 --- a/src/com/romraider/logger/ecu/ui/paramlist/ParameterListTable.java +++ b/src/com/romraider/logger/ecu/ui/paramlist/ParameterListTable.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/paramlist/ParameterListTableModel.java b/src/com/romraider/logger/ecu/ui/paramlist/ParameterListTableModel.java index 7f6a56d7..7f2ceda4 100644 --- a/src/com/romraider/logger/ecu/ui/paramlist/ParameterListTableModel.java +++ b/src/com/romraider/logger/ecu/ui/paramlist/ParameterListTableModel.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,10 +21,10 @@ package com.romraider.logger.ecu.ui.paramlist; import com.romraider.logger.ecu.definition.LoggerData; import com.romraider.logger.ecu.ui.DataRegistrationBroker; -import javax.swing.table.AbstractTableModel; -import java.util.ArrayList; import static java.util.Collections.synchronizedList; import static java.util.Collections.synchronizedMap; +import javax.swing.table.AbstractTableModel; +import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.LinkedList; import java.util.List; diff --git a/src/com/romraider/logger/ecu/ui/paramlist/ParameterRow.java b/src/com/romraider/logger/ecu/ui/paramlist/ParameterRow.java index 427467b2..3f5382f6 100644 --- a/src/com/romraider/logger/ecu/ui/paramlist/ParameterRow.java +++ b/src/com/romraider/logger/ecu/ui/paramlist/ParameterRow.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/paramlist/UnitsComboBoxEditor.java b/src/com/romraider/logger/ecu/ui/paramlist/UnitsComboBoxEditor.java index 7d878601..6adf27d1 100644 --- a/src/com/romraider/logger/ecu/ui/paramlist/UnitsComboBoxEditor.java +++ b/src/com/romraider/logger/ecu/ui/paramlist/UnitsComboBoxEditor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/paramlist/UnitsComboBoxRenderer.java b/src/com/romraider/logger/ecu/ui/paramlist/UnitsComboBoxRenderer.java index e99fa4cd..e1929b71 100644 --- a/src/com/romraider/logger/ecu/ui/paramlist/UnitsComboBoxRenderer.java +++ b/src/com/romraider/logger/ecu/ui/paramlist/UnitsComboBoxRenderer.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/playback/PlaybackManager.java b/src/com/romraider/logger/ecu/ui/playback/PlaybackManager.java index 1ca68c7a..f41ff9fa 100644 --- a/src/com/romraider/logger/ecu/ui/playback/PlaybackManager.java +++ b/src/com/romraider/logger/ecu/ui/playback/PlaybackManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/playback/PlaybackManagerImpl.java b/src/com/romraider/logger/ecu/ui/playback/PlaybackManagerImpl.java index 784df8c0..fb8a557d 100644 --- a/src/com/romraider/logger/ecu/ui/playback/PlaybackManagerImpl.java +++ b/src/com/romraider/logger/ecu/ui/playback/PlaybackManagerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/swing/layout/BetterFlowLayout.java b/src/com/romraider/logger/ecu/ui/swing/layout/BetterFlowLayout.java index a7682f66..8ce1ecfe 100644 --- a/src/com/romraider/logger/ecu/ui/swing/layout/BetterFlowLayout.java +++ b/src/com/romraider/logger/ecu/ui/swing/layout/BetterFlowLayout.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/EcuLoggerMenuBar.java b/src/com/romraider/logger/ecu/ui/swing/menubar/EcuLoggerMenuBar.java index e5f7140a..b398c9c5 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/EcuLoggerMenuBar.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/EcuLoggerMenuBar.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,11 +39,6 @@ import com.romraider.swing.menubar.Menu; import com.romraider.swing.menubar.MenuItem; import com.romraider.swing.menubar.RadioButtonMenuItem; import com.romraider.swing.menubar.action.AboutAction; -import javax.swing.Action; -import javax.swing.JMenu; -import javax.swing.JMenuBar; -import javax.swing.JSeparator; -import static javax.swing.KeyStroke.getKeyStroke; import static java.awt.event.KeyEvent.CTRL_MASK; import static java.awt.event.KeyEvent.SHIFT_MASK; import static java.awt.event.KeyEvent.VK_A; @@ -60,6 +55,11 @@ import static java.awt.event.KeyEvent.VK_S; import static java.awt.event.KeyEvent.VK_T; import static java.awt.event.KeyEvent.VK_U; import static java.awt.event.KeyEvent.VK_X; +import static javax.swing.KeyStroke.getKeyStroke; +import javax.swing.Action; +import javax.swing.JMenu; +import javax.swing.JMenuBar; +import javax.swing.JSeparator; import java.util.List; public class EcuLoggerMenuBar extends JMenuBar { diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/DisconnectAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/DisconnectAction.java index c2cd98f6..be63b92f 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/DisconnectAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/DisconnectAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,6 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; import com.romraider.swing.menubar.action.AbstractAction; - import java.awt.event.ActionEvent; public final class DisconnectAction extends AbstractAction { diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/ExitAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/ExitAction.java index a100bc9c..b87b6697 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/ExitAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/ExitAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,6 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; import com.romraider.swing.menubar.action.AbstractAction; - import java.awt.event.ActionEvent; public final class ExitAction extends AbstractAction { diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/GenericPluginMenuAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/GenericPluginMenuAction.java index 6771cec1..a8ce1fa6 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/GenericPluginMenuAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/GenericPluginMenuAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,7 +24,6 @@ import com.romraider.io.serial.port.SerialPortDiscovererImpl; import com.romraider.logger.ecu.EcuLogger; import com.romraider.logger.ecu.external.ExternalDataSource; import com.romraider.swing.menubar.action.AbstractAction; - import gnu.io.CommPortIdentifier; import static javax.swing.JOptionPane.QUESTION_MESSAGE; import static javax.swing.JOptionPane.showInputDialog; diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/LoadProfileAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/LoadProfileAction.java index f4b0804d..869b52aa 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/LoadProfileAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/LoadProfileAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,10 +20,9 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; -import com.romraider.swing.menubar.action.AbstractAction; - import static com.romraider.logger.ecu.ui.swing.menubar.util.FileHelper.getFile; import static com.romraider.logger.ecu.ui.swing.menubar.util.FileHelper.getProfileFileChooser; +import com.romraider.swing.menubar.action.AbstractAction; import javax.swing.JFileChooser; import java.awt.event.ActionEvent; import java.io.File; diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileAbsoluteTimestampAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileAbsoluteTimestampAction.java index d66e106c..de0110f0 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileAbsoluteTimestampAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileAbsoluteTimestampAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,6 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; import com.romraider.swing.menubar.action.AbstractAction; - import java.awt.event.ActionEvent; public final class LogFileAbsoluteTimestampAction extends AbstractAction { diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileControllerSwitchAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileControllerSwitchAction.java index 971f5cf7..685c535e 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileControllerSwitchAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileControllerSwitchAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,6 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; import com.romraider.swing.menubar.action.AbstractAction; - import java.awt.event.ActionEvent; public final class LogFileControllerSwitchAction extends AbstractAction { diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileLocationAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileLocationAction.java index 390a1154..35236072 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileLocationAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/LogFileLocationAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,12 +20,11 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; -import com.romraider.swing.menubar.action.AbstractAction; - import static com.romraider.logger.ecu.ui.swing.menubar.util.FileHelper.getFile; import static com.romraider.logger.ecu.ui.swing.menubar.util.FileHelper.getLoggerOutputDirFileChooser; -import javax.swing.JFileChooser; +import com.romraider.swing.menubar.action.AbstractAction; import static javax.swing.JFileChooser.APPROVE_OPTION; +import javax.swing.JFileChooser; import java.awt.event.ActionEvent; import java.io.File; diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/LoggerDefinitionLocationAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/LoggerDefinitionLocationAction.java index 0c1b95f2..04abf91a 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/LoggerDefinitionLocationAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/LoggerDefinitionLocationAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,12 +20,11 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; -import com.romraider.swing.menubar.action.AbstractAction; - import static com.romraider.logger.ecu.ui.swing.menubar.util.FileHelper.getDefinitionFileChooser; import static com.romraider.logger.ecu.ui.swing.menubar.util.FileHelper.getFile; -import javax.swing.JFileChooser; +import com.romraider.swing.menubar.action.AbstractAction; import static javax.swing.JFileChooser.APPROVE_OPTION; +import javax.swing.JFileChooser; import java.awt.event.ActionEvent; import java.io.File; diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/ReloadProfileAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/ReloadProfileAction.java index f5f0dacd..2f4a5fed 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/ReloadProfileAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/ReloadProfileAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,6 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; import com.romraider.swing.menubar.action.AbstractAction; - import java.awt.event.ActionEvent; public final class ReloadProfileAction extends AbstractAction { diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/ResetConnectionAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/ResetConnectionAction.java index d331b42b..2105027b 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/ResetConnectionAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/ResetConnectionAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,6 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; import com.romraider.swing.menubar.action.AbstractAction; - import java.awt.event.ActionEvent; public final class ResetConnectionAction extends AbstractAction { diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/ResetEcuAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/ResetEcuAction.java index 74a40f79..109d3969 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/ResetEcuAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/ResetEcuAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,6 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; import com.romraider.swing.menubar.action.AbstractAction; - import static javax.swing.JOptionPane.ERROR_MESSAGE; import static javax.swing.JOptionPane.INFORMATION_MESSAGE; import static javax.swing.JOptionPane.OK_OPTION; diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/SaveProfileAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/SaveProfileAction.java index 8c7468a3..ee88b760 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/SaveProfileAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/SaveProfileAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,9 +20,8 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; -import com.romraider.swing.menubar.action.AbstractAction; - import static com.romraider.logger.ecu.ui.swing.menubar.util.FileHelper.saveProfileToFile; +import com.romraider.swing.menubar.action.AbstractAction; import java.awt.event.ActionEvent; import java.io.File; diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/SaveProfileAsAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/SaveProfileAsAction.java index 2b1a4998..af9776bd 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/SaveProfileAsAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/SaveProfileAsAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,15 +20,14 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; -import com.romraider.swing.menubar.action.AbstractAction; - import static com.romraider.logger.ecu.ui.swing.menubar.util.FileHelper.getFile; import static com.romraider.logger.ecu.ui.swing.menubar.util.FileHelper.getProfileFileChooser; import static com.romraider.logger.ecu.ui.swing.menubar.util.FileHelper.saveProfileToFile; -import javax.swing.JFileChooser; +import com.romraider.swing.menubar.action.AbstractAction; import static javax.swing.JFileChooser.APPROVE_OPTION; import static javax.swing.JOptionPane.OK_OPTION; import static javax.swing.JOptionPane.showConfirmDialog; +import javax.swing.JFileChooser; import java.awt.event.ActionEvent; import java.io.File; diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/ToggleButtonAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/ToggleButtonAction.java index d23719b2..a12c9347 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/ToggleButtonAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/ToggleButtonAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,7 +21,6 @@ package com.romraider.logger.ecu.ui.swing.menubar.action; import com.romraider.logger.ecu.EcuLogger; import com.romraider.swing.menubar.action.AbstractAction; - import javax.swing.JToggleButton; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/action/UpdateLoggerDefAction.java b/src/com/romraider/logger/ecu/ui/swing/menubar/action/UpdateLoggerDefAction.java index d0eaeb3c..6efc45ba 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/action/UpdateLoggerDefAction.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/action/UpdateLoggerDefAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,6 @@ import static com.centerkey.utils.BareBonesBrowserLaunch.openURL; import static com.romraider.Version.LOGGER_DEFS_URL; import com.romraider.logger.ecu.EcuLogger; import com.romraider.swing.menubar.action.AbstractAction; - import java.awt.event.ActionEvent; public final class UpdateLoggerDefAction extends AbstractAction { diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/util/FileHelper.java b/src/com/romraider/logger/ecu/ui/swing/menubar/util/FileHelper.java index 64406042..3a26a581 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/util/FileHelper.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/util/FileHelper.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,8 +22,8 @@ package com.romraider.logger.ecu.ui.swing.menubar.util; import com.romraider.logger.ecu.profile.UserProfile; import com.romraider.swing.GenericFileFilter; import static com.romraider.util.ParamChecker.isNullOrEmpty; -import javax.swing.JFileChooser; import static javax.swing.JFileChooser.DIRECTORIES_ONLY; +import javax.swing.JFileChooser; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; diff --git a/src/com/romraider/logger/ecu/ui/swing/menubar/util/SelectionStateAdaptor.java b/src/com/romraider/logger/ecu/ui/swing/menubar/util/SelectionStateAdaptor.java index 2ffc506e..9d433505 100644 --- a/src/com/romraider/logger/ecu/ui/swing/menubar/util/SelectionStateAdaptor.java +++ b/src/com/romraider/logger/ecu/ui/swing/menubar/util/SelectionStateAdaptor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,7 +20,6 @@ package com.romraider.logger.ecu.ui.swing.menubar.util; import static com.romraider.swing.menubar.action.AbstractAction.SELECTED_KEY; - import javax.swing.AbstractButton; import javax.swing.Action; import java.awt.event.ItemEvent; diff --git a/src/com/romraider/logger/ecu/ui/swing/vertical/VerticalLabelUI.java b/src/com/romraider/logger/ecu/ui/swing/vertical/VerticalLabelUI.java index f3b4bc36..21e9662e 100644 --- a/src/com/romraider/logger/ecu/ui/swing/vertical/VerticalLabelUI.java +++ b/src/com/romraider/logger/ecu/ui/swing/vertical/VerticalLabelUI.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/swing/vertical/VerticalTextIcon.java b/src/com/romraider/logger/ecu/ui/swing/vertical/VerticalTextIcon.java index 022efa7b..946e7442 100644 --- a/src/com/romraider/logger/ecu/ui/swing/vertical/VerticalTextIcon.java +++ b/src/com/romraider/logger/ecu/ui/swing/vertical/VerticalTextIcon.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/tab/CircleDrawer.java b/src/com/romraider/logger/ecu/ui/tab/CircleDrawer.java index 22c0c5fa..3fe6784c 100644 --- a/src/com/romraider/logger/ecu/ui/tab/CircleDrawer.java +++ b/src/com/romraider/logger/ecu/ui/tab/CircleDrawer.java @@ -1,40 +1,20 @@ -/* =========================================================== - * JFreeChart : a free chart library for the Java(tm) platform - * =========================================================== +/* + * RomRaider Open-Source Tuning, Logging and Reflashing + * Copyright (C) 2006-2010 RomRaider.com * - * (C) Copyright 2000-2004, by Object Refinery Limited and Contributors. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * - * Project Info: http://www.jfree.org/jfreechart/index.html - * - * This library is free software; you can redistribute it and/or modify it under the terms - * of the GNU Lesser General Public License as published by the Free Software Foundation; - * either version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; - * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License along with this - * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. - * - * [Java is a trademark or registered trademark of Sun Microsystems, Inc. - * in the United States and other countries.] - * - * ----------------- - * CircleDrawer.java - * ----------------- - * (C) Copyright 2003, 2004, by Object Refinery Limited and Contributors. - * - * Original Author: David Gilbert (for Object Refinery Limited); - * Contributor(s): -; - * - * $Id: CircleDrawer.java,v 1.1 2005/04/28 16:29:17 harrym_nu Exp $ - * - * Changes - * ------- - * 21-May-2003 : Version 1 (DG); + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ package com.romraider.logger.ecu.ui.tab; diff --git a/src/com/romraider/logger/ecu/ui/tab/DynoChartPanel.java b/src/com/romraider/logger/ecu/ui/tab/DynoChartPanel.java index c90259ed..ea626cdb 100644 --- a/src/com/romraider/logger/ecu/ui/tab/DynoChartPanel.java +++ b/src/com/romraider/logger/ecu/ui/tab/DynoChartPanel.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/tab/LoggerChartPanel.java b/src/com/romraider/logger/ecu/ui/tab/LoggerChartPanel.java index 508d323b..58f4f6ff 100644 --- a/src/com/romraider/logger/ecu/ui/tab/LoggerChartPanel.java +++ b/src/com/romraider/logger/ecu/ui/tab/LoggerChartPanel.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,6 +22,11 @@ package com.romraider.logger.ecu.ui.tab; import com.romraider.logger.ecu.ui.handler.graph.SpringUtilities; import static com.romraider.util.ParamChecker.checkNotNull; import jamlab.Polyfit; +import static java.awt.Color.BLACK; +import static java.awt.Color.BLUE; +import static java.awt.Color.GREEN; +import static java.awt.Color.RED; +import static java.awt.Color.WHITE; import static org.jfree.chart.ChartFactory.createScatterPlot; import org.jfree.chart.ChartPanel; import org.jfree.chart.JFreeChart; @@ -36,11 +41,6 @@ import org.jfree.data.xy.XYSeriesCollection; import javax.swing.JPanel; import javax.swing.SpringLayout; import java.awt.Color; -import static java.awt.Color.BLACK; -import static java.awt.Color.BLUE; -import static java.awt.Color.GREEN; -import static java.awt.Color.RED; -import static java.awt.Color.WHITE; import java.awt.Dimension; public final class LoggerChartPanel extends JPanel { diff --git a/src/com/romraider/logger/ecu/ui/tab/Tab.java b/src/com/romraider/logger/ecu/ui/tab/Tab.java index 63bfd16e..4474a727 100644 --- a/src/com/romraider/logger/ecu/ui/tab/Tab.java +++ b/src/com/romraider/logger/ecu/ui/tab/Tab.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/tab/TableFinder.java b/src/com/romraider/logger/ecu/ui/tab/TableFinder.java index f457ed55..971dd84d 100644 --- a/src/com/romraider/logger/ecu/ui/tab/TableFinder.java +++ b/src/com/romraider/logger/ecu/ui/tab/TableFinder.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/tab/XYTrendline.java b/src/com/romraider/logger/ecu/ui/tab/XYTrendline.java index ed712a39..e3ef5698 100644 --- a/src/com/romraider/logger/ecu/ui/tab/XYTrendline.java +++ b/src/com/romraider/logger/ecu/ui/tab/XYTrendline.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/tab/dyno/DynoControlPanel.java b/src/com/romraider/logger/ecu/ui/tab/dyno/DynoControlPanel.java index da270309..fccb51cf 100644 --- a/src/com/romraider/logger/ecu/ui/tab/dyno/DynoControlPanel.java +++ b/src/com/romraider/logger/ecu/ui/tab/dyno/DynoControlPanel.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/tab/dyno/DynoTab.java b/src/com/romraider/logger/ecu/ui/tab/dyno/DynoTab.java index ed179f76..229a3e31 100644 --- a/src/com/romraider/logger/ecu/ui/tab/dyno/DynoTab.java +++ b/src/com/romraider/logger/ecu/ui/tab/dyno/DynoTab.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/tab/dyno/DynoTabImpl.java b/src/com/romraider/logger/ecu/ui/tab/dyno/DynoTabImpl.java index 3b05212a..ec0f4bdc 100644 --- a/src/com/romraider/logger/ecu/ui/tab/dyno/DynoTabImpl.java +++ b/src/com/romraider/logger/ecu/ui/tab/dyno/DynoTabImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/tab/injector/InjectorControlPanel.java b/src/com/romraider/logger/ecu/ui/tab/injector/InjectorControlPanel.java index a8463643..e8f96f62 100644 --- a/src/com/romraider/logger/ecu/ui/tab/injector/InjectorControlPanel.java +++ b/src/com/romraider/logger/ecu/ui/tab/injector/InjectorControlPanel.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,25 +32,25 @@ import com.romraider.maps.Rom; import com.romraider.maps.Table; import com.romraider.maps.Table2D; import static com.romraider.util.ParamChecker.checkNotNull; -import org.apache.log4j.Logger; -import javax.swing.JButton; -import javax.swing.JComponent; -import javax.swing.JLabel; +import static java.awt.GridBagConstraints.CENTER; +import static java.awt.GridBagConstraints.HORIZONTAL; +import static java.awt.GridBagConstraints.NONE; import static javax.swing.JOptionPane.ERROR_MESSAGE; import static javax.swing.JOptionPane.OK_OPTION; import static javax.swing.JOptionPane.WARNING_MESSAGE; import static javax.swing.JOptionPane.YES_NO_OPTION; import static javax.swing.JOptionPane.showConfirmDialog; import static javax.swing.JOptionPane.showMessageDialog; +import org.apache.log4j.Logger; +import javax.swing.JButton; +import javax.swing.JComponent; +import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.JToggleButton; import javax.swing.border.TitledBorder; import java.awt.Component; import java.awt.GridBagConstraints; -import static java.awt.GridBagConstraints.CENTER; -import static java.awt.GridBagConstraints.HORIZONTAL; -import static java.awt.GridBagConstraints.NONE; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; diff --git a/src/com/romraider/logger/ecu/ui/tab/injector/InjectorTab.java b/src/com/romraider/logger/ecu/ui/tab/injector/InjectorTab.java index c82e31bd..50dc66bc 100644 --- a/src/com/romraider/logger/ecu/ui/tab/injector/InjectorTab.java +++ b/src/com/romraider/logger/ecu/ui/tab/injector/InjectorTab.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/tab/injector/InjectorTabImpl.java b/src/com/romraider/logger/ecu/ui/tab/injector/InjectorTabImpl.java index 768f8033..6e4ca1ed 100644 --- a/src/com/romraider/logger/ecu/ui/tab/injector/InjectorTabImpl.java +++ b/src/com/romraider/logger/ecu/ui/tab/injector/InjectorTabImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,13 +25,13 @@ import com.romraider.logger.ecu.definition.EcuSwitch; import com.romraider.logger.ecu.definition.ExternalData; import com.romraider.logger.ecu.ui.DataRegistrationBroker; import com.romraider.logger.ecu.ui.tab.LoggerChartPanel; -import javax.swing.JPanel; -import javax.swing.JScrollPane; -import static javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER; -import static javax.swing.JScrollPane.VERTICAL_SCROLLBAR_ALWAYS; -import java.awt.BorderLayout; import static java.awt.BorderLayout.CENTER; import static java.awt.BorderLayout.WEST; +import static javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER; +import static javax.swing.JScrollPane.VERTICAL_SCROLLBAR_ALWAYS; +import javax.swing.JPanel; +import javax.swing.JScrollPane; +import java.awt.BorderLayout; import java.util.List; public final class InjectorTabImpl extends JPanel implements InjectorTab { diff --git a/src/com/romraider/logger/ecu/ui/tab/maf/MafControlPanel.java b/src/com/romraider/logger/ecu/ui/tab/maf/MafControlPanel.java index 4c19b46c..660dfc8e 100644 --- a/src/com/romraider/logger/ecu/ui/tab/maf/MafControlPanel.java +++ b/src/com/romraider/logger/ecu/ui/tab/maf/MafControlPanel.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,27 +32,27 @@ import com.romraider.maps.Rom; import com.romraider.maps.Table; import com.romraider.maps.Table2D; import static com.romraider.util.ParamChecker.checkNotNull; -import org.apache.log4j.Logger; -import org.jfree.ui.KeyedComboBoxModel; -import javax.swing.JButton; -import javax.swing.JComboBox; -import javax.swing.JComponent; -import javax.swing.JLabel; +import static java.awt.GridBagConstraints.CENTER; +import static java.awt.GridBagConstraints.HORIZONTAL; +import static java.awt.GridBagConstraints.NONE; import static javax.swing.JOptionPane.ERROR_MESSAGE; import static javax.swing.JOptionPane.OK_OPTION; import static javax.swing.JOptionPane.WARNING_MESSAGE; import static javax.swing.JOptionPane.YES_NO_OPTION; import static javax.swing.JOptionPane.showConfirmDialog; import static javax.swing.JOptionPane.showMessageDialog; +import org.apache.log4j.Logger; +import org.jfree.ui.KeyedComboBoxModel; +import javax.swing.JButton; +import javax.swing.JComboBox; +import javax.swing.JComponent; +import javax.swing.JLabel; import javax.swing.JPanel; import javax.swing.JTextField; import javax.swing.JToggleButton; import javax.swing.border.TitledBorder; import java.awt.Component; import java.awt.GridBagConstraints; -import static java.awt.GridBagConstraints.CENTER; -import static java.awt.GridBagConstraints.HORIZONTAL; -import static java.awt.GridBagConstraints.NONE; import java.awt.GridBagLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; diff --git a/src/com/romraider/logger/ecu/ui/tab/maf/MafTab.java b/src/com/romraider/logger/ecu/ui/tab/maf/MafTab.java index 010d6cc5..15320a0f 100644 --- a/src/com/romraider/logger/ecu/ui/tab/maf/MafTab.java +++ b/src/com/romraider/logger/ecu/ui/tab/maf/MafTab.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/ecu/ui/tab/maf/MafTabImpl.java b/src/com/romraider/logger/ecu/ui/tab/maf/MafTabImpl.java index 5f295d08..5827217f 100644 --- a/src/com/romraider/logger/ecu/ui/tab/maf/MafTabImpl.java +++ b/src/com/romraider/logger/ecu/ui/tab/maf/MafTabImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,13 +25,13 @@ import com.romraider.logger.ecu.definition.EcuSwitch; import com.romraider.logger.ecu.definition.ExternalData; import com.romraider.logger.ecu.ui.DataRegistrationBroker; import com.romraider.logger.ecu.ui.tab.LoggerChartPanel; -import javax.swing.JPanel; -import javax.swing.JScrollPane; -import static javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER; -import static javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS; -import java.awt.BorderLayout; import static java.awt.BorderLayout.CENTER; import static java.awt.BorderLayout.WEST; +import static javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER; +import static javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS; +import javax.swing.JPanel; +import javax.swing.JScrollPane; +import java.awt.BorderLayout; import java.util.List; public final class MafTabImpl extends JPanel implements MafTab { diff --git a/src/com/romraider/logger/fourteenpoint7/io/NawConnection.java b/src/com/romraider/logger/fourteenpoint7/io/NawConnection.java index c4634eaa..f1e8a02a 100644 --- a/src/com/romraider/logger/fourteenpoint7/io/NawConnection.java +++ b/src/com/romraider/logger/fourteenpoint7/io/NawConnection.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/fourteenpoint7/io/NawConnectionImpl.java b/src/com/romraider/logger/fourteenpoint7/io/NawConnectionImpl.java index 84457652..179b2039 100644 --- a/src/com/romraider/logger/fourteenpoint7/io/NawConnectionImpl.java +++ b/src/com/romraider/logger/fourteenpoint7/io/NawConnectionImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/fourteenpoint7/io/NawConnectionProperties.java b/src/com/romraider/logger/fourteenpoint7/io/NawConnectionProperties.java index 6700520b..69379163 100644 --- a/src/com/romraider/logger/fourteenpoint7/io/NawConnectionProperties.java +++ b/src/com/romraider/logger/fourteenpoint7/io/NawConnectionProperties.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/fourteenpoint7/io/NawRunner.java b/src/com/romraider/logger/fourteenpoint7/io/NawRunner.java index c42eec21..b295a363 100644 --- a/src/com/romraider/logger/fourteenpoint7/io/NawRunner.java +++ b/src/com/romraider/logger/fourteenpoint7/io/NawRunner.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/fourteenpoint7/io/NawRunnerImpl.java b/src/com/romraider/logger/fourteenpoint7/io/NawRunnerImpl.java index d9d01745..f6471a0a 100644 --- a/src/com/romraider/logger/fourteenpoint7/io/NawRunnerImpl.java +++ b/src/com/romraider/logger/fourteenpoint7/io/NawRunnerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/fourteenpoint7/plugin/NawConvertor.java b/src/com/romraider/logger/fourteenpoint7/plugin/NawConvertor.java index 36d87e08..7d40cdbe 100644 --- a/src/com/romraider/logger/fourteenpoint7/plugin/NawConvertor.java +++ b/src/com/romraider/logger/fourteenpoint7/plugin/NawConvertor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/fourteenpoint7/plugin/NawConvertorImpl.java b/src/com/romraider/logger/fourteenpoint7/plugin/NawConvertorImpl.java index fd78892f..fb6a1298 100644 --- a/src/com/romraider/logger/fourteenpoint7/plugin/NawConvertorImpl.java +++ b/src/com/romraider/logger/fourteenpoint7/plugin/NawConvertorImpl.java @@ -1,21 +1,21 @@ /* -* RomRaider Open-Source Tuning, Logging and Reflashing -* Copyright (C) 2006-2009 RomRaider.com -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2 of the License, or -* (at your option) any later version. -* -* This program is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License along -* with this program; if not, write to the Free Software Foundation, Inc., -* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ + * RomRaider Open-Source Tuning, Logging and Reflashing + * Copyright (C) 2006-2010 RomRaider.com + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ package com.romraider.logger.fourteenpoint7.plugin; diff --git a/src/com/romraider/logger/fourteenpoint7/plugin/NawDataItem.java b/src/com/romraider/logger/fourteenpoint7/plugin/NawDataItem.java index e8c8345d..cbce7bed 100644 --- a/src/com/romraider/logger/fourteenpoint7/plugin/NawDataItem.java +++ b/src/com/romraider/logger/fourteenpoint7/plugin/NawDataItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/fourteenpoint7/plugin/NawDataListener.java b/src/com/romraider/logger/fourteenpoint7/plugin/NawDataListener.java index 4014a3e4..a674ef79 100644 --- a/src/com/romraider/logger/fourteenpoint7/plugin/NawDataListener.java +++ b/src/com/romraider/logger/fourteenpoint7/plugin/NawDataListener.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/fourteenpoint7/plugin/NawDataSource.java b/src/com/romraider/logger/fourteenpoint7/plugin/NawDataSource.java index 503f0923..40337e71 100644 --- a/src/com/romraider/logger/fourteenpoint7/plugin/NawDataSource.java +++ b/src/com/romraider/logger/fourteenpoint7/plugin/NawDataSource.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/mts/io/MTS.java b/src/com/romraider/logger/innovate/generic/mts/io/MTS.java index dd2ad94d..5247c479 100644 --- a/src/com/romraider/logger/innovate/generic/mts/io/MTS.java +++ b/src/com/romraider/logger/innovate/generic/mts/io/MTS.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/mts/io/MTSEvents.java b/src/com/romraider/logger/innovate/generic/mts/io/MTSEvents.java index 34b84da1..ade0b9b7 100644 --- a/src/com/romraider/logger/innovate/generic/mts/io/MTSEvents.java +++ b/src/com/romraider/logger/innovate/generic/mts/io/MTSEvents.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/mts/io/MTSFactory.java b/src/com/romraider/logger/innovate/generic/mts/io/MTSFactory.java index 0d051900..823b2d19 100644 --- a/src/com/romraider/logger/innovate/generic/mts/io/MTSFactory.java +++ b/src/com/romraider/logger/innovate/generic/mts/io/MTSFactory.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/mts/io/MTSRunner.java b/src/com/romraider/logger/innovate/generic/mts/io/MTSRunner.java index 31b60a0e..946c3721 100644 --- a/src/com/romraider/logger/innovate/generic/mts/io/MTSRunner.java +++ b/src/com/romraider/logger/innovate/generic/mts/io/MTSRunner.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/mts/io/MTSRunnerImpl.java b/src/com/romraider/logger/innovate/generic/mts/io/MTSRunnerImpl.java index 620410b1..e7c06880 100644 --- a/src/com/romraider/logger/innovate/generic/mts/io/MTSRunnerImpl.java +++ b/src/com/romraider/logger/innovate/generic/mts/io/MTSRunnerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/mts/io/Test.java b/src/com/romraider/logger/innovate/generic/mts/io/Test.java index d2ee6adf..2084801d 100644 --- a/src/com/romraider/logger/innovate/generic/mts/io/Test.java +++ b/src/com/romraider/logger/innovate/generic/mts/io/Test.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -137,6 +137,7 @@ public class Test implements MTSEvents { // generated in response to a call to connect() // see the SDK doc for explanation of error codes + public void connectionEvent(int result) { System.out.printf("connectionEvent raised. result = %d\n", result); } diff --git a/src/com/romraider/logger/innovate/generic/mts/plugin/DataListener.java b/src/com/romraider/logger/innovate/generic/mts/plugin/DataListener.java index ceeecaa6..edd9308f 100644 --- a/src/com/romraider/logger/innovate/generic/mts/plugin/DataListener.java +++ b/src/com/romraider/logger/innovate/generic/mts/plugin/DataListener.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/serial/io/InnovateConnectionProperties.java b/src/com/romraider/logger/innovate/generic/serial/io/InnovateConnectionProperties.java index bb879aca..438d452b 100644 --- a/src/com/romraider/logger/innovate/generic/serial/io/InnovateConnectionProperties.java +++ b/src/com/romraider/logger/innovate/generic/serial/io/InnovateConnectionProperties.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/serial/io/InnovateRunner.java b/src/com/romraider/logger/innovate/generic/serial/io/InnovateRunner.java index e5213f0e..dd8b1255 100644 --- a/src/com/romraider/logger/innovate/generic/serial/io/InnovateRunner.java +++ b/src/com/romraider/logger/innovate/generic/serial/io/InnovateRunner.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/serial/io/TestInnovateConnection.java b/src/com/romraider/logger/innovate/generic/serial/io/TestInnovateConnection.java index 7c202ab0..ad786d6e 100644 --- a/src/com/romraider/logger/innovate/generic/serial/io/TestInnovateConnection.java +++ b/src/com/romraider/logger/innovate/generic/serial/io/TestInnovateConnection.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/serial/plugin/DataConvertor.java b/src/com/romraider/logger/innovate/generic/serial/plugin/DataConvertor.java index 0269f425..a883d75e 100644 --- a/src/com/romraider/logger/innovate/generic/serial/plugin/DataConvertor.java +++ b/src/com/romraider/logger/innovate/generic/serial/plugin/DataConvertor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/serial/plugin/InnovateDataItem.java b/src/com/romraider/logger/innovate/generic/serial/plugin/InnovateDataItem.java index db8e2805..0f6d5879 100644 --- a/src/com/romraider/logger/innovate/generic/serial/plugin/InnovateDataItem.java +++ b/src/com/romraider/logger/innovate/generic/serial/plugin/InnovateDataItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/serial/plugin/InnovateDataSource.java b/src/com/romraider/logger/innovate/generic/serial/plugin/InnovateDataSource.java index 92621f8e..8b0b992d 100644 --- a/src/com/romraider/logger/innovate/generic/serial/plugin/InnovateDataSource.java +++ b/src/com/romraider/logger/innovate/generic/serial/plugin/InnovateDataSource.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/generic/serial/plugin/RawDataListener.java b/src/com/romraider/logger/innovate/generic/serial/plugin/RawDataListener.java index d140362e..9f611ce9 100644 --- a/src/com/romraider/logger/innovate/generic/serial/plugin/RawDataListener.java +++ b/src/com/romraider/logger/innovate/generic/serial/plugin/RawDataListener.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsDataItem.java b/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsDataItem.java index 326655da..7ab7ac59 100644 --- a/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsDataItem.java +++ b/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsDataItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsDataSource.java b/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsDataSource.java index cf537c42..76ac75e4 100644 --- a/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsDataSource.java +++ b/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsDataSource.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsPluginMenuAction.java b/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsPluginMenuAction.java index 2321cb96..67a07be8 100644 --- a/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsPluginMenuAction.java +++ b/src/com/romraider/logger/innovate/lm2/mts/plugin/Lm2MtsPluginMenuAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -21,9 +21,9 @@ package com.romraider.logger.innovate.lm2.mts.plugin; import com.romraider.logger.ecu.EcuLogger; import com.romraider.logger.ecu.external.ExternalDataSource; -import com.romraider.swing.menubar.action.AbstractAction; import com.romraider.logger.innovate.generic.mts.io.MTS; import static com.romraider.logger.innovate.generic.mts.io.MTSFactory.createMTS; +import com.romraider.swing.menubar.action.AbstractAction; import static javax.swing.JOptionPane.QUESTION_MESSAGE; import static javax.swing.JOptionPane.showInputDialog; import java.awt.event.ActionEvent; diff --git a/src/com/romraider/logger/plx/io/PlxConnection.java b/src/com/romraider/logger/plx/io/PlxConnection.java index fdecedc4..2ce595ab 100644 --- a/src/com/romraider/logger/plx/io/PlxConnection.java +++ b/src/com/romraider/logger/plx/io/PlxConnection.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/io/PlxConnectionImpl.java b/src/com/romraider/logger/plx/io/PlxConnectionImpl.java index 5f2d4fab..ffb1e3da 100644 --- a/src/com/romraider/logger/plx/io/PlxConnectionImpl.java +++ b/src/com/romraider/logger/plx/io/PlxConnectionImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/io/PlxConnectionProperties.java b/src/com/romraider/logger/plx/io/PlxConnectionProperties.java index e8a05414..ce703c49 100644 --- a/src/com/romraider/logger/plx/io/PlxConnectionProperties.java +++ b/src/com/romraider/logger/plx/io/PlxConnectionProperties.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/io/PlxParser.java b/src/com/romraider/logger/plx/io/PlxParser.java index 2afff140..49a3e8c1 100644 --- a/src/com/romraider/logger/plx/io/PlxParser.java +++ b/src/com/romraider/logger/plx/io/PlxParser.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/io/PlxParserImpl.java b/src/com/romraider/logger/plx/io/PlxParserImpl.java index 83410933..3d697afe 100644 --- a/src/com/romraider/logger/plx/io/PlxParserImpl.java +++ b/src/com/romraider/logger/plx/io/PlxParserImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/io/PlxResponse.java b/src/com/romraider/logger/plx/io/PlxResponse.java index 970c3f36..6f5ffeef 100644 --- a/src/com/romraider/logger/plx/io/PlxResponse.java +++ b/src/com/romraider/logger/plx/io/PlxResponse.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/io/PlxRunner.java b/src/com/romraider/logger/plx/io/PlxRunner.java index be663e73..2f544b62 100644 --- a/src/com/romraider/logger/plx/io/PlxRunner.java +++ b/src/com/romraider/logger/plx/io/PlxRunner.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/io/PlxRunnerImpl.java b/src/com/romraider/logger/plx/io/PlxRunnerImpl.java index 84f5f01d..87f32427 100644 --- a/src/com/romraider/logger/plx/io/PlxRunnerImpl.java +++ b/src/com/romraider/logger/plx/io/PlxRunnerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/io/PlxSensorType.java b/src/com/romraider/logger/plx/io/PlxSensorType.java index dc7696cd..1c99e9ab 100644 --- a/src/com/romraider/logger/plx/io/PlxSensorType.java +++ b/src/com/romraider/logger/plx/io/PlxSensorType.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/io/PlxSensorUnits.java b/src/com/romraider/logger/plx/io/PlxSensorUnits.java index 77bc402d..30bd6b9b 100644 --- a/src/com/romraider/logger/plx/io/PlxSensorUnits.java +++ b/src/com/romraider/logger/plx/io/PlxSensorUnits.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/io/TestPlxConnection.java b/src/com/romraider/logger/plx/io/TestPlxConnection.java index 0eff5fb0..ee2ff7f3 100644 --- a/src/com/romraider/logger/plx/io/TestPlxConnection.java +++ b/src/com/romraider/logger/plx/io/TestPlxConnection.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/plugin/PlxConvertor.java b/src/com/romraider/logger/plx/plugin/PlxConvertor.java index 0fc1fa82..68406f45 100644 --- a/src/com/romraider/logger/plx/plugin/PlxConvertor.java +++ b/src/com/romraider/logger/plx/plugin/PlxConvertor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/plugin/PlxConvertorImpl.java b/src/com/romraider/logger/plx/plugin/PlxConvertorImpl.java index d4b0aa57..42337e74 100644 --- a/src/com/romraider/logger/plx/plugin/PlxConvertorImpl.java +++ b/src/com/romraider/logger/plx/plugin/PlxConvertorImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/plugin/PlxDataItem.java b/src/com/romraider/logger/plx/plugin/PlxDataItem.java index ec0ec6a8..79300356 100644 --- a/src/com/romraider/logger/plx/plugin/PlxDataItem.java +++ b/src/com/romraider/logger/plx/plugin/PlxDataItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/plugin/PlxDataItemImpl.java b/src/com/romraider/logger/plx/plugin/PlxDataItemImpl.java index 02075d1b..8536ef9e 100644 --- a/src/com/romraider/logger/plx/plugin/PlxDataItemImpl.java +++ b/src/com/romraider/logger/plx/plugin/PlxDataItemImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/plx/plugin/PlxDataSource.java b/src/com/romraider/logger/plx/plugin/PlxDataSource.java index 07cf2a76..68fe700e 100644 --- a/src/com/romraider/logger/plx/plugin/PlxDataSource.java +++ b/src/com/romraider/logger/plx/plugin/PlxDataSource.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/io/ZT2Connection.java b/src/com/romraider/logger/zt2/io/ZT2Connection.java index c7dc8d9b..568eaa55 100644 --- a/src/com/romraider/logger/zt2/io/ZT2Connection.java +++ b/src/com/romraider/logger/zt2/io/ZT2Connection.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/io/ZT2ConnectionImpl.java b/src/com/romraider/logger/zt2/io/ZT2ConnectionImpl.java index 8166bf35..ce746506 100644 --- a/src/com/romraider/logger/zt2/io/ZT2ConnectionImpl.java +++ b/src/com/romraider/logger/zt2/io/ZT2ConnectionImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/io/ZT2ConnectionProperties.java b/src/com/romraider/logger/zt2/io/ZT2ConnectionProperties.java index c3aac087..ccef720d 100644 --- a/src/com/romraider/logger/zt2/io/ZT2ConnectionProperties.java +++ b/src/com/romraider/logger/zt2/io/ZT2ConnectionProperties.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/io/ZT2Runner.java b/src/com/romraider/logger/zt2/io/ZT2Runner.java index b8a3ec6a..9bb9040f 100644 --- a/src/com/romraider/logger/zt2/io/ZT2Runner.java +++ b/src/com/romraider/logger/zt2/io/ZT2Runner.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/io/ZT2RunnerImpl.java b/src/com/romraider/logger/zt2/io/ZT2RunnerImpl.java index c12aeba9..8bdf088b 100644 --- a/src/com/romraider/logger/zt2/io/ZT2RunnerImpl.java +++ b/src/com/romraider/logger/zt2/io/ZT2RunnerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/io/ZT2SensorType.java b/src/com/romraider/logger/zt2/io/ZT2SensorType.java index ae65a87c..71dba17a 100644 --- a/src/com/romraider/logger/zt2/io/ZT2SensorType.java +++ b/src/com/romraider/logger/zt2/io/ZT2SensorType.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/plugin/ZT2Converter.java b/src/com/romraider/logger/zt2/plugin/ZT2Converter.java index f5030ab7..ffa0414b 100644 --- a/src/com/romraider/logger/zt2/plugin/ZT2Converter.java +++ b/src/com/romraider/logger/zt2/plugin/ZT2Converter.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/plugin/ZT2ConverterImpl.java b/src/com/romraider/logger/zt2/plugin/ZT2ConverterImpl.java index c12c6f1c..bf9a0c6f 100644 --- a/src/com/romraider/logger/zt2/plugin/ZT2ConverterImpl.java +++ b/src/com/romraider/logger/zt2/plugin/ZT2ConverterImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/plugin/ZT2DataItem.java b/src/com/romraider/logger/zt2/plugin/ZT2DataItem.java index 2a958c19..86116b81 100644 --- a/src/com/romraider/logger/zt2/plugin/ZT2DataItem.java +++ b/src/com/romraider/logger/zt2/plugin/ZT2DataItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/plugin/ZT2DataItemImpl.java b/src/com/romraider/logger/zt2/plugin/ZT2DataItemImpl.java index b39aa380..c37b2594 100644 --- a/src/com/romraider/logger/zt2/plugin/ZT2DataItemImpl.java +++ b/src/com/romraider/logger/zt2/plugin/ZT2DataItemImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/logger/zt2/plugin/ZT2DataSource.java b/src/com/romraider/logger/zt2/plugin/ZT2DataSource.java index e9e6e04a..e5acacaf 100644 --- a/src/com/romraider/logger/zt2/plugin/ZT2DataSource.java +++ b/src/com/romraider/logger/zt2/plugin/ZT2DataSource.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/maps/DataCell.java b/src/com/romraider/maps/DataCell.java index f04a65fb..d1c2aae5 100644 --- a/src/com/romraider/maps/DataCell.java +++ b/src/com/romraider/maps/DataCell.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,20 +20,20 @@ package com.romraider.maps; import com.romraider.util.JEPUtil; -import org.apache.log4j.Logger; -import static javax.swing.BorderFactory.createLineBorder; -import javax.swing.JLabel; -import javax.swing.border.Border; -import java.awt.Color; import static java.awt.Color.BLACK; import static java.awt.Color.BLUE; import static java.awt.Color.RED; +import static java.lang.Math.abs; +import static javax.swing.BorderFactory.createLineBorder; +import org.apache.log4j.Logger; +import javax.swing.JLabel; +import javax.swing.border.Border; +import java.awt.Color; import java.awt.Dimension; import java.awt.Font; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.io.Serializable; -import static java.lang.Math.abs; import java.text.DecimalFormat; public class DataCell extends JLabel implements MouseListener, Serializable { diff --git a/src/com/romraider/maps/Rom.java b/src/com/romraider/maps/Rom.java index 8ef0e96b..c7c942fc 100644 --- a/src/com/romraider/maps/Rom.java +++ b/src/com/romraider/maps/Rom.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/maps/RomID.java b/src/com/romraider/maps/RomID.java index c4e634a8..0da5eea3 100644 --- a/src/com/romraider/maps/RomID.java +++ b/src/com/romraider/maps/RomID.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/maps/Scale.java b/src/com/romraider/maps/Scale.java index a7faf60c..d0b4705a 100644 --- a/src/com/romraider/maps/Scale.java +++ b/src/com/romraider/maps/Scale.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/maps/Table.java b/src/com/romraider/maps/Table.java index 9bb30c43..acc9f2da 100644 --- a/src/com/romraider/maps/Table.java +++ b/src/com/romraider/maps/Table.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,9 +24,9 @@ import com.romraider.swing.TableFrame; import static com.romraider.util.ColorScaler.getScaledColor; import com.romraider.util.JEPUtil; import com.romraider.xml.RomAttributeParser; +import static javax.swing.BorderFactory.createLineBorder; import javax.swing.AbstractAction; import javax.swing.Action; -import static javax.swing.BorderFactory.createLineBorder; import javax.swing.InputMap; import javax.swing.JCheckBox; import javax.swing.JLabel; @@ -51,8 +51,8 @@ import java.util.StringTokenizer; import java.util.Vector; public abstract class Table extends JPanel implements Serializable { - private static final long serialVersionUID = 6559256489995552645L; - private static final String BLANK = ""; + private static final long serialVersionUID = 6559256489995552645L; + private static final String BLANK = ""; public static final int ENDIAN_LITTLE = 1; public static final int ENDIAN_BIG = 2; diff --git a/src/com/romraider/maps/Table1D.java b/src/com/romraider/maps/Table1D.java index 60355295..6ac38f18 100644 --- a/src/com/romraider/maps/Table1D.java +++ b/src/com/romraider/maps/Table1D.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/maps/Table2D.java b/src/com/romraider/maps/Table2D.java index 8c915ab9..f28f3f11 100644 --- a/src/com/romraider/maps/Table2D.java +++ b/src/com/romraider/maps/Table2D.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/maps/Table3D.java b/src/com/romraider/maps/Table3D.java index 9af59b4e..a17bbf75 100644 --- a/src/com/romraider/maps/Table3D.java +++ b/src/com/romraider/maps/Table3D.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/maps/TableSwitch.java b/src/com/romraider/maps/TableSwitch.java index fafe00b6..349abfd9 100644 --- a/src/com/romraider/maps/TableSwitch.java +++ b/src/com/romraider/maps/TableSwitch.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/net/BrowserControl.java b/src/com/romraider/net/BrowserControl.java index aa8e4003..e253dc5b 100644 --- a/src/com/romraider/net/BrowserControl.java +++ b/src/com/romraider/net/BrowserControl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/net/URL.java b/src/com/romraider/net/URL.java index 6718a366..ac39ff03 100644 --- a/src/com/romraider/net/URL.java +++ b/src/com/romraider/net/URL.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/ramtune/test/RamTuneTestApp.java b/src/com/romraider/ramtune/test/RamTuneTestApp.java index d8384a54..3df65cad 100644 --- a/src/com/romraider/ramtune/test/RamTuneTestApp.java +++ b/src/com/romraider/ramtune/test/RamTuneTestApp.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -39,35 +39,35 @@ import static com.romraider.util.HexUtil.asHex; import com.romraider.util.LogManager; import static com.romraider.util.ThreadUtil.runAsDaemon; import static com.romraider.util.ThreadUtil.sleep; -import javax.swing.ImageIcon; -import javax.swing.JButton; -import javax.swing.JComboBox; -import javax.swing.JLabel; +import static java.awt.FlowLayout.LEFT; +import static java.awt.Font.PLAIN; +import static java.awt.GridBagConstraints.BOTH; import static javax.swing.JOptionPane.ERROR_MESSAGE; import static javax.swing.JOptionPane.WARNING_MESSAGE; import static javax.swing.JOptionPane.YES_NO_OPTION; import static javax.swing.JOptionPane.YES_OPTION; import static javax.swing.JOptionPane.showConfirmDialog; import static javax.swing.JOptionPane.showMessageDialog; -import javax.swing.JPanel; -import javax.swing.JScrollPane; import static javax.swing.JScrollPane.HORIZONTAL_SCROLLBAR_NEVER; import static javax.swing.JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED; +import static javax.swing.border.BevelBorder.LOWERED; +import javax.swing.ImageIcon; +import javax.swing.JButton; +import javax.swing.JComboBox; +import javax.swing.JLabel; +import javax.swing.JPanel; +import javax.swing.JScrollPane; import javax.swing.JTextArea; import javax.swing.JTextField; import javax.swing.SwingUtilities; import javax.swing.border.BevelBorder; -import static javax.swing.border.BevelBorder.LOWERED; import javax.swing.border.EtchedBorder; import javax.swing.border.TitledBorder; import java.awt.BorderLayout; import java.awt.Component; import java.awt.FlowLayout; -import static java.awt.FlowLayout.LEFT; import java.awt.Font; -import static java.awt.Font.PLAIN; import java.awt.GridBagConstraints; -import static java.awt.GridBagConstraints.BOTH; import java.awt.GridBagLayout; import java.awt.Insets; import java.awt.event.ActionEvent; diff --git a/src/com/romraider/ramtune/test/command/executor/CommandExecutor.java b/src/com/romraider/ramtune/test/command/executor/CommandExecutor.java index 1e449537..7989be2c 100644 --- a/src/com/romraider/ramtune/test/command/executor/CommandExecutor.java +++ b/src/com/romraider/ramtune/test/command/executor/CommandExecutor.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/ramtune/test/command/executor/CommandExecutorImpl.java b/src/com/romraider/ramtune/test/command/executor/CommandExecutorImpl.java index 628d26c0..47d07da9 100644 --- a/src/com/romraider/ramtune/test/command/executor/CommandExecutorImpl.java +++ b/src/com/romraider/ramtune/test/command/executor/CommandExecutorImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/ramtune/test/command/generator/AbstractCommandGenerator.java b/src/com/romraider/ramtune/test/command/generator/AbstractCommandGenerator.java index 716e785a..fd6d985f 100644 --- a/src/com/romraider/ramtune/test/command/generator/AbstractCommandGenerator.java +++ b/src/com/romraider/ramtune/test/command/generator/AbstractCommandGenerator.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/ramtune/test/command/generator/CommandGenerator.java b/src/com/romraider/ramtune/test/command/generator/CommandGenerator.java index a978d929..f5ae9760 100644 --- a/src/com/romraider/ramtune/test/command/generator/CommandGenerator.java +++ b/src/com/romraider/ramtune/test/command/generator/CommandGenerator.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/ramtune/test/command/generator/EcuInitCommandGenerator.java b/src/com/romraider/ramtune/test/command/generator/EcuInitCommandGenerator.java index 397338fc..4c9f04d5 100644 --- a/src/com/romraider/ramtune/test/command/generator/EcuInitCommandGenerator.java +++ b/src/com/romraider/ramtune/test/command/generator/EcuInitCommandGenerator.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/ramtune/test/command/generator/ReadCommandGenerator.java b/src/com/romraider/ramtune/test/command/generator/ReadCommandGenerator.java index 5fa84e8f..8d0a6c37 100644 --- a/src/com/romraider/ramtune/test/command/generator/ReadCommandGenerator.java +++ b/src/com/romraider/ramtune/test/command/generator/ReadCommandGenerator.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -22,9 +22,9 @@ package com.romraider.ramtune.test.command.generator; import com.romraider.io.protocol.Protocol; import static com.romraider.util.ParamChecker.checkGreaterThanZero; import static com.romraider.util.ParamChecker.checkNotNullOrEmpty; +import static java.util.Arrays.asList; import java.math.BigInteger; import java.util.ArrayList; -import static java.util.Arrays.asList; import java.util.List; public final class ReadCommandGenerator extends AbstractCommandGenerator { diff --git a/src/com/romraider/ramtune/test/command/generator/WriteCommandGenerator.java b/src/com/romraider/ramtune/test/command/generator/WriteCommandGenerator.java index d2b71768..4733e200 100644 --- a/src/com/romraider/ramtune/test/command/generator/WriteCommandGenerator.java +++ b/src/com/romraider/ramtune/test/command/generator/WriteCommandGenerator.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/ramtune/test/io/RamTuneTestAppConnectionProperties.java b/src/com/romraider/ramtune/test/io/RamTuneTestAppConnectionProperties.java index c95c7ac1..e61d82bf 100644 --- a/src/com/romraider/ramtune/test/io/RamTuneTestAppConnectionProperties.java +++ b/src/com/romraider/ramtune/test/io/RamTuneTestAppConnectionProperties.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/AbstractFrame.java b/src/com/romraider/swing/AbstractFrame.java index 38f60f54..0c05e055 100644 --- a/src/com/romraider/swing/AbstractFrame.java +++ b/src/com/romraider/swing/AbstractFrame.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,47 +19,47 @@ package com.romraider.swing; +import javax.swing.JFrame; import java.awt.HeadlessException; import java.awt.event.WindowEvent; import java.awt.event.WindowListener; import java.beans.PropertyChangeEvent; import java.beans.PropertyChangeListener; -import javax.swing.JFrame; public abstract class AbstractFrame extends JFrame implements WindowListener, PropertyChangeListener { - public AbstractFrame() throws HeadlessException { - super(); - } + public AbstractFrame() throws HeadlessException { + super(); + } - public AbstractFrame(String arg0) throws HeadlessException { - super(arg0); - } + public AbstractFrame(String arg0) throws HeadlessException { + super(arg0); + } - private static final long serialVersionUID = 7948304087075622157L; + private static final long serialVersionUID = 7948304087075622157L; - public void windowActivated(WindowEvent arg0) { - } + public void windowActivated(WindowEvent arg0) { + } - public void windowClosed(WindowEvent e) { - } + public void windowClosed(WindowEvent e) { + } - public void windowClosing(WindowEvent e) { - } + public void windowClosing(WindowEvent e) { + } - public void windowDeactivated(WindowEvent e) { - } + public void windowDeactivated(WindowEvent e) { + } - public void windowDeiconified(WindowEvent e) { - } + public void windowDeiconified(WindowEvent e) { + } - public void windowIconified(WindowEvent e) { - } + public void windowIconified(WindowEvent e) { + } - public void windowOpened(WindowEvent e) { - } + public void windowOpened(WindowEvent e) { + } - public void propertyChange(PropertyChangeEvent arg0) { - } + public void propertyChange(PropertyChangeEvent arg0) { + } } diff --git a/src/com/romraider/swing/CategoryTreeNode.java b/src/com/romraider/swing/CategoryTreeNode.java index 4472c96e..5cb79915 100644 --- a/src/com/romraider/swing/CategoryTreeNode.java +++ b/src/com/romraider/swing/CategoryTreeNode.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/DebugPanel.java b/src/com/romraider/swing/DebugPanel.java index 87330bf9..ab7edef3 100644 --- a/src/com/romraider/swing/DebugPanel.java +++ b/src/com/romraider/swing/DebugPanel.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/DefinitionManager.java b/src/com/romraider/swing/DefinitionManager.java index dc0bfa1a..8b33a840 100644 --- a/src/com/romraider/swing/DefinitionManager.java +++ b/src/com/romraider/swing/DefinitionManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/ECUEditorMenuBar.java b/src/com/romraider/swing/ECUEditorMenuBar.java index cb205e09..b47bb529 100644 --- a/src/com/romraider/swing/ECUEditorMenuBar.java +++ b/src/com/romraider/swing/ECUEditorMenuBar.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -30,22 +30,17 @@ import com.romraider.editor.ecu.ECUEditor; import com.romraider.logger.ecu.EcuLogger; import com.romraider.maps.Rom; import com.romraider.ramtune.test.RamTuneTestApp; -import com.romraider.swing.menubar.MenuItem; -import com.romraider.swing.menubar.action.AboutAction; - -import javax.swing.ButtonGroup; -import javax.swing.JFileChooser; - -import static java.awt.event.KeyEvent.VK_A; import static javax.swing.JFrame.DISPOSE_ON_CLOSE; -import javax.swing.JMenu; -import javax.swing.JMenuBar; -import javax.swing.JMenuItem; import static javax.swing.JOptionPane.CANCEL_OPTION; import static javax.swing.JOptionPane.ERROR_MESSAGE; import static javax.swing.JOptionPane.INFORMATION_MESSAGE; import static javax.swing.JOptionPane.showConfirmDialog; import static javax.swing.JOptionPane.showMessageDialog; +import javax.swing.ButtonGroup; +import javax.swing.JFileChooser; +import javax.swing.JMenu; +import javax.swing.JMenuBar; +import javax.swing.JMenuItem; import javax.swing.JRadioButtonMenuItem; import javax.swing.JSeparator; import java.awt.event.ActionEvent; diff --git a/src/com/romraider/swing/ECUEditorToolBar.java b/src/com/romraider/swing/ECUEditorToolBar.java index fcb52303..56f0700a 100644 --- a/src/com/romraider/swing/ECUEditorToolBar.java +++ b/src/com/romraider/swing/ECUEditorToolBar.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/ECUImageFilter.java b/src/com/romraider/swing/ECUImageFilter.java index 0f007416..c61f874b 100644 --- a/src/com/romraider/swing/ECUImageFilter.java +++ b/src/com/romraider/swing/ECUImageFilter.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/GenericFileFilter.java b/src/com/romraider/swing/GenericFileFilter.java index 1d0ae400..a7c1c6e9 100644 --- a/src/com/romraider/swing/GenericFileFilter.java +++ b/src/com/romraider/swing/GenericFileFilter.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/JProgressPane.java b/src/com/romraider/swing/JProgressPane.java index 78aa506b..5fa0b818 100644 --- a/src/com/romraider/swing/JProgressPane.java +++ b/src/com/romraider/swing/JProgressPane.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/JTableChooser.java b/src/com/romraider/swing/JTableChooser.java index a47dffdc..fdd89fb3 100644 --- a/src/com/romraider/swing/JTableChooser.java +++ b/src/com/romraider/swing/JTableChooser.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/LookAndFeelManager.java b/src/com/romraider/swing/LookAndFeelManager.java index be35fd96..df92e7bd 100644 --- a/src/com/romraider/swing/LookAndFeelManager.java +++ b/src/com/romraider/swing/LookAndFeelManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,12 +20,12 @@ package com.romraider.swing; import static com.romraider.Version.PRODUCT_NAME; -import org.apache.log4j.Logger; -import javax.swing.JDialog; -import javax.swing.JFrame; import static javax.swing.UIManager.getCrossPlatformLookAndFeelClassName; import static javax.swing.UIManager.getSystemLookAndFeelClassName; import static javax.swing.UIManager.setLookAndFeel; +import org.apache.log4j.Logger; +import javax.swing.JDialog; +import javax.swing.JFrame; public final class LookAndFeelManager { private static final Logger LOGGER = Logger.getLogger(LookAndFeelManager.class); diff --git a/src/com/romraider/swing/MDIDesktopPane.java b/src/com/romraider/swing/MDIDesktopPane.java index 462f3020..e274e9cb 100644 --- a/src/com/romraider/swing/MDIDesktopPane.java +++ b/src/com/romraider/swing/MDIDesktopPane.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/RomCellRenderer.java b/src/com/romraider/swing/RomCellRenderer.java index 29afbd3d..d33581ec 100644 --- a/src/com/romraider/swing/RomCellRenderer.java +++ b/src/com/romraider/swing/RomCellRenderer.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/RomPropertyPanel.java b/src/com/romraider/swing/RomPropertyPanel.java index 3bb66ce5..bb9f56d6 100644 --- a/src/com/romraider/swing/RomPropertyPanel.java +++ b/src/com/romraider/swing/RomPropertyPanel.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/RomTree.java b/src/com/romraider/swing/RomTree.java index ac54f7d0..c1b7b54c 100644 --- a/src/com/romraider/swing/RomTree.java +++ b/src/com/romraider/swing/RomTree.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/RomTreeNode.java b/src/com/romraider/swing/RomTreeNode.java index c3285321..9a16cf5d 100644 --- a/src/com/romraider/swing/RomTreeNode.java +++ b/src/com/romraider/swing/RomTreeNode.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/RomTreeRootNode.java b/src/com/romraider/swing/RomTreeRootNode.java index 1276df43..13213f65 100644 --- a/src/com/romraider/swing/RomTreeRootNode.java +++ b/src/com/romraider/swing/RomTreeRootNode.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/SettingsForm.java b/src/com/romraider/swing/SettingsForm.java index 64f2c0b1..1682790d 100644 --- a/src/com/romraider/swing/SettingsForm.java +++ b/src/com/romraider/swing/SettingsForm.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -24,6 +24,7 @@ import com.romraider.Settings; import static com.romraider.Version.PRODUCT_NAME; import com.romraider.editor.ecu.ECUEditor; import com.romraider.util.FileAssociator; +import static java.io.File.separator; import javax.swing.JColorChooser; import javax.swing.JFrame; import java.awt.Color; @@ -31,7 +32,6 @@ import java.awt.Dimension; import java.awt.event.MouseEvent; import java.awt.event.MouseListener; import java.io.File; -import static java.io.File.separator; import java.util.StringTokenizer; public class SettingsForm extends JFrame implements MouseListener { diff --git a/src/com/romraider/swing/TableChooserTreeNode.java b/src/com/romraider/swing/TableChooserTreeNode.java index dcdc2f75..e1ddc858 100644 --- a/src/com/romraider/swing/TableChooserTreeNode.java +++ b/src/com/romraider/swing/TableChooserTreeNode.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/TableFrame.java b/src/com/romraider/swing/TableFrame.java index 2e1ae19b..03b50a5e 100644 --- a/src/com/romraider/swing/TableFrame.java +++ b/src/com/romraider/swing/TableFrame.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/TableMenuBar.java b/src/com/romraider/swing/TableMenuBar.java index 1988c3d7..6e16af38 100644 --- a/src/com/romraider/swing/TableMenuBar.java +++ b/src/com/romraider/swing/TableMenuBar.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/TablePropertyPanel.java b/src/com/romraider/swing/TablePropertyPanel.java index 0defd14f..86928db5 100644 --- a/src/com/romraider/swing/TablePropertyPanel.java +++ b/src/com/romraider/swing/TablePropertyPanel.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/TableToolBar.java b/src/com/romraider/swing/TableToolBar.java index ea6f2c3d..1935f794 100644 --- a/src/com/romraider/swing/TableToolBar.java +++ b/src/com/romraider/swing/TableToolBar.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -27,10 +27,10 @@ import com.romraider.maps.Scale; import com.romraider.maps.Table; import com.romraider.maps.Table1D; import com.romraider.maps.Table3D; +import static javax.swing.BorderFactory.createLineBorder; import org.apache.log4j.Logger; import javax.swing.AbstractAction; import javax.swing.Action; -import static javax.swing.BorderFactory.createLineBorder; import javax.swing.ImageIcon; import javax.swing.InputMap; import javax.swing.JButton; @@ -444,6 +444,7 @@ public class TableToolBar extends JToolBar implements MouseListener, ItemListene // ****************************************** // Code for listening to graph3d data changes // ****************************************** + public void newGraphData(int x, int z, float value) { Table3D table3d = (Table3D) table; table3d.selectCellAt(x, table3d.getSizeY() - z - 1); diff --git a/src/com/romraider/swing/TableTreeNode.java b/src/com/romraider/swing/TableTreeNode.java index 5b2d7cd3..a33a95f8 100644 --- a/src/com/romraider/swing/TableTreeNode.java +++ b/src/com/romraider/swing/TableTreeNode.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/XMLFilter.java b/src/com/romraider/swing/XMLFilter.java index 8272f539..0040c44f 100644 --- a/src/com/romraider/swing/XMLFilter.java +++ b/src/com/romraider/swing/XMLFilter.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/swing/menubar/Menu.java b/src/com/romraider/swing/menubar/Menu.java index 9c0978ab..52849505 100644 --- a/src/com/romraider/swing/menubar/Menu.java +++ b/src/com/romraider/swing/menubar/Menu.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2008 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,9 +23,9 @@ import javax.swing.JMenu; public final class Menu extends JMenu { - private static final long serialVersionUID = -5058943622469501273L; + private static final long serialVersionUID = -5058943622469501273L; - public Menu(String text, int mnemonic) { + public Menu(String text, int mnemonic) { setText(text); setMnemonic(mnemonic); } diff --git a/src/com/romraider/swing/menubar/MenuItem.java b/src/com/romraider/swing/menubar/MenuItem.java index d0f7b896..0dc8a696 100644 --- a/src/com/romraider/swing/menubar/MenuItem.java +++ b/src/com/romraider/swing/menubar/MenuItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2008 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,9 +25,9 @@ import javax.swing.KeyStroke; public final class MenuItem extends JMenuItem { - private static final long serialVersionUID = 8944116003490787227L; + private static final long serialVersionUID = 8944116003490787227L; - public MenuItem(String text, Action action) { + public MenuItem(String text, Action action) { super(action); setText(text); } diff --git a/src/com/romraider/swing/menubar/RadioButtonMenuItem.java b/src/com/romraider/swing/menubar/RadioButtonMenuItem.java index bf7f03ae..d87f293f 100644 --- a/src/com/romraider/swing/menubar/RadioButtonMenuItem.java +++ b/src/com/romraider/swing/menubar/RadioButtonMenuItem.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2008 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -26,9 +26,9 @@ import javax.swing.KeyStroke; public final class RadioButtonMenuItem extends JRadioButtonMenuItem { - private static final long serialVersionUID = -7872873697564909545L; + private static final long serialVersionUID = -7872873697564909545L; - public RadioButtonMenuItem(String text, int mnemonic, KeyStroke accelerator, Action action, boolean selected) { + public RadioButtonMenuItem(String text, int mnemonic, KeyStroke accelerator, Action action, boolean selected) { super(action); initSelectionStateAdaptor(action); setText(text); diff --git a/src/com/romraider/swing/menubar/action/AboutAction.java b/src/com/romraider/swing/menubar/action/AboutAction.java index 371e7603..3fb9f55d 100644 --- a/src/com/romraider/swing/menubar/action/AboutAction.java +++ b/src/com/romraider/swing/menubar/action/AboutAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2008 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,7 +25,6 @@ import static com.romraider.Version.PRODUCT_NAME; import static com.romraider.Version.SUPPORT_URL; import static com.romraider.Version.VERSION; import com.romraider.logger.ecu.EcuLogger; - import static javax.swing.JOptionPane.INFORMATION_MESSAGE; import static javax.swing.JOptionPane.showMessageDialog; import java.awt.event.ActionEvent; diff --git a/src/com/romraider/swing/menubar/action/AbstractAction.java b/src/com/romraider/swing/menubar/action/AbstractAction.java index e591de10..3cd7149c 100644 --- a/src/com/romraider/swing/menubar/action/AbstractAction.java +++ b/src/com/romraider/swing/menubar/action/AbstractAction.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2008 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/tts/Speaker.java b/src/com/romraider/tts/Speaker.java index 5033687c..0be8f71c 100644 --- a/src/com/romraider/tts/Speaker.java +++ b/src/com/romraider/tts/Speaker.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/AxisRange.java b/src/com/romraider/util/AxisRange.java index 8104eea4..6db9e2c8 100644 --- a/src/com/romraider/util/AxisRange.java +++ b/src/com/romraider/util/AxisRange.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/ByteUtil.java b/src/com/romraider/util/ByteUtil.java index 7c4abe92..a93897a7 100644 --- a/src/com/romraider/util/ByteUtil.java +++ b/src/com/romraider/util/ByteUtil.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/ColorScaler.java b/src/com/romraider/util/ColorScaler.java index 306a036d..bbfccc62 100644 --- a/src/com/romraider/util/ColorScaler.java +++ b/src/com/romraider/util/ColorScaler.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/FileAssociator.java b/src/com/romraider/util/FileAssociator.java index 6e02c7d7..336c1a00 100644 --- a/src/com/romraider/util/FileAssociator.java +++ b/src/com/romraider/util/FileAssociator.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/HexUtil.java b/src/com/romraider/util/HexUtil.java index 3f81ca29..a5a6e5ae 100644 --- a/src/com/romraider/util/HexUtil.java +++ b/src/com/romraider/util/HexUtil.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/JEPUtil.java b/src/com/romraider/util/JEPUtil.java index 0c3456bc..4f79f373 100644 --- a/src/com/romraider/util/JEPUtil.java +++ b/src/com/romraider/util/JEPUtil.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/LogManager.java b/src/com/romraider/util/LogManager.java index e2f9382e..1b9e5207 100644 --- a/src/com/romraider/util/LogManager.java +++ b/src/com/romraider/util/LogManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/MD5Checksum.java b/src/com/romraider/util/MD5Checksum.java index 7886ec8e..956baec6 100644 --- a/src/com/romraider/util/MD5Checksum.java +++ b/src/com/romraider/util/MD5Checksum.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/ObjectCloner.java b/src/com/romraider/util/ObjectCloner.java index 922b7d6d..10d07c70 100644 --- a/src/com/romraider/util/ObjectCloner.java +++ b/src/com/romraider/util/ObjectCloner.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/ParamChecker.java b/src/com/romraider/util/ParamChecker.java index da73ebeb..0813b44f 100644 --- a/src/com/romraider/util/ParamChecker.java +++ b/src/com/romraider/util/ParamChecker.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/RomServer.java b/src/com/romraider/util/RomServer.java index 96368360..46bab90b 100644 --- a/src/com/romraider/util/RomServer.java +++ b/src/com/romraider/util/RomServer.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/SaxParserFactory.java b/src/com/romraider/util/SaxParserFactory.java index f381fd66..967d5c9d 100644 --- a/src/com/romraider/util/SaxParserFactory.java +++ b/src/com/romraider/util/SaxParserFactory.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/SettingsManager.java b/src/com/romraider/util/SettingsManager.java index f4ff8ce7..dfa6ebeb 100644 --- a/src/com/romraider/util/SettingsManager.java +++ b/src/com/romraider/util/SettingsManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/SettingsManagerImpl.java b/src/com/romraider/util/SettingsManagerImpl.java index 7a2e0852..875b292b 100644 --- a/src/com/romraider/util/SettingsManagerImpl.java +++ b/src/com/romraider/util/SettingsManagerImpl.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,10 +25,10 @@ import com.romraider.swing.JProgressPane; import com.romraider.xml.DOMSettingsBuilder; import com.romraider.xml.DOMSettingsUnmarshaller; import com.sun.org.apache.xerces.internal.parsers.DOMParser; -import org.w3c.dom.Document; -import org.xml.sax.InputSource; import static javax.swing.JOptionPane.INFORMATION_MESSAGE; import static javax.swing.JOptionPane.showMessageDialog; +import org.w3c.dom.Document; +import org.xml.sax.InputSource; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; diff --git a/src/com/romraider/util/Stoppable.java b/src/com/romraider/util/Stoppable.java index 78ed3877..bc428b63 100644 --- a/src/com/romraider/util/Stoppable.java +++ b/src/com/romraider/util/Stoppable.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/TableAxisUtil.java b/src/com/romraider/util/TableAxisUtil.java index 99f363cf..cf67509d 100644 --- a/src/com/romraider/util/TableAxisUtil.java +++ b/src/com/romraider/util/TableAxisUtil.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/ThreadCheckingRepaintManager.java b/src/com/romraider/util/ThreadCheckingRepaintManager.java index 21794270..13087f54 100644 --- a/src/com/romraider/util/ThreadCheckingRepaintManager.java +++ b/src/com/romraider/util/ThreadCheckingRepaintManager.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/ThreadUtil.java b/src/com/romraider/util/ThreadUtil.java index e5202103..d8f6e734 100644 --- a/src/com/romraider/util/ThreadUtil.java +++ b/src/com/romraider/util/ThreadUtil.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/util/proxy/Proxifier.java b/src/com/romraider/util/proxy/Proxifier.java index 17825b04..4cb57b72 100644 --- a/src/com/romraider/util/proxy/Proxifier.java +++ b/src/com/romraider/util/proxy/Proxifier.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,8 +19,8 @@ package com.romraider.util.proxy; -import java.lang.reflect.Constructor; import static java.lang.reflect.Proxy.newProxyInstance; +import java.lang.reflect.Constructor; public final class Proxifier { public static T proxy(T t, Class cls) { diff --git a/src/com/romraider/util/proxy/TimerWrapper.java b/src/com/romraider/util/proxy/TimerWrapper.java index 29999bc8..cd0429ac 100644 --- a/src/com/romraider/util/proxy/TimerWrapper.java +++ b/src/com/romraider/util/proxy/TimerWrapper.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -20,9 +20,9 @@ package com.romraider.util.proxy; import static com.romraider.util.ParamChecker.checkNotNull; +import static java.lang.System.currentTimeMillis; import org.apache.log4j.Logger; import static org.apache.log4j.Logger.getLogger; -import static java.lang.System.currentTimeMillis; import java.lang.reflect.Method; public final class TimerWrapper implements Wrapper { diff --git a/src/com/romraider/util/proxy/Wrapper.java b/src/com/romraider/util/proxy/Wrapper.java index 1c4eb3ef..09173df5 100644 --- a/src/com/romraider/util/proxy/Wrapper.java +++ b/src/com/romraider/util/proxy/Wrapper.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/xml/DOMHelper.java b/src/com/romraider/xml/DOMHelper.java index 7de85699..f8930041 100644 --- a/src/com/romraider/xml/DOMHelper.java +++ b/src/com/romraider/xml/DOMHelper.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/xml/DOMRomUnmarshaller.java b/src/com/romraider/xml/DOMRomUnmarshaller.java index c0f36d8d..d3e82b84 100644 --- a/src/com/romraider/xml/DOMRomUnmarshaller.java +++ b/src/com/romraider/xml/DOMRomUnmarshaller.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/xml/DOMSettingsBuilder.java b/src/com/romraider/xml/DOMSettingsBuilder.java index 81cfc653..02e877ae 100644 --- a/src/com/romraider/xml/DOMSettingsBuilder.java +++ b/src/com/romraider/xml/DOMSettingsBuilder.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/xml/DOMSettingsUnmarshaller.java b/src/com/romraider/xml/DOMSettingsUnmarshaller.java index 79fbe316..23b3844e 100644 --- a/src/com/romraider/xml/DOMSettingsUnmarshaller.java +++ b/src/com/romraider/xml/DOMSettingsUnmarshaller.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/xml/RomAttributeParser.java b/src/com/romraider/xml/RomAttributeParser.java index 2fb14c98..7c73f744 100644 --- a/src/com/romraider/xml/RomAttributeParser.java +++ b/src/com/romraider/xml/RomAttributeParser.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/xml/RomNotFoundException.java b/src/com/romraider/xml/RomNotFoundException.java index 9f2d4235..795476ae 100644 --- a/src/com/romraider/xml/RomNotFoundException.java +++ b/src/com/romraider/xml/RomNotFoundException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/xml/TableIsOmittedException.java b/src/com/romraider/xml/TableIsOmittedException.java index ad1f9f94..cf934f14 100644 --- a/src/com/romraider/xml/TableIsOmittedException.java +++ b/src/com/romraider/xml/TableIsOmittedException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/src/com/romraider/xml/TableNotFoundException.java b/src/com/romraider/xml/TableNotFoundException.java index 7e62bb58..b99b3317 100644 --- a/src/com/romraider/xml/TableNotFoundException.java +++ b/src/com/romraider/xml/TableNotFoundException.java @@ -1,6 +1,6 @@ /* * RomRaider Open-Source Tuning, Logging and Reflashing - * Copyright (C) 2006-2009 RomRaider.com + * Copyright (C) 2006-2010 RomRaider.com * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by