bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
private static Color getColor(Channel channel) { int emWave = channel.getLogicalChannel().getEmissionWave().intValue(); if (rangeBlue(emWave)) return BLUE_COLOR; if (rangeGreen(emWave)) return GREEN_COLOR; if (rangeRed(emWave)) return RED_COLOR; return null; }
private static Color getColor(Channel channel) { Integer emWave = channel.getLogicalChannel().getEmissionWave(); if (emWave == null) return null; if (rangeBlue(emWave)) return BLUE_COLOR; if (rangeGreen(emWave)) return GREEN_COLOR; if (rangeRed(emWave)) return RED_COLOR; return nu...
3,239,747
public void executeCompiler() throws Exception { // Usefull variables int i; String str; InputStream inStream; // We get the XML data tree XMLElement data = getXMLTree(); // We get the Packager Packager packager = getPackager(); // We add the variable declaration packager.setVariables(g...
public void executeCompiler() throws Exception { // Usefull variables int i; String str; InputStream inStream; // We get the XML data tree XMLElement data = getXMLTree(); // We get the Packager Packager packager = getPackager(); // We add the variable declaration packager.setVariables(g...
3,239,748
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLElement el = r...
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLElement el = r...
3,239,749
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLElement el = r...
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLElement el = r...
3,239,750
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLElement el = r...
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = data.getFirstChildNamed("packs"); // We process each pack markup int npacks = root.getChildrenCount(); for (int i = 0; i < npacks; i++) { XMLElement el = r...
3,239,751
public Info() { }
public Info() { }
3,239,753
public StdKunststoffPackager(String outputFilename, PackagerListener plistener) throws Exception { super(outputFilename, plistener); // Copies the Kunststoff library sendMsg("Copying the Kunststoff library ..."); ZipInputStream skeleton_is = new ZipInputStream (getClass().getResourceAsStream("/lib/ku...
public StdKunststoffPackager(String outputFilename, PackagerListener plistener) throws Exception { super(outputFilename, plistener); // Copies the Kunststoff library sendMsg("Copying the Kunststoff library ..."); ZipInputStream skeleton_is = new ZipInputStream (getClass().getResourceAsStream("/lib/ku...
3,239,754
public ParsableFile(String path, String type, String encoding) { this.path = path; this.type = type; this.encoding = encoding; }
public ParsableFile(String path, String type, String encoding) { this.path = path; this.type = type; this.encoding = encoding; }
3,239,755
public ExecutableFile(String path, int type, String mainClass, int executionStage, int onFailure, java.util.ArrayList argList, java.util.ArrayList osList) { this.path = path; ...
public ExecutableFile(String path, int type, String mainClass, int executionStage, int onFailure, java.util.ArrayList argList, java.util.ArrayList osList) { this.path = path; ...
3,239,756
public ExecutableFile(String path, int type, String mainClass, int executionStage, int onFailure, java.util.ArrayList argList, java.util.ArrayList osList) { this.path = path; ...
public ExecutableFile(String path, int type, String mainClass, int executionStage, int onFailure, java.util.ArrayList argList, java.util.ArrayList osList) { this.path = path; ...
3,239,757
public synchronized Object borrowObject(Object key) throws Exception { long starttime = System.currentTimeMillis(); boolean newlyCreated = false; for(;;) { CursorableLinkedList pool = (CursorableLinkedList)(_poolMap.get(key)); if(null == pool) { pool = new C...
public synchronized Object borrowObject(Object key) throws Exception { long starttime = System.currentTimeMillis(); boolean newlyCreated = false; for(;;) { CursorableLinkedList pool = (CursorableLinkedList)(_poolMap.get(key)); if(null == pool) { pool = new C...
3,239,759
public int getNumActive() throws UnsupportedOperationException { return -1; }
public int getNumActive(Object key) throws UnsupportedOperationException { return -1; }
3,239,760
public int getNumIdle() throws UnsupportedOperationException { return -1; }
public int getNumIdle(Object key) throws UnsupportedOperationException { return -1; }
3,239,761
public int askQuestion (String title, String question, int choices, int default_choice) { int jo_choices = 0; if (choices == AbstractUIHandler.CHOICES_YES_NO) jo_choices = JOptionPane.YES_NO_OPTION; else if (choices == AbstractUIHandler.CHOICES_YES_NO_CANCEL) jo_choices = JOptionPane.YES_NO_C...
public int askQuestion(String title, String question, int choices) { int jo_choices = 0; if (choices == AbstractUIHandler.CHOICES_YES_NO) jo_choices = JOptionPane.YES_NO_OPTION; else if (choices == AbstractUIHandler.CHOICES_YES_NO_CANCEL) jo_choices = JOptionPane.YES_NO_CANCEL_OPTION; ...
3,239,763
public int askQuestion (String title, String question, int choices, int default_choice) { int jo_choices = 0; if (choices == AbstractUIHandler.CHOICES_YES_NO) jo_choices = JOptionPane.YES_NO_OPTION; else if (choices == AbstractUIHandler.CHOICES_YES_NO_CANCEL) jo_choices = JOptionPane.YES_NO_C...
public int askQuestion (String title, String question, int choices, int default_choice) { int jo_choices = 0; if (choices == AbstractUIHandler.CHOICES_YES_NO) jo_choices = JOptionPane.YES_NO_OPTION; else if (choices == AbstractUIHandler.CHOICES_YES_NO_CANCEL) jo_choices = JOptionPane.YES_NO_C...
3,239,764
public IObject[] saveAndReturnArray(IObject[] graph) { return doAction( graph, new UpdateAction<IObject[]>(){ @Override public IObject[] run(IObject[] value, UpdateFilter filter) { IObject[] copy = new IObject[value.length]; for (int i = 0; i < value.length; i++) { ...
public IObject[] saveAndReturnArray(IObject[] graph) { return doAction( graph, new UpdateAction<IObject[]>(){ @Override public IObject[] run(IObject[] value, UpdateFilter filter) { IObject[] copy = new IObject[value.length]; for (int i = 0; i < value.length; i++) { ...
3,239,765
public IObject[] run(IObject[] value, UpdateFilter filter) { IObject[] copy = new IObject[value.length]; for (int i = 0; i < value.length; i++) { copy[i] = internalSave( value[i], filter ); } return value; }
public IObject[] run(IObject[] value, UpdateFilter filter) { IObject[] copy = new IObject[value.length]; for (int i = 0; i < value.length; i++) { copy[i] = internalSave( value[i], filter ); } return copy; }
3,239,766
public void saveArray(IObject[] graph) { doAction( graph, new UpdateAction<IObject[]>(){ @Override public IObject[] run(IObject[] value, UpdateFilter filter) { IObject[] copy = new IObject[value.length]; for (int i = 0; i < value.length; i++) { copy[i] ...
public void saveArray(IObject[] graph) { doAction( graph, new UpdateAction<IObject[]>(){ @Override public IObject[] run(IObject[] value, UpdateFilter filter) { IObject[] copy = new IObject[value.length]; for (int i = 0; i < value.length; i++) { copy[i] ...
3,239,767
public IObject[] run(IObject[] value, UpdateFilter filter) { IObject[] copy = new IObject[value.length]; for (int i = 0; i < value.length; i++) { copy[i] = internalSave( value[i], filter ); } return value; }
public IObject[] run(IObject[] value, UpdateFilter filter) { IObject[] copy = new IObject[value.length]; for (int i = 0; i < value.length; i++) { copy[i] = internalSave( value[i], filter ); } return copy; }
3,239,768
public void activateObject(Object obj) { }
public void activateObject(Object obj) throws Exception { }
3,239,769
public void destroyObject(Object obj) { }
public void destroyObject(Object obj) throws Exception { }
3,239,770
public void passivateObject(Object obj) { }
public void passivateObject(Object obj) throws Exception { }
3,239,771
private void stopMonitor(OutputMonitor m, Thread t) { // taken from com.izforge.izpack.util.FileExecutor m.doStop(); long softTimeout = 500; try { t.join(softTimeout); } catch (InterruptedException e) {...
private void stopMonitor(OutputMonitor m, Thread t) { // taken from com.izforge.izpack.util.FileExecutor m.doStop(); long softTimeout = 500; try { t.join(softTimeout); } catch (InterruptedException e) {...
3,239,772
private boolean readSpec() throws IOException { InputStream input; try { input = ResourceManager.getInstance().getInputStream(SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser par...
private boolean readSpec() throws IOException { InputStream input; try { input = ResourceManager.getInstance().getInputStream(SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser par...
3,239,773
private boolean readSpec() throws IOException { InputStream input; try { input = ResourceManager.getInstance().getInputStream(SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser par...
private boolean readSpec() throws IOException { InputStream input; try { input = ResourceManager.getInstance().getInputStream(SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser par...
3,239,774
private boolean readSpec() throws IOException { InputStream input; try { input = ResourceManager.getInstance().getInputStream(SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser par...
private boolean readSpec() throws IOException { InputStream input; try { input = ResourceManager.getInstance().getInputStream(SPEC_RESOURCE_NAME); } catch (Exception e) { e.printStackTrace(); return false; } StdXMLParser par...
3,239,775
public void startThread() { this.processingThread = new Thread(this, "processing thread"); // will call this.run() this.processingThread.start(); }
public void startThread() { Thread processingThread = new Thread(this, "processing thread"); // will call this.run() this.processingThread.start(); }
3,239,776
public void startThread() { this.processingThread = new Thread(this, "processing thread"); // will call this.run() this.processingThread.start(); }
public void startThread() { this.processingThread = new Thread(this, "processing thread"); // will call this.run() processingThread.start(); }
3,239,777
protected TestObjectPoolFactory(final String name) { super(name); }
public TestObjectPoolFactory(final String name) { super(name); }
3,239,778
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
3,239,780
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
3,239,781
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
3,239,782
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
3,239,783
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
3,239,784
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
3,239,785
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
3,239,786
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
public void run() { instances.add(this); try { // // Initialisations FileOutputStream out = null; ArrayList parsables = new ArrayList(); ArrayList executables = new ArrayList(); ArrayList updatechecks = new ArrayList(); List packs = idata.selectedPacks; int npacks = p...
3,239,787
public WebAccessor(Component parent) { this.parent = parent; Locale l = null; if (parent != null) parent.getLocale(); soloCancelOption = UIManager.get("OptionPane.cancelButtonText", l);// TODO: // i18n? Authenticator.setDefault(new MyDialogAuthenticator()); }
public WebAccessor() { this.parent = parent; Locale l = null; if (parent != null) parent.getLocale(); soloCancelOption = UIManager.get("OptionPane.cancelButtonText", l);// TODO: // i18n? Authenticator.setDefault(new MyDialogAuthenticator()); }
3,239,788
public WebAccessor(Component parent) { this.parent = parent; Locale l = null; if (parent != null) parent.getLocale(); soloCancelOption = UIManager.get("OptionPane.cancelButtonText", l);// TODO: // i18n? Authenticator.setDefault(new MyDialogAuthenticator()); }
public WebAccessor(Component parent) { this.parent = parent; Locale l = null; if (parent != null) parent.getLocale(); soloCancelOption = UIManager.get("OptionPane.cancelButtonText", l);// TODO: // i18n? Authenticator.setDefault(new MyDialogAuthenticator()); }
3,239,789
public void runAutomated(AutomatedInstallData idata, XMLElement panelRoot) { try { this.worker = new ProcessPanelWorker(idata, this); this.worker.run(); } catch (IOException e) { e.printStackTrace(); } }
public void runAutomated(AutomatedInstallData idata, XMLElement panelRoot) { try { ProcessPanelWorker worker = new ProcessPanelWorker(idata, this); this.worker.run(); } catch (IOException e) { e.printStackTrace(); } }
3,239,790
public void runAutomated(AutomatedInstallData idata, XMLElement panelRoot) { try { this.worker = new ProcessPanelWorker(idata, this); this.worker.run(); } catch (IOException e) { e.printStackTrace(); } }
public void runAutomated(AutomatedInstallData idata, XMLElement panelRoot) { try { this.worker = new ProcessPanelWorker(idata, this); worker.run(); } catch (IOException e) { e.printStackTrace(); } }
3,239,791
public LicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); // We load the licence loadLicence(); // We put our components JLabel infoLabel = new JLabel(parent.langpack.getString("LicencePanel...
public LicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); // We load the licence loadLicence(); // We put our components JLabel infoLabel = new JLabel( parent.langpack.getString("LicencePane...
3,239,792
public LicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); // We load the licence loadLicence(); // We put our components JLabel infoLabel = new JLabel(parent.langpack.getString("LicencePanel...
public LicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); // We load the licence loadLicence(); // We put our components JLabel infoLabel = new JLabel(parent.langpack.getString("LicencePanel...
3,239,793
public LicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); // We load the licence loadLicence(); // We put our components JLabel infoLabel = new JLabel(parent.langpack.getString("LicencePanel...
public LicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); // We load the licence loadLicence(); // We put our components JLabel infoLabel = new JLabel(parent.langpack.getString("LicencePanel...
3,239,794
public LicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); // We load the licence loadLicence(); // We put our components JLabel infoLabel = new JLabel(parent.langpack.getString("LicencePanel...
public LicencePanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // We initialize our layout setLayout(new BoxLayout(this, BoxLayout.Y_AXIS)); // We load the licence loadLicence(); // We put our components JLabel infoLabel = new JLabel(parent.langpack.getString("LicencePanel...
3,239,795
public boolean isValidated() { if (noRadio.isSelected()) { parent.exit(); return false; } else return (yesRadio.isSelected()); }
public boolean isValidated() { if (noRadio.isSelected()) { parent.exit(); return false; } else return (yesRadio.isSelected()); }
3,239,796
private void loadLicence() { try { // We read it String resNamePrifix = "LicencePanel.licence"; licence = ResourceManager.getInstance().getTextResource(resNamePrifix); } catch (Exception err) { licence = "Error : could not load the licence text !"; } }
private void loadLicence() { try { // We read it String resNamePrifix = "LicencePanel.licence"; licence = ResourceManager.getInstance().getTextResource(resNamePrifix); } catch (Exception err) { licence = "Error : could not load the licence text !"; } }
3,239,797
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = data.getFirstChildNamed("packs"); if (root == null) { throw new Exception ("no packs specified"); } // dummy variable used for values from XML Strin...
protected ArrayList getPacks(XMLElement data) throws Exception { // Initialisation ArrayList packs = new ArrayList(); XMLElement root = data.getFirstChildNamed("packs"); if (root == null) { throw new Exception ("no packs specified"); } // dummy variable used for values from XML Strin...
3,239,798
public Unpacker( AutomatedInstallData idata, AbstractUIProgressHandler handler) { super("IzPack - Unpacker thread"); this.idata = idata; this.handler = handler; // Initialize the variable substitutor vs = new VariableSubstitutor(idata.getVariableValueMap()); }
public Unpacker( AutomatedInstallData idata, AbstractUIProgressHandler handler) { super("IzPack - Unpacker thread"); this.idata = idata; this.handler = handler; // Initialize the variable substitutor vs = new VariableSubstitutor(idata.getVariables()); }
3,239,799
public Pack(String name, String description, boolean required) { this.name = name; this.description = description; this.required = required; nbytes = 0; }
public Pack(String name, String description, String targetOs, boolean required) { this.name = name; this.description = description; this.required = required; nbytes = 0; }
3,239,800
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { ZipInputStream skeleton_is = new ZipInputStream (getClass().getResourceAsStream("/lib/installer.jar")); if (skeleton_is == null) { skeleton_is = new JarInputStream (new FileInputStream ( Compiler.IZPACK_HOME + "lib" +...
public void writeSkeletonInstaller (JarOutputStream out) throws Exception { InputStream is = getClass().getResourceAsStream("lib/installer.jar"); ZipInputStream skeleton_is = null; if (is != null) { skeleton_is = new ZipInputStream (is); } if (skeleton_is == null) { skeleton_is = new JarInputStream ...
3,239,802
private void initvalues() { // name to pack position map namesPos = new HashMap(); for (int i = 0; i < packs.size(); i++) { Pack pack = (Pack) packs.get(i); namesPos.put(pack.name, new Integer(i)); } // Init to the first values for (int i = 0...
private void initvalues() { // name to pack position map namesPos = new HashMap(); for (int i = 0; i < packs.size(); i++) { Pack pack = (Pack) packs.get(i); namesPos.put(pack.name, new Integer(i)); } // Init to the first values for (int i = 0...
3,239,803
public boolean isCellEditable(int rowIndex, int columnIndex) { if (checkValues[rowIndex] < 0) { return false; } else if (columnIndex == 0) { return true; } else { return false; } }
public boolean isCellEditable(int rowIndex, int columnIndex) { if (checkValues[rowIndex] < 0) { return false; } else if (columnIndex == 0) { return true; } else { return false; } }
3,239,804
public CompileWorker(AutomatedInstallData idata, CompileHandler handler) throws IOException { this.idata = idata; this.handler = handler; this.vs = new VariableSubstitutor(idata.getVariableValueMap()); this.compilationThread = null; if (!readSpec()) throw new IOException("Error reading compila...
public CompileWorker(AutomatedInstallData idata, CompileHandler handler) throws IOException { this.idata = idata; this.handler = handler; this.vs = new VariableSubstitutor(idata.getVariables()); this.compilationThread = null; if (!readSpec()) throw new IOException("Error reading compilation sp...
3,239,805
public void makeXMLData(AutomatedInstallData idata, XMLElement panelRoot) { // We add each pack to the panelRoot element for (int i = 0; i < idata.availablePacks.size(); i++) { Pack pack = (Pack) idata.availablePacks.get(i); XMLElement el = new XMLElement("pack"); ...
public void makeXMLData(AutomatedInstallData idata, XMLElement panelRoot) { // We add each pack to the panelRoot element for (int i = 0; i < idata.availablePacks.size(); i++) { Pack pack = (Pack) idata.availablePacks.get(i); XMLElement el = new XMLElement("pack"); ...
3,239,806
public void runAutomated(AutomatedInstallData idata, XMLElement panelRoot) { // We first get the <selected> child (new from version 3.7.0). XMLElement selectedPacks = panelRoot.getFirstChildNamed("selected"); // We get the packs markups Vector pm = selectedPacks.getChildrenNamed("pack...
public void runAutomated(AutomatedInstallData idata, XMLElement panelRoot) { // We first get the <selected> child (new from version 3.7.0). XMLElement selectedPacks = panelRoot.getFirstChildNamed("selected"); // We get the packs markups Vector pm = selectedPacks.getChildrenNamed("pack...
3,239,807
public void returnObject(Object obj) throws Exception { assertOpen(); boolean success = true; if(_testOnReturn && !(_factory.validateObject(obj))) { success = false; } else { try { _factory.passivateObject(obj); } catch(Exception e) { ...
public void returnObject(Object obj) throws Exception { assertOpen(); boolean success = true; if(_testOnReturn && !(_factory.validateObject(obj))) { success = false; } else { try { _factory.passivateObject(obj); } catch(Exception e) { ...
3,239,808
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Inse...
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Inse...
3,239,809
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Inse...
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Inse...
3,239,810
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Inse...
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Inse...
3,239,811
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Inse...
public HelloPanel(InstallerFrame parent, InstallData idata) { super(parent, idata); // The 'super' layout GridBagLayout superLayout = new GridBagLayout(); setLayout(superLayout); GridBagConstraints gbConstraints = new GridBagConstraints(); gbConstraints.insets = new Inse...
3,239,812
public boolean validateObject(Object key, Object obj) { return true; }
public boolean validateObject(Object key, Object obj) { return true; }
3,239,813
public void copyStackAcrossT(int from, int to, int sizeZ) { PlaneArea pa; ROI3D roi3D = logicalROI.getStack(from); for (int z = 0; z < sizeZ; z++) { pa = roi3D.getPlaneArea(z); for (int t = from+1; t <= to; t++) { if (pa != null) logicalROI...
public void copyStackAcrossT(int from, int to, int sizeZ) { PlaneArea pa; ROI3D roi3D = logicalROI.getStack(from); for (int z = 0; z < sizeZ; z++) { pa = roi3D.getPlaneArea(z); for (int t = from; t <= to; t++) { if (pa != null) logicalROI.s...
3,239,814
public String[] getValues() { return new String[] { Compiler.STANDARD, Compiler.WEB}; }
public String[] getValues() { return new String[] { CompilerConfig.STANDARD, CompilerConfig.WEB}; }
3,239,815
public void execute() throws org.apache.tools.ant.BuildException { if (input == null) throw new BuildException(ResourceBundle.getBundle( "com/izforge/izpack/ant/langpacks/messages").getString( "input_must_be_specified")); if (output == null) ...
public void execute() throws org.apache.tools.ant.BuildException { if (input == null && config == null) throw new BuildException(ResourceBundle.getBundle( "com/izforge/izpack/ant/langpacks/messages").getString( "input_must_be_specified")); if (outpu...
3,239,817
public void execute() throws org.apache.tools.ant.BuildException { if (input == null) throw new BuildException(ResourceBundle.getBundle( "com/izforge/izpack/ant/langpacks/messages").getString( "input_must_be_specified")); if (output == null) ...
public void execute() throws org.apache.tools.ant.BuildException { if (input == null) throw new BuildException(ResourceBundle.getBundle( "com/izforge/izpack/ant/langpacks/messages").getString( "input_must_be_specified")); if (output == null) ...
3,239,818
public void execute() throws org.apache.tools.ant.BuildException { if (input == null) throw new BuildException(ResourceBundle.getBundle( "com/izforge/izpack/ant/langpacks/messages").getString( "input_must_be_specified")); if (output == null) ...
public void execute() throws org.apache.tools.ant.BuildException { if (input == null) throw new BuildException(ResourceBundle.getBundle( "com/izforge/izpack/ant/langpacks/messages").getString( "input_must_be_specified")); if (output == null) ...
3,239,819
public CustomSuite(final String projectName, final String suiteName, final Map parameters, final String annotationType) { super(true); m_projectName= projectName; m_suiteName= suiteName; m_parameters= parameters; if("1.4".equ...
public CustomSuite(final String projectName, final String suiteName, final Map parameters, final String annotationType) { super(true); m_projectName= projectName; m_suiteName= suiteName; m_parameters= parameters; if("1.4".equ...
3,239,821
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
3,239,823
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File(tempDir); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.out.p...
3,239,824
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
3,239,825
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
3,239,826
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
3,239,827
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
3,239,828
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
3,239,829
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
private static PrintWriter createLogFile( ) { String tempDir = System.getProperty( "java.io.tmpdir" ); File tempDirFile = new File( tempDir ); try { tempDirFile.mkdirs( ); } catch( RuntimeException e1 ) { e1.printStackTrace( ); } String logfilename = LOGFILENAME; System.o...
3,239,830
public static void error( Object s ) { trace( s ); System.err.println( s ); System.err.flush( ); log( s ); }
public static void error( Object s ) { trace( s ); System.err.println( s ); System.err.flush( ); log( s ); }
3,239,831
public static PrintWriter getLogFile( ) { PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); return logfile; }
public static PrintWriter getLogFile( ) { PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); return logfile; }
3,239,832
public static PrintWriter getLogFile( ) { PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); return logfile; }
public static PrintWriter getLogFile( ) { PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); return logfile; }
3,239,833
public static boolean isLOG( ) { return LOG; }
public static boolean isLOG( ) { return LOG; }
3,239,834
public static boolean isSTACKTRACE( ) { return STACKTRACE; }
public static boolean isSTACKTRACE( ) { return STACKTRACE; }
3,239,835
public static boolean isTRACE( ) { return TRACE; }
public static boolean isTRACE( ) { return TRACE; }
3,239,836
public static void log( Object o ) { //if LOG was given if(LOG ) { PrintWriter logfile; if( ( logfile = getLogFile( ) ) == null ) { logfile = createLogFile( ); } if( logfile != null ) { if( o == null ) { o = "null"; } log...
public static void log( Object o ) { //if LOG was given if(LOG ) { PrintWriter logfile; if( ( logfile = getLogFile( ) ) == null ) { logfile = createLogFile( ); } if( logfile != null ) { if( o == null ) { o = "null"; } log...
3,239,837
public static void log( Object o ) { //if LOG was given if(LOG ) { PrintWriter logfile; if( ( logfile = getLogFile( ) ) == null ) { logfile = createLogFile( ); } if( logfile != null ) { if( o == null ) { o = "null"; } log...
public static void log( Object o ) { //if LOG was given if(LOG ) { PrintWriter logfile; if( ( logfile = getLogFile( ) ) == null ) { logfile = createLogFile( ); } if( logfile != null ) { if( o == null ) { o = "null"; } log...
3,239,838
public static void log( Object o ) { //if LOG was given if(LOG ) { PrintWriter logfile; if( ( logfile = getLogFile( ) ) == null ) { logfile = createLogFile( ); } if( logfile != null ) { if( o == null ) { o = "null"; } log...
public static void log( Object o ) { //if LOG was given if(LOG ) { PrintWriter logfile; if( ( logfile = getLogFile( ) ) == null ) { logfile = createLogFile( ); if( logfile != null ) { if( o == null ) { o = "null"; logfile...
3,239,839
public static void setLOG( boolean aFlag ) { System.out.println( DLOG + " = " + aFlag ); LOG = aFlag; }
public static void setLOG( boolean aFlag ) { System.out.println( DLOG + " = " + aFlag ); LOG = aFlag; }
3,239,840
public static synchronized PrintWriter setLogFile( PrintWriter aLogFile ) { System.getProperties( ).put( IZPACK_LOGFILE, aLogFile ); PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); if( logfile == null ) { System.err.println( "Set::logfile == null" ); } return l...
public static synchronized PrintWriter setLogFile( PrintWriter aLogFile ) { System.getProperties( ).put( IZPACK_LOGFILE, aLogFile ); PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); if( logfile == null ) { System.err.println( "Set::logfile == null" ); } return l...
3,239,841
public static synchronized PrintWriter setLogFile( PrintWriter aLogFile ) { System.getProperties( ).put( IZPACK_LOGFILE, aLogFile ); PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); if( logfile == null ) { System.err.println( "Set::logfile == null" ); } return l...
public static synchronized PrintWriter setLogFile( PrintWriter aLogFile ) { System.getProperties( ).put( IZPACK_LOGFILE, aLogFile ); PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); if( logfile == null ) { System.err.println( "Set::logfile == null" ); } return l...
3,239,842
public static synchronized PrintWriter setLogFile( PrintWriter aLogFile ) { System.getProperties( ).put( IZPACK_LOGFILE, aLogFile ); PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); if( logfile == null ) { System.err.println( "Set::logfile == null" ); } return l...
public static synchronized PrintWriter setLogFile( PrintWriter aLogFile ) { System.getProperties( ).put( IZPACK_LOGFILE, aLogFile ); PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); if( logfile == null ) { System.err.println( "Set::logfile == null" ); } return l...
3,239,843
public static synchronized PrintWriter setLogFile( PrintWriter aLogFile ) { System.getProperties( ).put( IZPACK_LOGFILE, aLogFile ); PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); if( logfile == null ) { System.err.println( "Set::logfile == null" ); } return l...
public static synchronized PrintWriter setLogFile( PrintWriter aLogFile ) { System.getProperties( ).put( IZPACK_LOGFILE, aLogFile ); PrintWriter logfile = (PrintWriter) System.getProperties().get(IZPACK_LOGFILE); if( logfile == null ) { System.err.println( "Set::logfile == null" ); } return l...
3,239,844
public static void setSTACKTRACE( boolean aFlag ) { System.out.println( DSTACKTRACE + " = " + aFlag ); STACKTRACE = aFlag; }
public static void setSTACKTRACE( boolean aFlag ) { System.out.println( DSTACKTRACE + " = " + aFlag ); STACKTRACE = aFlag; }
3,239,845
public static void setTRACE( boolean aFlag ) { System.out.println( DTRACE + " = " + aFlag ); TRACE = aFlag; }
public static void setTRACE( boolean aFlag ) { System.out.println( DTRACE + " = " + aFlag ); TRACE = aFlag; }
3,239,846
public static boolean stackTracing( ) { return STACKTRACE; }
public static boolean stackTracing( ) { return STACKTRACE; }
3,239,847
public static void trace( Object s ) { if( TRACE ) { // console.println(s.toString()); System.out.println( s ); if( STACKTRACE && ( s instanceof Throwable ) ) { // StringWriter sw = new StringWriter(); // PrintWriter pw = new PrintWriter(sw); // ((Throwable)s).printStac...
public static void trace( Object s ) { if( TRACE ) { // console.println(s.toString()); System.out.println( s ); if( STACKTRACE && ( s instanceof Throwable ) ) { // StringWriter sw = new StringWriter(); // PrintWriter pw = new PrintWriter(sw); // ((Throwable)s).printStac...
3,239,848
public static void trace( Object s ) { if( TRACE ) { // console.println(s.toString()); System.out.println( s ); if( STACKTRACE && ( s instanceof Throwable ) ) { // StringWriter sw = new StringWriter(); // PrintWriter pw = new PrintWriter(sw); // ((Throwable)s).printStac...
public static void trace( Object s ) { if( TRACE ) { // console.println(s.toString()); if (TRACE) { System.out.println(s); if( STACKTRACE && ( s instanceof Throwable ) ) { // StringWriter sw = new StringWriter(); // PrintWriter pw = new PrintWriter(sw); // ((Throwable)s...
3,239,849
public static void trace( Object s ) { if( TRACE ) { // console.println(s.toString()); System.out.println( s ); if( STACKTRACE && ( s instanceof Throwable ) ) { // StringWriter sw = new StringWriter(); // PrintWriter pw = new PrintWriter(sw); // ((Throwable)s).printStac...
public static void trace( Object s ) { if( TRACE ) { // console.println(s.toString()); System.out.println( s ); if( STACKTRACE && ( s instanceof Throwable ) ) { // StringWriter sw = new StringWriter(); // PrintWriter pw = new PrintWriter(sw); // ((Throwable)s).printStac...
3,239,850
public static void trace( Object s ) { if( TRACE ) { // console.println(s.toString()); System.out.println( s ); if( STACKTRACE && ( s instanceof Throwable ) ) { // StringWriter sw = new StringWriter(); // PrintWriter pw = new PrintWriter(sw); // ((Throwable)s).printStac...
public static void trace( Object s ) { if( TRACE ) { // console.println(s.toString()); System.out.println( s ); if( STACKTRACE && ( s instanceof Throwable ) ) { // StringWriter sw = new StringWriter(); // PrintWriter pw = new PrintWriter(sw); // ((Throwable)s).printStac...
3,239,851
public static void trace( Object s ) { if( TRACE ) { // console.println(s.toString()); System.out.println( s ); if( STACKTRACE && ( s instanceof Throwable ) ) { // StringWriter sw = new StringWriter(); // PrintWriter pw = new PrintWriter(sw); // ((Throwable)s).printStac...
public static void trace( Object s ) { if( TRACE ) { // console.println(s.toString()); System.out.println( s ); if( STACKTRACE && ( s instanceof Throwable ) ) { // StringWriter sw = new StringWriter(); // PrintWriter pw = new PrintWriter(sw); // ((Throwable)s).printStac...
3,239,852
public static boolean tracing( ) { return TRACE; }
public static boolean tracing( ) { return TRACE; }
3,239,853
IdentityKey(final int ident) { this.ident = ident; }
IdentityKey(final int ident) { this.ident = ident; }
3,239,854