bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 7,046 |
protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | protected void initComponentDefaults(UIDefaults defaults) { Object[] uiDefaults; Color highLight = new Color(249, 247, 246); Color light = new Color(239, 235, 231); Color shadow = new Color(139, 136, 134); Color darkShadow = new Color(16, 16, 16); uiDefaults = new Object[] { "AbstractUndoa... | 7,047 |
public BasicArrowButton(int direction) { super(); setBorder(buttonBorder); setDirection(direction); } | public BasicArrowButton(int direction) { super(); setDirection(direction); } | 7,048 |
public static String extract(Any an_any) { if (an_any.type().equal(type())) { an_any.type(twString); return an_any.extract_wstring(); } else throw new BAD_OPERATION("Contains not a wide string value type"); } | public static String extract(Any an_any) { if (an_any.type().equal(type())) { an_any.type(twString); return an_any.extract_wstring(); } else { BAD_OPERATION bad = new BAD_OPERATION("WString value type expected"); bad.minor = Minor.Any; throw bad; } } | 7,050 |
public void write_value(OutputStream ostream, Serializable a_string) { try { ostream.write_wstring((String) a_string); } catch (ClassCastException ex) { throw new MARSHAL("String expected"); } } | public void write_value(OutputStream ostream, Serializable a_string) { try { ostream.write_wstring((String) a_string); } catch (ClassCastException ex) { MARSHAL m = new MARSHAL("String expected"); m.minor = Minor.ClassCast; throw m; } } | 7,051 |
public UnresolvedOffset(int offset, int patchSize) { if ((patchSize != 4) && (patchSize != 8)) { throw new IllegalArgumentException("PatchSize: " + patchSize); } this.offset = offset; this.patchSize = patchSize; } | public UnresolvedOffset(int offset, int patchSize) { if ((patchSize != 1) && (patchSize != 4) && (patchSize != 8)) { throw new IllegalArgumentException("PatchSize: " + patchSize); } this.offset = offset; this.patchSize = patchSize; } | 7,052 |
protected void fireColumnMarginChanged() { EventListener [] listeners = getListeners(TableColumnModelListener.class); for (int i = 0; i < listeners.length; ++i) ((TableColumnModelListener) listeners[i]).columnMarginChanged(changeEvent); } | protected void fireColumnMarginChanged() { EventListener[] listeners = getListeners(TableColumnModelListener.class); if (changeEvent == null && listeners.length > 0) changeEvent = new ChangeEvent(this); for (int i = 0; i < listeners.length; ++i) ((TableColumnModelListener) listeners[i]).columnMarginChange... | 7,053 |
public void action (SaxDocumentHandler handler, char buf [], int offset, int len) { // IF we get here, we have the delmited case for populating // a value list. // 1. set up information we need // our string that we will parse String valueListString = new String (buf,... | public void action (SaxDocumentHandler handler, char buf [], int offset, int len) { // IF we get here, we have the delmited case for populating // a value list. // 1. set up information we need // our string that we will parse String valueListString = new String (buf,... | 7,055 |
public void action (SaxDocumentHandler handler) { // generate valuelist values from algoritm IF we need to // (e.g. values where'nt in a delimited cdata list) // check to see if we didnt alrealy parse from a delmited string. if ( ((String) CurrentValueListParameter.get("isDeli... | public void action (SaxDocumentHandler handler) { // generate valuelist values from algoritm IF we need to // (e.g. values where'nt in a delimited cdata list) // check to see if we didnt alrealy parse from a delmited string. if ( ((String) CurrentValueListParameter.get("isDeli... | 7,056 |
protected void installDefaults() { // This is the border of InternalFrames in the BasicLookAndFeel. // Note that there exist entries for various border colors in // BasicLookAndFeel's defaults, but obviously they differ // from the colors that are actually used by the JDK. UIDefaults default... | protected void installDefaults() { // This is the border of InternalFrames in the BasicLookAndFeel. // Note that there exist entries for various border colors in // BasicLookAndFeel's defaults, but obviously they differ // from the colors that are actually used by the JDK. UIDefaults default... | 7,057 |
protected void installDefaults() { // This is the border of InternalFrames in the BasicLookAndFeel. // Note that there exist entries for various border colors in // BasicLookAndFeel's defaults, but obviously they differ // from the colors that are actually used by the JDK. UIDefaults default... | protected void installDefaults() { // This is the border of InternalFrames in the BasicLookAndFeel. // Note that there exist entries for various border colors in // BasicLookAndFeel's defaults, but obviously they differ // from the colors that are actually used by the JDK. UIDefaults default... | 7,058 |
public void installUI(JComponent c) { if (c instanceof JInternalFrame) { frame = (JInternalFrame) c; internalFrameLayout = createLayoutManager(); frame.setLayout(internalFrameLayout); ((JComponent) frame.getRootPane().getGlassPane()).setOpaque(false); frame.getRootPane().getGlassPane().setVisible(true); inst... | public void installUI(JComponent c) { if (c instanceof JInternalFrame) { frame = (JInternalFrame) c; internalFrameLayout = createLayoutManager(); frame.setLayout(internalFrameLayout); ((JComponent) frame.getRootPane().getGlassPane()).setOpaque(false); frame.getRootPane().getGlassPane().setVisible(true); inst... | 7,060 |
public OctetSeqHolder(byte[] initial_value) { value = initial_value; typecode.setLength(value.length); } | public OctetSeqHolder() { value = initial_value; typecode.setLength(value.length); } | 7,061 |
public OctetSeqHolder(byte[] initial_value) { value = initial_value; typecode.setLength(value.length); } | public OctetSeqHolder(byte[] initial_value) { value = initial_value; typecode.setLength(value.length); } | 7,062 |
public void areaBounded(RubberBand band, int x1, int y1, int x2, int y2) { repaint(x1,y1,x2+1,y2+1);// System.out.println(" bound " + band.getEndPoint()); } | public void areaBounded(RubberBand band, int x1, int y1, int x2, int y2) { repaint();// System.out.println(" bound " + band.getEndPoint()); } | 7,063 |
private void doKeyBoundArea(KeyEvent ke,String last) { Point p = new Point(); if (!rubberband.isAreaSelected()) { if (last.equals("[markleft]")) screen.getPointFromRowCol(screen.getCurrentRow(), screen.getCurrentCol()+1, ... | private void doKeyBoundArea(KeyEvent ke,String last) { Point p = new Point(); if (!rubberband.isAreaSelected()) { if (last.equals("[markleft]")) screen.getPointFromRowCol(screen.getCurrentRow(), screen.getCurrentCol()+1, ... | 7,064 |
private void doKeyBoundArea(KeyEvent ke,String last) { Point p = new Point(); if (!rubberband.isAreaSelected()) { if (last.equals("[markleft]")) screen.getPointFromRowCol(screen.getCurrentRow(), screen.getCurrentCol()+1, ... | private void doKeyBoundArea(KeyEvent ke,String last) { Point p = new Point(); if (!rubberband.isAreaSelected()) { if (last.equals("[markleft]")) screen.getPointFromRowCol(screen.getCurrentRow(), screen.getCurrentCol()+1, ... | 7,065 |
private void doKeyBoundArea(KeyEvent ke,String last) { Point p = new Point(); if (!rubberband.isAreaSelected()) { if (last.equals("[markleft]")) screen.getPointFromRowCol(screen.getCurrentRow(), screen.getCurrentCol()+1, ... | private void doKeyBoundArea(KeyEvent ke,String last) { Point p = new Point(); if (!rubberband.isAreaSelected()) { if (last.equals("[markleft]")) screen.getPointFromRowCol(screen.getCurrentRow(), screen.getCurrentCol()+1, ... | 7,066 |
private void doKeyBoundArea(KeyEvent ke,String last) { Point p = new Point(); if (!rubberband.isAreaSelected()) { if (last.equals("[markleft]")) screen.getPointFromRowCol(screen.getCurrentRow(), screen.getCurrentCol()+1, ... | private void doKeyBoundArea(KeyEvent ke,String last) { Point p = new Point(); if (!rubberband.isAreaSelected()) { if (last.equals("[markleft]")) screen.getPointFromRowCol(screen.getCurrentRow(), screen.getCurrentCol()+1, ... | 7,067 |
private void doKeyBoundArea(KeyEvent ke,String last) { Point p = new Point(); if (!rubberband.isAreaSelected()) { if (last.equals("[markleft]")) screen.getPointFromRowCol(screen.getCurrentRow(), screen.getCurrentCol()+1, ... | private void doKeyBoundArea(KeyEvent ke,String last) { Point p = new Point(); if (!rubberband.isAreaSelected()) { if (last.equals("[markleft]")) screen.getPointFromRowCol(screen.getCurrentRow(), screen.getCurrentCol()+1, ... | 7,068 |
DatagramSocketImpl getImpl() throws SocketException { try { if (! implCreated) { impl.create(); implCreated = true; } return impl; } catch (IOException e) { throw new SocketException(e.getMessage()); } } | DatagramSocketImpl getImpl() throws SocketException { try { if (! implCreated) { impl.create(); implCreated = true; } return impl; } catch (IOException e) { SocketException se = new SocketException(); se.initCause(e); throw se; } } | 7,070 |
public Dimension getPreferredSize(JComponent c) { TableColumnModel cmod = header.getColumnModel(); TableCellRenderer defaultRend = header.getDefaultRenderer(); int ncols = cmod.getColumnCount(); Dimension ret = new Dimension(0,0); int spacing = 0; if (header.getTable() != null && header... | public Dimension getPreferredSize(JComponent ignored) { TableColumnModel cmod = header.getColumnModel(); TableCellRenderer defaultRend = header.getDefaultRenderer(); int ncols = cmod.getColumnCount(); Dimension ret = new Dimension(0,0); int spacing = 0; if (header.getTable() != null && ... | 7,078 |
protected void dragTo(Point position, Point origin) { int loc = areaOfClick(origParent, SwingUtilities.convertPoint(toolBar, position, origParent)); if (loc != -1) { dragWindow.setBorderColor(dockingBorderColor); dragWindow.setB... | protected void dragTo(Point position, Point origin) { int loc = areaOfClick(origParent, SwingUtilities.convertPoint(toolBar, position, origParent)); if (loc != -1) { dragWindow.setBorderColor(dockingBorderColor); dragWindow.setB... | 7,086 |
protected void installListeners() { dockingListener = createDockingListener(); toolBar.addMouseListener(dockingListener); toolBar.addMouseMotionListener(dockingListener); propertyListener = createPropertyListener(); toolBar.addPropertyChangeListener(propertyListener); toolBarContListener = createTo... | protected void installListeners() { dockingListener = createDockingListener(); toolBar.addMouseListener(dockingListener); toolBar.addMouseMotionListener(dockingListener); propertyListener = createPropertyListener(); toolBar.addPropertyChangeListener(propertyListener); toolBarContListener = createTo... | 7,088 |
protected void navigateFocusedComp(int direction) throws NotImplementedException { // FIXME: Implement. } | protected void navigateFocusedComp(int direction) { // FIXME: Implement. } | 7,089 |
protected void uninstallListeners() { toolBar.removeFocusListener(toolBarFocusListener); toolBarFocusListener = null; floatFrame.removeWindowListener(windowListener); windowListener = null; toolBar.removeContainerListener(toolBarContListener); toolBarContListener = null; toolBar.removeMouseMotio... | protected void uninstallListeners() { if (toolBarFocusListener != null) { int count = toolBar.getComponentCount(); for (int i = 0; i < count; i++) toolBar.getComponent(i).removeFocusListener(toolBarFocusListener); toolBarFocusListener = null; floatFrame.removeWindowListener(windowListener); windowListene... | 7,092 |
protected void check(int kind) throws BAD_OPERATION { if (has == null) throw new BAD_OPERATION("value not set"); if (xKind >= 0) { if (xKind != kind) if (!( xKind == TCKind._tk_alias && has._type().kind().value() == kind ) ... | protected void check(int kind) throws BAD_OPERATION { if (has == null) { BAD_OPERATION bad = new BAD_OPERATION("value not set"); bad.minor = Minor.Any; throw bad; } if (xKind >= 0) { if (xKind != kind) if (!( xKind == TCKind._tk_alias && ha... | 7,094 |
protected void check(int kind) throws BAD_OPERATION { if (has == null) throw new BAD_OPERATION("value not set"); if (xKind >= 0) { if (xKind != kind) if (!( xKind == TCKind._tk_alias && has._type().kind().value() == kind ) ... | protected void check(int kind) throws BAD_OPERATION { if (has == null) throw new BAD_OPERATION("value not set"); if (xKind >= 0) { if (xKind != kind) if (!( xKind == TCKind._tk_alias && has._type().kind().value() == kind ) ... | 7,095 |
protected void check(int kind) throws BAD_OPERATION { if (has == null) throw new BAD_OPERATION("value not set"); if (xKind >= 0) { if (xKind != kind) if (!( xKind == TCKind._tk_alias && has._type().kind().value() == kind ) ... | protected void check(int kind) throws BAD_OPERATION { if (has == null) throw new BAD_OPERATION("value not set"); if (xKind >= 0) { if (xKind != kind) if (!( xKind == TCKind._tk_alias && has._type().kind().value() == kind ) ... | 7,096 |
public org.omg.CORBA.Object extract_Object() { try { return ((ObjectHolder) has).value; } catch (ClassCastException ex) { throw new BAD_OPERATION(); } } | public org.omg.CORBA.Object extract_Object() { try { return ((ObjectHolder) has).value; } catch (ClassCastException ex) { BAD_OPERATION bad = new BAD_OPERATION(); bad.initCause(ex); bad.minor = Minor.Any; throw bad; } } | 7,097 |
public Serializable extract_Value() throws BAD_OPERATION { try { if (has instanceof ValueBaseHolder) return ((ValueBaseHolder) has).value; else { // Normally, ValueBase holder must be an instance of the // ValueBaseHolder. Howe... | public Serializable extract_Value() throws BAD_OPERATION { try { if (has instanceof ValueBaseHolder) return ((ValueBaseHolder) has).value; else { // Normally, ValueBase holder must be an instance of the // ValueBaseHolder. Howe... | 7,098 |
public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ... | public void read_value(org.omg.CORBA.portable.InputStream input, TypeCode a_type ) throws MARSHAL { try { int kind = a_type.kind().value(); // Fixed needs special handling. if (kind == TCKind._tk_fixed) { ... | 7,099 |
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R... | public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R... | 7,101 |
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R... | public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R... | 7,102 |
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R... | public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R... | 7,103 |
public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R... | public void paint(Graphics g, int p0, int p1, Shape bounds, JTextComponent t) { if (p0 == p1) return; Rectangle rect = bounds.getBounds(); if (color == null) g.setColor(t.getSelectionColor()); else g.setColor(color); TextUI ui = t.getUI(); try { R... | 7,104 |
public Shape paintLayer(Graphics g, int p0, int p1, Shape bounds, JTextComponent c, View view) { throw new InternalError(); } | public Shape paintLayer(Graphics g, int p0, int p1, Shape bounds, JTextComponent c, View view) { Color col = getColor(); if (col == null) col = c.getSelectionColor(); g.setColor(col); Rectangle rect = null; if (p0 == view.getStartOffset() && p1 == view.getEndOffset()) { rect = bounds instanceof Rect... | 7,105 |
public HighlightEntry(int p0, int p1, Highlighter.HighlightPainter painter) { this.p0 = p0; this.p1 = p1; this.painter = painter; } | public HighlightEntry(Position p0, Position p1, Highlighter.HighlightPainter painter) { this.p0 = p0; this.p1 = p1; this.painter = painter; } | 7,106 |
public int getEndOffset() { return p1; } | public int getEndOffset() { return p1.getOffset(); } | 7,107 |
public int getStartOffset() { return p0; } | public int getStartOffset() { return p0.getOffset(); } | 7,108 |
public Object addHighlight(int p0, int p1, Highlighter.HighlightPainter painter) throws BadLocationException { checkPositions(p0, p1); HighlightEntry entry = new HighlightEntry(p0, p1, painter); highlights.add(entry); textComponent.getUI().damageRange(textComponent, p0, p1); return entry; ... | public Object addHighlight(int p0, int p1, Highlighter.HighlightPainter painter) throws BadLocationException { checkPositions(p0, p1); HighlightEntry entry; Document doc = textComponent.getDocument(); Position pos0 = doc.createPosition(p0); Position pos1 = doc.createPosition(p1); if (getDrawsLayeredHighligh... | 7,109 |
public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | 7,110 |
public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | 7,111 |
public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | 7,112 |
public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | 7,113 |
public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | 7,114 |
public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | 7,115 |
public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | public void changeHighlight(Object tag, int n0, int n1) throws BadLocationException { int o0, o1; checkPositions(n0, n1); HighlightEntry entry = (HighlightEntry) tag; o0 = entry.p0; o1 = entry.p1; // Prevent useless write & repaint operations. if (o0 == n0 && o1 == n1) return; ... | 7,116 |
public void paint(Graphics g) { int size = highlights.size(); // Check if there are any highlights. if (size == 0) return; // Prepares the rectangle of the inner drawing area. Insets insets = textComponent.getInsets(); Shape bounds = new Rectangle(insets.left, i... | public void paint(Graphics g) { int size = highlights.size(); // Check if there are any highlights. if (size == 0) return; // Prepares the rectangle of the inner drawing area. Insets insets = textComponent.getInsets(); Shape bounds = new Rectangle(insets.left, i... | 7,118 |
public void paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) throws NotImplementedException { // TODO: Implement this properly. } | public void paintLayeredHighlights(Graphics g, int p0, int p1, Shape viewBounds, JTextComponent editor, View view) { // TODO: Implement this properly. } | 7,119 |
public void removeHighlight(Object tag) { highlights.remove(tag); HighlightEntry entry = (HighlightEntry) tag; textComponent.getUI().damageRange(textComponent, entry.p0, entry.p1); } | public void removeHighlight(Object tag) { highlights.remove(tag); HighlightEntry entry = (HighlightEntry) tag; textComponent.getUI().damageRange(textComponent, entry.p0, entry.p1); } | 7,122 |
protected void paintComponent(Graphics g) { log.debug("paint from screen"); if (bi == null) { checkOffScreenImage(); }// screen.paintComponent3(g); Graphics2D g2 = (Graphics2D) g; // Rectangle r = g.getClipBounds(); g2.setColor(bi.colorBg); g2.fillRect(0, 0, getWidth(), getHeight()); bi... | protected void paintComponent(Graphics g) { if (bi == null) { checkOffScreenImage(); }// screen.paintComponent3(g); Graphics2D g2 = (Graphics2D) g; // Rectangle r = g.getClipBounds(); g2.setColor(bi.colorBg); g2.fillRect(0, 0, getWidth(), getHeight()); bi.drawImageBuffer(g2); if (... | 7,123 |
public void resizeMe() {// screen.setBounds(getDrawingBounds()); //this is from screen5250 screen.setCursorActive(false); Rectangle r = getDrawingBounds(); if (bi != null) bi.resizeScreenArea(r.width, r.height); repaint();// screen.repaintScreen(); screen.setCursorActive(true); } | public void resizeMe() {// screen.setBounds(getDrawingBounds()); //this is from screen5250 screen.setCursorActive(false); Rectangle r = getDrawingBounds(); if (bi != null) bi.resizeScreenArea(r.width, r.height); screen.repaintScreen();// screen.repaintScreen(); screen.setCursorActive(tru... | 7,124 |
public void applyLocalizedPattern(String pattern) { String localChars = formatData.getLocalPatternChars(); pattern = applyLocalizedPattern (pattern, localChars, standardChars); applyPattern(pattern); } | public void applyLocalizedPattern(String pattern) { String localChars = formatData.getLocalPatternChars(); pattern = translateLocalizedPattern(pattern, localChars, standardChars); applyPattern(pattern); } | 7,125 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; FieldSizePair current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; CompiledField current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 7,126 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; FieldSizePair current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; FieldSizePair current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 7,127 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; FieldSizePair current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; FieldSizePair current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 7,128 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; FieldSizePair current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; FieldSizePair current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 7,129 |
private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; FieldSizePair current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | private void compileFormat(String pattern) { // Any alphabetical characters are treated as pattern characters // unless enclosed in single quotes. char thisChar; int pos; int field; FieldSizePair current = null; for (int i=0; i<pattern.length(); i++) { thisChar = pattern.charAt(i); fi... | 7,130 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,131 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,132 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,133 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,134 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,135 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,136 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,137 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,138 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,139 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,140 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,141 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,142 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,143 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,144 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,145 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,146 |
private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | private void formatWithAttribute(Date date, FormatBuffer buffer, FieldPosition pos) { String temp; AttributedCharacterIterator.Attribute attribute; calendar.setTime(date); // go through vector, filling in fields where applicable, else toString Iterator iter = tokens.iterator(); while (iter.hasN... | 7,147 |
public String toLocalizedPattern() { String localChars = formatData.getLocalPatternChars(); return applyLocalizedPattern (pattern, standardChars, localChars); } | public String toLocalizedPattern() { String localChars = formatData.getLocalPatternChars(); return translateLocalizedPattern(pattern, standardChars, localChars); } | 7,149 |
public String toString() { StringBuffer output = new StringBuffer(); Iterator i = tokens.iterator(); while (i.hasNext()) { output.append(i.next().toString()); } return output.toString(); } | public String toString() { StringBuffer output = new StringBuffer(); Iterator i = tokens.iterator(); while (i.hasNext()) { output.append(i.next().toString()); } return output.toString(); } | 7,150 |
void setParentImpl(View p) { if (p != null) { Component c = getComponent(); p.getContainer().add(c); } else { Component c = getComponent(); Container parent = c.getParent(); parent.remove(c); comp = null; } } | private void setParentImpl(View p) { if (p != null) { Component c = getComponent(); p.getContainer().add(c); } else { Component c = getComponent(); Container parent = c.getParent(); parent.remove(c); comp = null; } } | 7,152 |
public boolean canImport (JComponent c, DataFlavor[] flavors) { return false; } | public boolean canImport(JComponent c, DataFlavor[] flavors) throws NotImplementedException { return false; } | 7,155 |
public void exportAsDrag (JComponent c, InputEvent e, int action) { // TODO: Implement this properly } | public void exportAsDrag(JComponent c, InputEvent e, int action) throws NotImplementedException { // TODO: Implement this properly } | 7,157 |
protected void exportDone (JComponent c, Transferable data, int action) { // TODO: Implement this properly } | protected void exportDone(JComponent c, Transferable data, int action) throws NotImplementedException { // TODO: Implement this properly } | 7,158 |
public boolean importData (JComponent c, Transferable t) { return false; } | public boolean importData(JComponent c, Transferable t) throws NotImplementedException { return false; } | 7,160 |
public Group addToGroup(Group groupObject) { if (groupObject != null) { if (groupMemberHash.add(groupObject)) { //add in successful groupObject.addMemberObject(this); return groupObject; // bad, should return based on success of adding } else { Log.error("Can't add to group. alread... | public Group addToGroup(Group groupObject) { if (groupObject != null) { if (groupMemberHash.add(groupObject)) { //add in successful groupObject.addMemberObject(this); return groupObject; // bad, should return based on success of adding } else { Log.error("Can't add to group. alread... | 7,161 |
public Group addToGroup(Group groupObject) { if (groupObject != null) { if (groupMemberHash.add(groupObject)) { //add in successful groupObject.addMemberObject(this); return groupObject; // bad, should return based on success of adding } else { Log.error("Can't add to group. alread... | public Group addToGroup(Group groupObject) { if (groupObject != null) { if (groupMemberHash.add(groupObject)) { //add in successful groupObject.addMemberObject(this); return groupObject; // bad, should return based on success of adding } else { Log.error("Can't add to group. alread... | 7,162 |
protected Object clone () throws CloneNotSupportedException{ //shallow copy for fields BaseObject cloneObj = (BaseObject) super.clone(); // deep copy the attriOrder synchronized (this.attribOrder) { synchronized (cloneObj.attribOrder) { cloneObj.attribOrder = Collections.synchronizedList(n... | protected Object clone () throws CloneNotSupportedException{ //shallow copy for fields BaseObject cloneObj = (BaseObject) super.clone(); // deep copy the attriOrder synchronized (this.attribOrder) { synchronized (cloneObj.attribOrder) { cloneObj.attribOrder = Collections.synchronizedList(n... | 7,163 |
private String dealWithClosingGroupNodes (BaseObject obj, OutputStream outputstream, String indent) { // Should *both* groupMemberHash and openGroupNodeHash be synchronized?? synchronized(obj.groupMemberHash) { synchronized(this.openGroupNodeHash) { Iterator iter = this.openGroupNodeHash.iterator();... | private String dealWithClosingGroupNodes (BaseObject obj, OutputStream outputstream, String indent) { // Should *both* groupMemberHash and openGroupNodeHash be synchronized?? synchronized(obj.groupMemberHash) { synchronized(this.openGroupNodeHash) { Iterator iter = this.openGroupNodeHash.iterator();... | 7,164 |
private String dealWithClosingGroupNodes (BaseObject obj, OutputStream outputstream, String indent) { // Should *both* groupMemberHash and openGroupNodeHash be synchronized?? synchronized(obj.groupMemberHash) { synchronized(this.openGroupNodeHash) { Iterator iter = this.openGroupNodeHash.iterator();... | private String dealWithClosingGroupNodes (BaseObject obj, OutputStream outputstream, String indent) { // Should *both* groupMemberHash and openGroupNodeHash be synchronized?? synchronized(obj.groupMemberHash) { synchronized(this.openGroupNodeHash) { Iterator iter = this.openGroupNodeHash.iterator();... | 7,165 |
private String dealWithClosingGroupNodes (BaseObject obj, OutputStream outputstream, String indent) { // Should *both* groupMemberHash and openGroupNodeHash be synchronized?? synchronized(obj.groupMemberHash) { synchronized(this.openGroupNodeHash) { Iterator iter = this.openGroupNodeHash.iterator();... | private String dealWithClosingGroupNodes (BaseObject obj, OutputStream outputstream, String indent) { // Should *both* groupMemberHash and openGroupNodeHash be synchronized?? synchronized(obj.groupMemberHash) { synchronized(this.openGroupNodeHash) { Iterator iter = this.openGroupNodeHash.iterator();... | 7,166 |
private String dealWithOpeningGroupNodes (BaseObject obj, OutputStream outputstream, String indent) { StringBuffer newIndent = new StringBuffer(indent); // Should *both* groupMemberHash and openGroupNodeHash be synchronized?? synchronized(obj.groupMemberHash) { synchronized(this.openGroupNodeHash) { ... | private String dealWithOpeningGroupNodes (BaseObject obj, OutputStream outputstream, String indent) { StringBuffer newIndent = new StringBuffer(indent); // Should *both* groupMemberHash and openGroupNodeHash be synchronized?? synchronized(obj.groupMemberHash) { synchronized(this.openGroupNodeHash) { ... | 7,167 |
protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttri... | protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttri... | 7,168 |
protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttri... | protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttri... | 7,169 |
protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttri... | protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttri... | 7,170 |
protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttri... | protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttri... | 7,171 |
protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttri... | protected Hashtable getXMLInfo () { Hashtable xmlInfo = new Hashtable(); ArrayList attribList = new ArrayList(); ArrayList objRefList = new ArrayList(); int size = attribHash.size(); for (int i = 0; i < size; i++) { String attribName = (String) attribOrder.get(i); XMLAttribute obj = (XMLAttri... | 7,172 |
protected void hashtableInitXDFAttributes (Hashtable InitAttributeTable) { Object attribute; Object obj; int size = attribOrder.size(); for (int i = 0; i < size; i++) { attribute = attribOrder.get(i); obj = InitAttributeTable.get(attribute); // only if object exists if (obj != nu... | protected void hashtableInitXDFAttributes (Hashtable InitAttributeTable) { Object attribute; Object obj; int size = attribOrder.size(); for (int i = 0; i < size; i++) { attribute = attribOrder.get(i); obj = InitAttributeTable.get(attribute); // only if object exists if (obj != nu... | 7,173 |
protected void hashtableInitXDFAttributes (Hashtable InitAttributeTable) { Object attribute; Object obj; int size = attribOrder.size(); for (int i = 0; i < size; i++) { attribute = attribOrder.get(i); obj = InitAttributeTable.get(attribute); // only if object exists if (obj != nu... | protected void hashtableInitXDFAttributes (Hashtable InitAttributeTable) { Object attribute; Object obj; int size = attribOrder.size(); for (int i = 0; i < size; i++) { attribute = attribOrder.get(i); obj = InitAttributeTable.get(attribute); // only if object exists if (obj != nu... | 7,174 |
public boolean isGroupMember(Group groupObject) { if ( (groupObject != null) && groupMemberHash.contains(groupObject)) return true; else return false; } | public boolean isGroupMember(Group groupObject) { if ( groupMemberHash.contains(groupObject)) return true; else return false; } | 7,175 |
public Group removeFromGroup (Group groupObject) { if (groupObject != null) { if (groupMemberHash.contains(groupObject)) { //this object does belong to the indicated Group object groupObject.removeMemberObject((Object) this); groupMemberHash.remove(groupObject); return groupObjec... | public Group removeFromGroup (Group groupObject) { if (groupMemberHash.contains(groupObject)) { //this object does belong to the indicated Group object groupObject.removeMemberObject((Object) this); groupMemberHash.remove(groupObject); return groupObject; } else { ... | 7,176 |
public Group removeFromGroup (Group groupObject) { if (groupObject != null) { if (groupMemberHash.contains(groupObject)) { //this object does belong to the indicated Group object groupObject.removeMemberObject((Object) this); groupMemberHash.remove(groupObject); return groupObjec... | public Group removeFromGroup (Group groupObject) { if (groupObject != null) { if (groupMemberHash.contains(groupObject)) { //this object does belong to the indicated Group object groupObject.removeMemberObject((Object) this); groupMemberHash.remove(groupObject); return groupObjec... | 7,177 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.