bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
private void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); ...
58,304
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
58,305
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
58,306
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
58,307
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
58,308
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
58,309
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
58,310
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
58,311
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
58,312
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
58,313
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
void insertContentTag(ElementSpec tag) { int len = tag.getLength(); int dir = tag.getDirection(); if (dir == ElementSpec.JoinPreviousDirection) { Element prev = getCharacterElement(offset); BranchElement prevParent = (BranchElement) prev.getParentElement(); Elemen...
58,314
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: insertStartTag(data[i]); break; case ElementSpec.EndTagType: insertEnd...
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: numStartTags++; break; case ElementSpec.EndTagType: insertEndTag(data[...
58,315
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: insertStartTag(data[i]); break; case ElementSpec.EndTagType: insertEnd...
protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: insertStartTag(data[i]); break; case ElementSpec.EndTagType: numEndTag...
58,316
void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element...
private Element[] split(Element el, int offset, int space) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != off...
58,318
void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element...
void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element...
58,319
void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element...
void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element...
58,320
void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element...
void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element...
58,321
public String getMedia() { u.p("media = " + ctx.getMedia()); return ctx.getMedia(); }
public String getMedia() { return ctx.getMedia(); }
58,323
private static boolean collapseInBetweenAdjoining(Context c, Box block, CollapsableContent content, List adjoining) { CollapsedMarginPair result = collapseAdjoining(content.getMarginToCollapse(), adjoining); CachingContent parent = (CachingContent) c.getParentContent(); Content sibling = parent...
private static boolean collapseInBetweenAdjoining(Context c, Box block, CollapsableContent content, List adjoining) { CollapsedMarginPair result = collapseAdjoining(content.getMarginToCollapse(), adjoining); CachingContent parent = (CachingContent) c.getParentContent(); Content sibling = parent...
58,324
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
58,325
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
58,326
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
58,327
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
58,328
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
58,329
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin...
58,330
public AWTEvent (Object source, int id) { super(source); this.id = id; }
public AWTEvent(Event event) { super(source); this.id = id; }
58,331
public AWTEvent (Object source, int id) { super(source); this.id = id; }
public AWTEvent (Object source, int id) { super(source); this.id = id; }
58,332
private void createCommunity() { String communityName = JOptionPane.showInputDialog("New community name: "); if (communityName == null || communityName.length() == 0) return; // TODO: check that name is unique String[] communityTypes = new String[] { "Domain", "Robustness" }; JComboBox cb = new JC...
private void createCommunity() { String communityName = JOptionPane.showInputDialog("New community name: "); if (communityName == null || communityName.length() == 0) return; // TODO: check that name is unique String[] communityTypes = new String[] { "Domain", "Robustness" }; JComboBox cb = new JC...
58,333
public int getX () { return x - ((Component) source).getX (); }
public int getX () { return x; }
58,334
public int getY () { return y - ((Component) source).getY (); }
public int getY () { return y; }
58,335
public JSplitPane(int value0) { // TODO } // JSplitPane()
public JSplitPane(int value0) { // TODO } // JSplitPane()
58,336
public JScrollPane(Component view) { this(view, 0, 0); }
public JScrollPane() { this(view, 0, 0); }
58,337
public JScrollPane(Component view) { this(view, 0, 0); }
public JScrollPane(Component view) { this(null, 0, 0); }
58,338
public void setDividerLocation(int value0) { // TODO } // setDividerLocation()
public void setDividerLocation(int value0) { // TODO } // setDividerLocation()
58,339
public Component add(String name, Component comp) { addImpl(comp, name, -1); return comp; }
public Component add(Component comp) { addImpl(comp, name, -1); return comp; }
58,340
public Component add(String name, Component comp) { addImpl(comp, name, -1); return comp; }
public Component add(String name, Component comp) { addImpl(comp, null, -1); return comp; }
58,341
public JLabel(String text, int horizontalAlignment) { this(text, null, horizontalAlignment); }
public JLabel() { this(text, null, horizontalAlignment); }
58,342
public JLabel(String text, int horizontalAlignment) { this(text, null, horizontalAlignment); }
public JLabel(String text, int horizontalAlignment) { this(null, null, CENTER); }
58,343
public DefaultMutableTreeNode(Object userObject, boolean allowsChildren) { this.userObject = userObject; this.allowsChildren = allowsChildren; } // DefaultMutableTreeNode()
public DefaultMutableTreeNode(Object userObject, boolean allowsChildren) { this.userObject = userObject; this.allowsChildren = allowsChildren; } // DefaultMutableTreeNode()
58,344
public static String showInputDialog(Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDialog(null, null); dialog.pack(); dialog.show(); return (String) pane.getInputValue(); }
public static String showInputDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDialog(null, null); dialog.pack(); dialog.show(); return (String) pane.getInputValue(); }
58,345
public static String showInputDialog(Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDialog(null, null); dialog.pack(); dialog.show(); return (String) pane.getInputValue(); }
public static String showInputDialog(Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDialog(parentComponent, null); dialog.pack(); dialog.show(); return (String) pane.getInputValue(); }
58,346
public JComboBox(Object[] value0) { // TODO } // JComboBox()
public JComboBox(Object[] value0) { // TODO } // JComboBox()
58,347
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) { JOptionPane pane = new JOptionPane(message, messageType, optionType); JDialog dialog = pane.createDialog(pare...
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) { JOptionPane pane = new JOptionPane(message, messageType, optionType); JDialog dialog = pane.createDialog(pare...
58,348
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) { JOptionPane pane = new JOptionPane(message, messageType, optionType); JDialog dialog = pane.createDialog(pare...
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) { JOptionPane pane = new JOptionPane(message, messageType, optionType); JDialog dialog = pane.createDialog(pare...
58,349
public JMenuItem(Action action) { // TODO } // JMenuItem()
public JMenuItem(Action action) { // TODO } // JMenuItem()
58,350
public DefaultTreeModel(TreeNode root, boolean asksAllowsChildren) { setRoot(root); this.asksAllowsChildren = asksAllowsChildren; } // DefaultTreeModel()
public DefaultTreeModel(TreeNode root, boolean asksAllowsChildren) { setRoot(root); this.asksAllowsChildren = asksAllowsChildren; } // DefaultTreeModel()
58,351
public DefaultTreeModel(TreeNode root, boolean asksAllowsChildren) { setRoot(root); this.asksAllowsChildren = asksAllowsChildren; } // DefaultTreeModel()
public DefaultTreeModel(TreeNode root, boolean asksAllowsChildren) { setRoot(root); this.asksAllowsChildren = asksAllowsChildren; } // DefaultTreeModel()
58,352
public ComponentData getComponentData(ComponentData child) { StringBuffer sb = new StringBuffer(); ABCImpact parent = (ABCImpact)getParent(); // Remove this hack when we switch to ComponentData rweFile = (String) parent.getProperty(PROP_RWEFILE).getValue(); societyFile = (String) parent.get...
public ComponentData getComponentData(ComponentData child) { StringBuffer sb = new StringBuffer(); ABCImpact parent = (ABCImpact)this.getParent(); // Remove this hack when we switch to ComponentData rweFile = (String) parent.getProperty(PROP_RWEFILE).getValue(); societyFile = (String) paren...
58,353
public ComponentData getComponentData(ComponentData child) { StringBuffer sb = new StringBuffer(); ABCImpact parent = (ABCImpact)getParent(); // Remove this hack when we switch to ComponentData rweFile = (String) parent.getProperty(PROP_RWEFILE).getValue(); societyFile = (String) parent.get...
public ComponentData getComponentData(ComponentData child) { StringBuffer sb = new StringBuffer(); ABCImpact parent = (ABCImpact)getParent(); // Remove this hack when we switch to ComponentData rweFile = (String) parent.getProperty(PROP_RWEFILE).getValue(); societyFile = (String) parent.get...
58,354
public void writeIniFile(File configDir) throws IOException { File iniFile = new File(configDir, getFullName() + ".ini"); PrintWriter writer = new PrintWriter(new FileWriter(iniFile)); try { writer.println("# $id$"); writer.println("[ Cluster ]"); writer.println("class = " + agentClass_name); writer....
public void writeIniFile(File configDir) throws IOException { File iniFile = new File(configDir, this.getFullName() + ".ini"); PrintWriter writer = new PrintWriter(new FileWriter(iniFile)); try { writer.println("# $id$"); writer.println("[ Cluster ]"); writer.println("class = " + agentClass_name); wr...
58,355
public void writeIniFile(File configDir) throws IOException { File iniFile = new File(configDir, getFullName() + ".ini"); PrintWriter writer = new PrintWriter(new FileWriter(iniFile)); try { writer.println("# $id$"); writer.println("[ Cluster ]"); writer.println("class = " + agentClass_name); writer....
public void writeIniFile(File configDir) throws IOException { File iniFile = new File(configDir, getFullName() + ".ini"); PrintWriter writer = new PrintWriter(new FileWriter(iniFile)); try { writer.println("# $id$"); writer.println("[ Cluster ]"); writer.println("class = " + agentClass_name); writer....
58,356
public void writeIniFile(File configDir) throws IOException { File iniFile = new File(configDir, getFullName() + ".ini"); PrintWriter writer = new PrintWriter(new FileWriter(iniFile)); try { writer.println("# $id$"); writer.println("[ Cluster ]"); writer.println("class = " + agentClass_name); writer....
public void writeIniFile(File configDir) throws IOException { File iniFile = new File(configDir, getFullName() + ".ini"); PrintWriter writer = new PrintWriter(new FileWriter(iniFile)); try { writer.println("# $id$"); writer.println("[ Cluster ]"); writer.println("class = " + agentClass_name); writer....
58,357
public Property getProperty(String localName) { return getProperty(new ComponentName(this, localName)); }
public Property getProperty(String localName) { return getProperty(new ComponentName(this, localName)); }
58,358
public void addChild(ComponentData child);
public void addChild(ComponentData child);
58,359
public File (File dir, String name) { this (dir == null ? null : dir.path, name); }
public File (String p) { this (dir == null ? null : dir.path, name); }
58,360
public File (File dir, String name) { this (dir == null ? null : dir.path, name); }
public File (File dir, String name) { path = normalizePath(p); }
58,361
public void println(String str) { synchronized (lock) { print(str); println(); } }
public void println() { synchronized (lock) { print(str); println(); } }
58,362
public void println(String str) { synchronized (lock) { print(str); println(); } }
public void println(String str) { synchronized (lock) { print(str); println(); } }
58,363
public void addLeafComponent(LeafComponentData leaf);
public void addLeafComponent(LeafComponentData leaf);
58,364
public ABCCyberImpact(String name) { super(name); }
public ABCCyberImpact(String name) { super(name); }
58,365
public ABCKineticImpact(String name) { super(name); }
public ABCKineticImpact(String name) { super(name); }
58,366
public synchronized StringBuffer append(String str) { if (str == null) str = "null"; int len = str.count; ensureCapacity_unsynchronized(count + len); str.getChars(0, len, value, count); count += len; return this; }
public StringBuffer append(Object obj) { if (str == null) str = "null"; int len = str.count; ensureCapacity_unsynchronized(count + len); str.getChars(0, len, value, count); count += len; return this; }
58,367
public synchronized StringBuffer append(String str) { if (str == null) str = "null"; int len = str.count; ensureCapacity_unsynchronized(count + len); str.getChars(0, len, value, count); count += len; return this; }
public synchronized StringBuffer append(String str) { if (str == null) str = "null"; int len = str.count; ensureCapacity_unsynchronized(count + len); str.getChars(0, len, value, count); count += len; return this; }
58,368
public Property addProperty(String name, Object value, PropertyListener l) { Property p = addProperty(name, value, value.getClass(), false); p.addPropertyListener(l); return p; }
public Property addProperty(String name, Object value, PropertyListener l) { Property p = addProperty(name, value, value.getClass(), false); p.addPropertyListener(l); return p; }
58,369
public ComponentData[] getChildren();
public ComponentData[] getChildren();
58,370
public String getType();
public String getType();
58,371
public String getName();
public String getName();
58,372
public void setOwner(ConfigurableComponent owner);
public void setOwner(ConfigurableComponent owner);
58,373
public static String getProperty (String property) { if (secman != null) secman.checkPropertyAccess(property); init_properties (); return properties.getProperty(property); }
public static String getProperty (String property) { if (secman != null) secman.checkPropertyAccess(property); if (properties == null) init_properties (); return properties.getProperty(property); }
58,374
public DatagramSocket(int port, InetAddress laddr) throws SocketException { if (port < 0 || port > 65535) throw new IllegalArgumentException("Invalid port: " + port); SecurityManager s = System.getSecurityManager(); if (s != null) s.checkListen(port); String propVal = System.getProperty("impl.p...
public DatagramSocket() throws SocketException { if (port < 0 || port > 65535) throw new IllegalArgumentException("Invalid port: " + port); SecurityManager s = System.getSecurityManager(); if (s != null) s.checkListen(port); String propVal = System.getProperty("impl.prefix"); if (propVal == ...
58,375
public DatagramSocket(int port, InetAddress laddr) throws SocketException { if (port < 0 || port > 65535) throw new IllegalArgumentException("Invalid port: " + port); SecurityManager s = System.getSecurityManager(); if (s != null) s.checkListen(port); String propVal = System.getProperty("impl.p...
public DatagramSocket(int port, InetAddress laddr) throws SocketException { if (port < 0 || port > 65535) throw new IllegalArgumentException("Invalid port: " + port); SecurityManager s = System.getSecurityManager(); if (s != null) s.checkListen(port); String propVal = System.getProperty("impl.p...
58,376
public Object get() { Thread currentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned value. Object value = valueMap.get(currentThread); if (value == null) { value = initialValue(); valueMap.put(currentTh...
public Object get() { Thread currentThread = Thread.currentThread(); // Note that we don't have to synchronize, as only this thread will // ever modify the returned value. Object value = valueMap.get(currentThread); if (value == null) { value = initialValue(); valueMap.put(currentTh...
58,377
public void set(Object value) { // Note that we don't have to synchronize, as only this thread will // ever modify the returned value. valueMap.put(Thread.currentThread(), value == null ? NULL : value); }
public void set(Object value) { // Note that we don't have to synchronize, as only this thread will // ever modify the returned value. valueMap.put(Thread.currentThread(), value == null ? NULL : value); }
58,378
public Thread (String n) { this (null, null, n); }
public Thread (ThreadGroup g, Runnable r, String n) { this (null, null, n); }
58,379
public Thread (String n) { this (null, null, n); }
public Thread (String n) { Thread current = currentThread (); if (g != null) { if (current != null) g.checkAccess(); } else g = current.getThreadGroup(); if (n == null) throw new NullPointerException (); name = n; group = g; g.add(this); runnable = r; data = null; interrupt_flag = false; alive_flag = fa...
58,380
public void println (String str) { print (str == null ? "null" : str, true); }
public void println () { print (str == null ? "null" : str, true); }
58,381
public void println (String str) { print (str == null ? "null" : str, true); }
public void println (String str) { print(line_separator, 0, line_separator.length, false); }
58,382
public void print (String str) { print(str == null ? "null" : str, false); }
private synchronized void print (String str, boolean println) { print(str == null ? "null" : str, false); }
58,383
public void print (String str) { print(str == null ? "null" : str, false); }
public void print (String str) { try { writeChars(str, 0, str.length()); if (println) writeChars(line_separator, 0, line_separator.length); if (auto_flush) flush(); } catch (InterruptedIOException iioe) { Thread.currentThread().interrupt(); } catch (IOException e) { setError (); } }
58,384
public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) { super (source, INVOCATION_DEFAULT); this.runnable = runnable; this.notifier = notifier; this.catchExceptions = catchExceptions; }
public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) { super (source, INVOCATION_DEFAULT); this.runnable = runnable; this.notifier = notifier; this.catchExceptions = catchExceptions; }
58,387
public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) { super (source, INVOCATION_DEFAULT); this.runnable = runnable; this.notifier = notifier; this.catchExceptions = catchExceptions; }
public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) { super (source, id); this.runnable = runnable; this.notifier = notifier; this.catchExceptions = catchExceptions; }
58,388
public BigInteger(byte[] val) { if (val == null || val.length < 1) throw new NumberFormatException(); words = byteArrayToIntArray(val, val[0] < 0 ? -1 : 0); BigInteger result = make(words, words.length); this.ival = result.ival; this.words = result.words; }
private BigInteger() { if (val == null || val.length < 1) throw new NumberFormatException(); words = byteArrayToIntArray(val, val[0] < 0 ? -1 : 0); BigInteger result = make(words, words.length); this.ival = result.ival; this.words = result.words; }
58,389
public BigInteger(byte[] val) { if (val == null || val.length < 1) throw new NumberFormatException(); words = byteArrayToIntArray(val, val[0] < 0 ? -1 : 0); BigInteger result = make(words, words.length); this.ival = result.ival; this.words = result.words; }
public BigInteger(byte[] val) { if (val == null || val.length < 1) throw new NumberFormatException(); words = byteArrayToIntArray(val, val[0] < 0 ? -1 : 0); BigInteger result = make(words, words.length); this.ival = result.ival; this.words = result.words; }
58,390
public void write(byte[] buf, int off, int len) throws IOException { inbufWrite(); def.setInput(buf, off, len); deflate(); }
public void write(int bval) throws IOException { inbufWrite(); def.setInput(buf, off, len); deflate(); }
58,391
public void write(byte[] buf, int off, int len) throws IOException { inbufWrite(); def.setInput(buf, off, len); deflate(); }
public void write(byte[] buf, int off, int len) throws IOException { inbufWrite(); def.setInput(buf, off, len); deflate(); }
58,392
JDialog(Frame owner, String s, boolean modeld) { super(owner, s, modeld); }
JDialog(Frame owner, String s, boolean modeld) { super(owner, s, modeld); }
58,393
JDialog(Frame owner, String s, boolean modeld) { super(owner, s, modeld); }
JDialog(Frame owner, String s, boolean modeld) { this(owner, "dialog"); }
58,394
public JButton(String text) { this(text, null); }
public JButton() { this(text, null); }
58,395
public JButton(String text) { this(text, null); }
public JButton(String text) { this(null, null); }
58,396
public JCheckBox(String text) { this(text, null); }
public JCheckBox() { this(text, null); }
58,397
public JCheckBox(String text) { this(text, null); }
public JCheckBox(String text) { this(null, null); }
58,398
public GridBagConstraints (int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady) { this.anchor = anchor; this.fill = fill; this.gridx = gridx; this.gridy = gridy; this.gridwidth = grid...
public GridBagConstraints (int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady) { this.anchor = anchor; this.fill = fill; this.gridx = gridx; this.gridy = gridy; this.gridwidth = grid...
58,399
public GridBagConstraints (int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady) { this.anchor = anchor; this.fill = fill; this.gridx = gridx; this.gridy = gridy; this.gridwidth = grid...
public GridBagConstraints (int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady) { this.anchor = anchor; this.fill = fill; this.gridx = gridx; this.gridy = gridy; this.gridwidth = grid...
58,400
public void setLocation(Point p) { setLocation(p.x, p.y); }
public void setLocation(int x, int y) { setLocation(p.x, p.y); }
58,401
public void setLocation(Point p) { setLocation(p.x, p.y); }
public void setLocation(Point p) { if (this.x == x && this.y == y) return; invalidate(); this.x = x; this.y = y; if (peer != null) peer.setBounds(x, y, width, height); }
58,402
public NSArray sectionsContents() { if (_sectionsContents ==null) { NSArray sectionsContentsFromRule=(NSArray)d2wContext().valueForKey("sectionsContents"); if (sectionsContentsFromRule==null) { sectionsContentsFromRule=(NSArray)displayPropertyKeys(); } ...
public NSArray sectionsContents() { if (_sectionsContents == null || true) { NSArray sectionsContentsFromRule=(NSArray)d2wContext().valueForKey("sectionsContents"); if (sectionsContentsFromRule==null) { sectionsContentsFromRule=(NSArray)displayPropertyKeys(); }...
58,403
public static ERXLogger getLogger(Class clazz, String subTopic) { return getERXLogger(clazz, subTopic); }
public static ERXLogger getLogger(Class clazz, String subTopic) { return getERXLogger(clazz, subTopic); }
58,404
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 for binding "+binding); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != n...
58,405
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,406
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,407