bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public Object valueForBinding(String binding) { Object value=null; logDebugInfo(); if (super.hasBinding(binding)) { log.debug("super.hasBinding(binding) == true"); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != null) { log...
public Object valueForBinding(String binding) { Object value=null; logDebugInfo(); if (super.hasBinding(binding)) { log.debug("super.hasBinding(binding) == true"); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != null) { log...
58,408
public Object valueForBinding(String binding) { Object value=null; logDebugInfo(); if (super.hasBinding(binding)) { log.debug("super.hasBinding(binding) == true"); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != null) { log...
public Object valueForBinding(String binding) { Object value=null; logDebugInfo(); if (super.hasBinding(binding)) { log.debug("super.hasBinding(binding) == true"); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != null) { log...
58,409
public QueuedJobCount(int value) { super(value); if (value < 0) throw new IllegalArgumentException("value may not be less then 0"); }
public QueuedJobCount(int value) { super(value); if (value < 0) throw new IllegalArgumentException("value may not be less than 0"); }
58,410
public void setDuration(long length);
public void setDuration(long length);
58,411
public void setIntensity(double mag);
public void setIntensity(double mag);
58,412
public void setLocation(LatLonPoint location);
public void setLocation(LatLonPoint location);
58,413
public void actionPerformed(ActionEvent e) { organizer.duplicate(); }
public void actionPerformed(ActionEvent e) { organizer.duplicate(); }
58,414
public void actionPerformed(ActionEvent e) { organizer.deleteExperiment(); }
public void actionPerformed(ActionEvent e) { organizer.deleteExperiment(); }
58,415
public void actionPerformed(ActionEvent e) { organizer.delete(); }
public void actionPerformed(ActionEvent e) { organizer.delete(); }
58,416
public void actionPerformed(ActionEvent e) { organizer.renameExperiment(); }
public void actionPerformed(ActionEvent e) { organizer.renameExperiment(); }
58,417
public void actionPerformed(ActionEvent e) { organizer.rename(); }
public void actionPerformed(ActionEvent e) { organizer.rename(); }
58,418
public void actionPerformed(ActionEvent e) { organizer.startBuilder(); }
public void actionPerformed(ActionEvent e) { organizer.startBuilder(); }
58,419
public void actionPerformed(ActionEvent e) { organizer.deleteRecipe(); }
public void actionPerformed(ActionEvent e) { organizer.deleteRecipe(); }
58,420
public void actionPerformed(ActionEvent e) { organizer.renameRecipe(); }
public void actionPerformed(ActionEvent e) { organizer.renameRecipe(); }
58,421
public void actionPerformed(ActionEvent e) { organizer.deleteFolder(); }
public void actionPerformed(ActionEvent e) { organizer.deleteFolder(); }
58,422
public void actionPerformed(ActionEvent e) { organizer.renameFolder(); }
public void actionPerformed(ActionEvent e) { organizer.renameFolder(); }
58,423
public void actionPerformed(ActionEvent e) { organizer.deleteSociety(); }
public void actionPerformed(ActionEvent e) { organizer.deleteSociety(); }
58,424
public void actionPerformed(ActionEvent e) { organizer.renameSociety(); }
public void actionPerformed(ActionEvent e) { organizer.deleteSociety(); }
58,425
public void actionPerformed(ActionEvent e) { organizer.selectRecipeFromDatabase(); }
public void actionPerformed(ActionEvent e) { organizer.selectRecipeFromDatabase(); }
58,426
public void actionPerformed(ActionEvent e) { organizer.newRecipe(); }
public void actionPerformed(ActionEvent e) { organizer.newRecipe(); }
58,427
public void actionPerformed(ActionEvent e) { organizer.saveInDatabase(); }
public void actionPerformed(ActionEvent e) { organizer.saveInDatabase(); }
58,428
public void actionPerformed(ActionEvent e) { organizer.startExperimentBuilder(); }
public void actionPerformed(ActionEvent e) { organizer.startExperimentBuilder(); }
58,429
public void actionPerformed(ActionEvent e) { organizer.startConsole(); }
public void actionPerformed(ActionEvent e) { organizer.startConsole(); }
58,430
public void run() { // Check the return value? societyCopy.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); }
public void run() { // Check the return value? societyCopy.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); }
58,431
public void run() { exp.saveToDb(saveToDbConflictHandler); GUIUtils.timeConsumingTaskEnd(organizer); }
public void run() { recipeCopy.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); }
58,432
public void run() { exp.saveToDb(saveToDbConflictHandler); GUIUtils.timeConsumingTaskEnd(organizer); }
public void run() { exp.saveToDb(saveToDbConflictHandler); GUIUtils.timeConsumingTaskEnd(organizer); }
58,433
public void run() { recipeCopy.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); }
public void run() { societyCopy.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); }
58,434
protected String generateExperimentName(String name) { return experimentNames.generateName(name); }
protected String generateExperimentName(String name) { return experimentNames.generateName(name); }
58,435
protected String generateSocietyName(String name) { return societyNames.generateName(name); }
protected String generateSocietyName(String name) { return societyNames.generateName(name); }
58,436
public void run() { // a potentially long process if (cmtDialog.processResults()) { final String trialId = cmtDialog.getTrialId(); if (trialId != null) { Experiment experiment = helper.createExperiment(originalExperimentName, ...
public void run() { // a potentially long process if (cmtDialog.processResults()) { final String trialId = cmtDialog.getTrialId(); if (trialId != null) { Experiment experiment = helper.createExperiment(originalExperimentName, ...
58,437
public void run() { boolean success = sc.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); if (!success && organizer.log.isWarnEnabled()) { organizer.log.warn("Failed to save society " + sc.getSocietyName()); } else if (organ...
public void run() { exp.saveToDb(saveToDbConflictHandler); GUIUtils.timeConsumingTaskEnd(organizer); if (!success && organizer.log.isWarnEnabled()) { organizer.log.warn("Failed to save society " + sc.getSocietyName()); } else if (organ...
58,438
public void run() { boolean success = sc.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); if (!success && organizer.log.isWarnEnabled()) { organizer.log.warn("Failed to save society " + sc.getSocietyName()); } else if (organ...
public void run() { boolean success = sc.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); if (!success && organizer.log.isWarnEnabled()) { organizer.log.warn("Failed to save society " + sc.getSocietyName()); } else if (organ...
58,439
public void run() { // a potentially long process Experiment experiment = helper.createExperiment(originalExperimentName, expName, expId, trialId); if (experiment != null) addExperimentAndComponentsToWorkspace(experiment, getSelectedNode()); GUIUtils.timeConsumingT...
public void run() { // a potentially long process Experiment experiment = helper.createExperiment(originalExperimentName, expName, expId, trialId); if (experiment != null) addExperimentAndComponentsToWorkspace(experiment, getSelectedNode()); GUIUtils.timeConsumingT...
58,440
public void run() { experimentCopy.saveToDb(saveToDbConflictHandler); GUIUtils.timeConsumingTaskEnd(organizer); }
public void run() { experimentCopy.saveToDb(saveToDbConflictHandler); GUIUtils.timeConsumingTaskEnd(organizer); }
58,441
public static PopulateDb.ConflictHandler createSaveToDbConflictHandler(final Component parent) { return new PopulateDb.ConflictHandler() { public int handleConflict(Object msg, Object[] choices, Object defaultChoice) { return JOptionPane.showOptionDialog(parent, ...
public static PopulateDb.ConflictHandler createSaveToDbConflictHandler(final Component parent) { return new PopulateDb.ConflictHandler() { public int handleConflict(Object msg, Object[] choices, Object defaultChoice) { return JOptionPane.showOptionDialog(parent, ...
58,442
public OrganizerNameSet(String namePrefix) { super(namePrefix); }
public OrganizerNameSet(String namePrefix, String prompt, String databaseCheck) { super(namePrefix); }
58,443
public ImageIcon(String s) { this(s, ""); }
public ImageIcon(String s) { this(s, s); }
58,445
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
58,447
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
pdb = new PopulateDb("CMT", "CSHNA", "CSMI", getExperimentName(), getExperimentID(), trialID, ch, sc.getAssemblyId()); public void saveToDb(DBConflictHandler ch) {pdb = new PopulateDb("CMT", "CSHNA", "CSMI", getExperimentName(), getExperimentID(), trialID, ch, sc.getAssemblyId()); pdb = new PopulateDb("CMT", "CSHNA", "...
58,448
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
58,449
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
58,450
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
58,451
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
public void saveToDb(DBConflictHandler ch) { try { updateNameServerHostName(); // Be sure this is up-to-date List components = getComponents(); boolean componentWasRemoved = false; PopulateDb pdb = null; SocietyComponent sc = getSocietyComponent(); if (sc == null) { if (log.isE...
58,452
public static void showMessageDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, messageType); JDialog dialog = pane.createDialog(parentComponent, title); d...
public static void showMessageDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, messageType); JDialog dialog = pane.createDialog(parentComponent, title); d...
58,454
public static void showMessageDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, messageType); JDialog dialog = pane.createDialog(parentComponent, title); d...
public static void showMessageDialog(Component parentComponent, Object message, String title, int messageType) { JOptionPane pane = new JOptionPane(message, messageType); JDialog dialog = pane.createDialog(parentComponent, title); d...
58,455
public JTextArea(String text, int rows, int columns) { this(null, text, rows, columns); }
public JTextArea() { this(null, text, rows, columns); }
58,456
public JTextArea(String text, int rows, int columns) { this(null, text, rows, columns); }
public JTextArea(String text, int rows, int columns) { this(null, null, 0, 0); }
58,457
public Vector(Collection c) { int csize = c.size(); elementData = new Object[csize]; elementCount = csize; Iterator itr = c.iterator(); for (int i = 0; i < csize; i++) { elementData[i] = itr.next(); } }
public Vector() { int csize = c.size(); elementData = new Object[csize]; elementCount = csize; Iterator itr = c.iterator(); for (int i = 0; i < csize; i++) { elementData[i] = itr.next(); } }
58,458
public Vector(Collection c) { int csize = c.size(); elementData = new Object[csize]; elementCount = csize; Iterator itr = c.iterator(); for (int i = 0; i < csize; i++) { elementData[i] = itr.next(); } }
public Vector(Collection c) { int csize = c.size(); elementData = new Object[csize]; elementCount = csize; Iterator itr = c.iterator(); for (int i = 0; i < csize; i++) { elementData[i] = itr.next(); } }
58,459
public JList(Vector listData) { init(); setListData(listData); }
public JList() { init(); setListData(listData); }
58,460
public JList(Vector listData) { init(); setListData(listData); }
public JList(Vector listData) { init(); }
58,461
public String generateName(String name) { if (contains(name)) { String base = name; do { name = base + ++nameCounter; } while (contains(name)); } return name; }
public String generateName(String name) { if (contains(name)) { String base = name; do { name = base + ++nameCounter; } while (contains(name)); } return name; }
58,462
protected String getUniqueName(String prompt, String originalName, boolean allowExistingName, String databaseCheck) { Method dbCheckMethod = null; String name = null; while (true) { // get new name from user ...
protected String getUniqueName(String prompt, String originalName, boolean allowExistingName, String databaseCheck) { Method dbCheckMethod = null; String name = null; while (true) { // get new name from user ...
58,463
protected String getUniqueName(String prompt, String originalName, boolean allowExistingName, String databaseCheck) { Method dbCheckMethod = null; String name = null; while (true) { // get new name from user ...
protected String getUniqueName(String prompt, String originalName, boolean allowExistingName, String databaseCheck) { Method dbCheckMethod = null; String name = null; while (true) { // get new name from user ...
58,464
protected String getUniqueName(String prompt, String originalName, boolean allowExistingName, String databaseCheck) { Method dbCheckMethod = null; String name = null; while (true) { // get new name from user ...
protected String getUniqueName(String prompt, String originalName, boolean allowExistingName, String databaseCheck) { Method dbCheckMethod = null; String name = null; while (true) { // get new name from user ...
58,465
protected boolean isUniqueName(String name, String databaseCheck) { boolean inDatabase = false; if (databaseCheck != null) { Method dbCheckMethod = getDatabaseCheckMethod(databaseCheck); if (dbCheckMethod != null) inDatabase = isInDatabase(name, dbCheckMethod); } return !contains(name) &&...
protected boolean isUniqueName(String name, String databaseCheck) { boolean inDatabase = false; if (databaseCheck != null) { Method dbCheckMethod = getDatabaseCheckMethod(databaseCheck); if (dbCheckMethod != null) inDatabase = isInDatabase(name, dbCheckMethod); } return !contains(name) &&...
58,466
public FileInputStream(File file) throws FileNotFoundException, IOException { this(file.getPath()); }
public FileInputStream(String name) throws FileNotFoundException { this(file.getPath()); }
58,467
public FileInputStream(File file) throws FileNotFoundException, IOException { this(file.getPath()); }
public FileInputStream(File file) throws FileNotFoundException, IOException { SecurityManager s = System.getSecurityManager(); if (s != null) s.checkRead(name); fd = new FileDescriptor(name, FileDescriptor.READ); }
58,468
public FileOutputStream (File file) throws SecurityException, FileNotFoundException { this (file.getPath(), false); }
public FileOutputStream (String path, boolean append) throws SecurityException, FileNotFoundException { this (file.getPath(), false); }
58,469
public FileOutputStream (File file) throws SecurityException, FileNotFoundException { this (file.getPath(), false); }
public FileOutputStream (File file) throws SecurityException, FileNotFoundException { SecurityManager s = System.getSecurityManager(); if (s != null) s.checkWrite(path); fd = new FileDescriptor (path, (append ? FileDescriptor.APPEND : FileDescriptor.WRITE)); }
58,470
public final void writeObject (Object obj) throws IOException { if (useSubclassMethod) { writeObjectOverride (obj); return; } boolean was_serializing = isSerializing; if (! was_serializing) setBlockDataMode (false); try { isSerializing = true; boolean replaceDone = false...
public final void writeObject (Object obj) throws IOException { if (useSubclassMethod) { writeObjectOverride (obj); return; } boolean was_serializing = isSerializing; if (! was_serializing) setBlockDataMode (false); try { isSerializing = true; boolean replaceDone = false...
58,471
public CMTDialog(JFrame parent, Organizer organizer, String experimentName, String experimentId) { super(parent, "Threads and Groups", true); // modal dialog this.organizer = organizer; // to get unique names this.experimentName = experimentName; this.experimentId = exp...
public CMTDialog(JFrame parent, Organizer organizer, String experimentName, String experimentId) { super(parent, "Threads and Groups", true); // modal dialog this.organizer = organizer; // to get unique names this.experimentName = experimentName; this.experimentId = exp...
58,472
protected RecipeComponent getDatabaseRecipe(String recipeId, String recipeName) { createLogger(); String query = null; RecipeComponent rc = null; try { Connection conn = DBUtils.getConnection(); try { Map substitutions = new HashMap(); ...
protected RecipeComponent getDatabaseRecipe(String recipeId, String recipeName) { createLogger(); String query = null; RecipeComponent rc = null; try { Connection conn = DBUtils.getConnection(); try { Map substitutions = new HashMap(); ...
58,473
protected RecipeComponent getDatabaseRecipe(String recipeId, String recipeName) { createLogger(); String query = null; RecipeComponent rc = null; try { Connection conn = DBUtils.getConnection(); try { Map substitutions = new HashMap(); ...
protected RecipeComponent getDatabaseRecipe(String recipeId, String recipeName) { createLogger(); String query = null; RecipeComponent rc = null; try { Connection conn = DBUtils.getConnection(); try { Map substitutions = new HashMap(); ...
58,474
public void setLocation (Point2D pt) { setLocation(pt.getX(), pt.getY()); }
public void setLocation (Point2D pt) { setLocation(pt.getX(), pt.getY()); }
58,475
public SAPDBPlugIn( JDBCAdaptor theAdaptor) { super( theAdaptor ); }
public SAPDBPlugIn( JDBCAdaptor theAdaptor) { super( theAdaptor ); }
58,476
private String[] getRecipeIdAndClass(String recipeName) throws SQLException { substitutions.put(":recipe_name:", recipeName); ResultSet rs = executeQuery(stmt, dbp.getQuery("queryLibRecipeByName", substitutions)); try { if (rs.next()) { return new String[] {...
private String[] getRecipeIdAndClass(String recipeName) throws SQLException { substitutions.put(":recipe_name:", recipeName); ResultSet rs = executeQuery(stmt, dbp.getQuery("queryLibRecipeByName", substitutions)); try { if (rs.next()) { return new String[] {...
58,477
private String[] getRecipeIdAndClass(String recipeName) throws SQLException { substitutions.put(":recipe_name:", recipeName); ResultSet rs = executeQuery(stmt, dbp.getQuery("queryLibRecipeByName", substitutions)); try { if (rs.next()) { return new String[] {...
private String[] getRecipeIdAndClass(String recipeName) throws SQLException { substitutions.put(":recipe_name:", recipeName); ResultSet rs = executeQuery(stmt, dbp.getQuery("queryLibRecipeByName", substitutions)); try { if (rs.next()) { return new String[] {...
58,478
public String insertLibRecipe(RecipeComponent rc) throws SQLException { String recipeId = checkRecipeExistence(rc); if (recipeId != null) return recipeId; recipeId = getNextId("queryMaxRecipeId", "RECIPE-"); substitutions.put(":recipe_id:", recipeId); substitutions.put(":java_clas...
public String insertLibRecipe(RecipeComponent rc) throws SQLException { String recipeId = checkRecipeExistence(rc); if (recipeId != null) return recipeId; recipeId = getNextId("queryMaxRecipeId", "RECIPE-"); substitutions.put(":recipe_id:", recipeId); substitutions.put(":java_clas...
58,480
public String insureLibRecipe(RecipeComponent rc) throws SQLException { String recipeId = checkRecipeExistence(rc); if (recipeId != null) return recipeId; return insertLibRecipe(rc); }
public String insureLibRecipe(RecipeComponent rc) throws SQLException { String recipeId = checkRecipeExistence(rc); if (recipeId != null) return recipeId; return insertLibRecipe(rc); }
58,482
public int recipeExists(RecipeComponent rc) { try { if (checkRecipeExistence(rc) == null) return RECIPE_STATUS_ABSENT; else return RECIPE_STATUS_EXISTS; } catch (SQLException sqle) { return RECIPE_STATUS_DIFFERS; } }
public int recipeExists(RecipeComponent rc) { try { if (checkRecipeExistence(rc) == null) return RECIPE_STATUS_ABSENT; else return RECIPE_STATUS_EXISTS; } catch (SQLException sqle) { return RECIPE_STATUS_DIFFERS; } }
58,483
public SimpleDateFormat(String pattern) { this(pattern, Locale.getDefault()); }
public SimpleDateFormat() { this(pattern, Locale.getDefault()); }
58,485
public SimpleDateFormat(String pattern) { this(pattern, Locale.getDefault()); }
public SimpleDateFormat(String pattern) { /* * There does not appear to be a standard API for determining * what the default pattern for a locale is, so use package-scope * variables in DateFormatSymbols to encapsulate this. */ super(); Locale locale = Locale.getDefault(); calendar = new GregorianCalendar(locale...
58,486
SQLException(String message){ this(message, null, 0);}
SQLException(String message){ this(message, null, 0);}
58,487
SQLException(String message){ this(message, null, 0);}
SQLException(String message){ this(message, null, 0);}
58,488
public DecimalFormat (String pattern) { this (pattern, new DecimalFormatSymbols ()); }
public DecimalFormat () { this (pattern, new DecimalFormatSymbols ()); }
58,489
public DecimalFormat (String pattern) { this (pattern, new DecimalFormatSymbols ()); }
public DecimalFormat (String pattern) { this ("#,##0.###"); }
58,490
public Number parse (String sourceStr) throws ParseException { ParsePosition pp = new ParsePosition (0); Number r = parse (sourceStr, pp); if (r == null) { int index = pp.getErrorIndex(); if (index < 0) index = pp.getIndex(); throw new ParseException ("couldn't parse number", index); } return...
public Number parse (String sourceStr) throws ParseException { ParsePosition pp = new ParsePosition (0); Number r = parse (sourceStr, pp); if (r == null) { int index = pp.getErrorIndex(); if (index < 0) index = pp.getIndex(); throw new ParseException ("couldn't parse number", index); } return...
58,491
public static String valueOf (int i) { return Integer.toString(i); }
public static String valueOf (Object obj) { return Integer.toString(i); }
58,492
public static String valueOf (int i) { return Integer.toString(i); }
public static String valueOf (int i) { return obj == null ? "null" : obj.toString(); }
58,493
public WOComponent printerFriendlyVersion() { WOComponent result=ERDirectToWeb.printerFriendlyPageForD2WContext(d2wContext(),session()); ((EditPageInterface)result).setObject(object()); return result; }
public WOComponent printerFriendlyVersion() { WOComponent result=ERD2WFactory.erFactory().printerFriendlyPageForD2WContext(d2wContext(),session()); ((EditPageInterface)result).setObject(object()); return result; }
58,494
public static ERXLogger getERXLogger(Class clazz, String subTopic) { return (ERXLogger)getERXLogger(clazz.getName() + (subTopic != null && subTopic.length() > 0 ? "."+ subTopic : null)); }
public static ERXLogger getERXLogger(Class clazz, String subTopic) { return (ERXLogger)getERXLogger(clazz.getName() + (subTopic != null && subTopic.length() > 0 ? "."+ subTopic : null)); }
58,495
public static ERXLocalizer currentLocalizer() { ERXLocalizer current = (ERXLocalizer)ERXThreadStorage.valueForKey("localizer"); if(current == null) { current = defaultLocalizer(); } return current; }
public static ERXLocalizer currentLocalizer() { ERXLocalizer current = (ERXLocalizer)ERXThreadStorage.valueForKey("localizer"); if(current == null) { if(!isInitialized) { initialize(); } current = defaultLocalizer(); } return current; }
58,496
public Rectangle(int x, int y, int width, int height) { this.x = x; this.y = y; this.width = width; this.height = height; }
public Rectangle() { this.x = x; this.y = y; this.width = width; this.height = height; }
58,497
public Rectangle(int x, int y, int width, int height) { this.x = x; this.y = y; this.width = width; this.height = height; }
public Rectangle(int x, int y, int width, int height) { this.x = x; this.y = y; this.width = width; this.height = height; }
58,498
public void remove(Component comp) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } }
public void remove(int index) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } }
58,499
public void remove(Component comp) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } }
public void remove(Component comp) { for (int i = 0; i < ncomponents; ++i) { if (component[i] == comp) { remove(i); break; } } }
58,500
public NSArray branchChoicesForContext(D2WContext context) { NSArray choices = (NSArray)context.valueForKey("branchChoices"); if (choices == null || choices.count() == 0) { try { NSMutableArray methodChoices = new NSMutableArray(); Method methods[] = getClass()...
public NSArray branchChoicesForContext(D2WContext context) { NSArray choices = (NSArray)context.valueForKey("branchChoices"); if (choices == null || choices.count() == 0) { try { NSMutableArray methodChoices = new NSMutableArray(); Method methods[] = getClass()...
58,501
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { // XXX Implement. throw new Error("not implemented"); }
public boolean imageUpdate(Image img, int flags, int x, int y, int w, int h) { // XXX Implement. if ((flags & (FRAMEBITS | ALLBITS)) != 0) repaint (); else if ((flags & SOMEBITS) != 0) { if (incrementalDraw) { if (redrawRate != null) { long tm = redrawRate.longValue(); if (tm < 0) tm = 0; repaint (tm); } else r...
58,502
public static boolean isInfinite (double v) { return (v == POSITIVE_INFINITY || v == NEGATIVE_INFINITY); }
public boolean isInfinite () { return (v == POSITIVE_INFINITY || v == NEGATIVE_INFINITY); }
58,503
public static boolean isInfinite (double v) { return (v == POSITIVE_INFINITY || v == NEGATIVE_INFINITY); }
public static boolean isInfinite (double v) { return isInfinite (value); }
58,504
public static boolean isNaN (double v) { // This works since NaN != NaN is the only reflexive inequality // comparison which returns true. return v != v; }
public boolean isNaN () { // This works since NaN != NaN is the only reflexive inequality // comparison which returns true. return v != v; }
58,505
public static boolean isNaN (double v) { // This works since NaN != NaN is the only reflexive inequality // comparison which returns true. return v != v; }
public static boolean isNaN (double v) { // This works since NaN != NaN is the only reflexive inequality // comparison which returns true. return isNaN (value); }
58,506
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen...
private BigInteger pow(BigInteger y) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * ple...
58,507
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen...
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen...
58,508
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen...
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen...
58,509
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen...
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen...
58,510
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen...
public BigInteger pow(int exponent) { if (exponent <= 0) { if (exponent == 0) return ONE; else throw new ArithmeticException("negative exponent"); } if (isZero()) return this; int plen = words == null ? 1 : ival; // Length of pow2. int blen = ((bitLength() * exponent) >> 5) + 2 * plen...
58,511
public BigInteger abs() { return abs(this); }
private static BigInteger abs(BigInteger x) { return abs(this); }
58,512
public BigInteger abs() { return abs(this); }
public BigInteger abs() { return x.isNegative() ? neg(x) : x; }
58,513