bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { JTextComponent textComponent = (JTextComponent) getContainer(); if (textComponent.isEnabled()) g.setColor(unselectedColor); else g.setColor(disabledColor); Segment segment = getLineBuff...
protected int drawUnselectedText(Graphics g, int x, int y, int p0, int p1) throws BadLocationException { JTextComponent textComponent = (JTextComponent) getContainer(); if (textComponent.isEnabled()) g.setColor(unselectedColor); else g.setColor(disabledColor); Segment segment = getLineBuff...
25,050
public void updateUI() { setUI((ProgressBarUI) UIManager.getUI(this)); invalidate(); }
public void updateUI() { setUI((ProgressBarUI) UIManager.getUI(this)); }
25,051
public static TypeCode type() { return new primitiveArrayTypeCode(TCKind.tk_boolean); }
public static TypeCode type() { return new ArrayTypeCode(TCKind.tk_boolean); }
25,052
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ...
private Integer computeOffset(String zoneString, ParsePosition pos) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt...
25,053
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ...
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); boolean hasAll = matcher.lookingAt(); try { matcher.group(2); matcher.group(4); matcher.group(5); } catch (IllegalStateExcepti...
25,054
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ...
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ...
25,055
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ...
private Integer computeOffset(String zoneString) { Pattern pattern = Pattern.compile("(GMT)?([+-])([012])?([0-9]):?([0-9]{2})"); Matcher matcher = pattern.matcher(zoneString); if (matcher.matches()) { int sign = matcher.group(2).equals("+") ? 1 : -1; int hour = (Integer.parseInt(matcher.group(3)) ...
25,056
public Date parse (String dateStr, ParsePosition pos) { int fmt_index = 0; int fmt_max = pattern.length(); calendar.clear(); boolean saw_timezone = false; int quote_start = -1; boolean is2DigitYear = false; try { for (; fmt_index < fmt_max; ++fmt_index) { char ch = pattern.charAt(fm...
public Date parse (String dateStr, ParsePosition pos) { int fmt_index = 0; int fmt_max = pattern.length(); calendar.clear(); boolean saw_timezone = false; int quote_start = -1; boolean is2DigitYear = false; try { for (; fmt_index < fmt_max; ++fmt_index) { char ch = pattern.charAt(fm...
25,058
private int getColForPoint(Point p) { int x0 = table.getLocation().x; int ncols = table.getColumnCount(); Dimension gap = table.getInterCellSpacing(); TableColumnModel cols = table.getColumnModel(); int x = p.x; for (int i = 0; i < ncols; ++i) { int width = col...
private int getColForPoint(Point p) { int x0 = table.getLocation().x; int ncols = table.getColumnCount(); Dimension gap = table.getIntercellSpacing(); TableColumnModel cols = table.getColumnModel(); int x = p.x; for (int i = 0; i < ncols; ++i) { int width = col...
25,059
private int getRowForPoint(Point p) { int y0 = table.getLocation().y; int nrows = table.getRowCount(); Dimension gap = table.getInterCellSpacing(); int height = table.getRowHeight() + (gap == null ? 0 : gap.height); int y = p.y; for (int i = 0; i < nrows; ++i) { ...
private int getRowForPoint(Point p) { int y0 = table.getLocation().y; int nrows = table.getRowCount(); Dimension gap = table.getIntercellSpacing(); int height = table.getRowHeight() + (gap == null ? 0 : gap.height); int y = p.y; for (int i = 0; i < nrows; ++i) { ...
25,060
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
25,061
public void update(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; if (b.isOpaque() && UIManager.get(getPropertyPrefix() + "gradient") != null && !b.getModel().isPressed() && b.isEnabled()) { MetalUtils.paintGradient(g, 0, 0, c.getWidth(), c.getHeight(), ...
public void update(Graphics g, JComponent c) { AbstractButton b = (AbstractButton) c; if (b.isContentAreaFilled() && UIManager.get(getPropertyPrefix() + "gradient") != null && !b.getModel().isPressed() && b.isEnabled()) { MetalUtils.paintGradient(g, 0, 0, c.getWidth(), c.getHeight(), ...
25,062
public Rectangle2D getBounds2D(Raster src) { return src.getBounds(); }
public final Rectangle2D getBounds2D(Raster src) { return src.getBounds(); }
25,063
public float[][] getMatrix() { return matrix; }
public final float[][] getMatrix() { return matrix; }
25,064
public byte[] activate_object(Servant a_servant) throws ServantAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); required(IdAssignmentPolicyValue.SYSTEM_ID); activeObjectMap.Obj exists = aom.findServant(a_servant); if (exists != null)...
public byte[] activate_object(Servant a_servant) throws ServantAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); required(IdAssignmentPolicyValue.SYSTEM_ID); AOM.Obj exists = aom.findServant(a_servant); if (exists != null) { ...
25,065
public byte[] activate_object(Servant a_servant) throws ServantAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); required(IdAssignmentPolicyValue.SYSTEM_ID); activeObjectMap.Obj exists = aom.findServant(a_servant); if (exists != null)...
public byte[] activate_object(Servant a_servant) throws ServantAlreadyActive, WrongPolicy { checkDiscarding(); required(ServantRetentionPolicyValue.RETAIN); required(IdAssignmentPolicyValue.SYSTEM_ID); activeObjectMap.Obj exists = aom.findServant(a_servant); if (exists != null)...
25,066
private void connectDelegate(byte[] object_key, servantDelegate delegate) { aom.add(delegate); connect_to_orb(object_key, delegate.object); if (servant_activator != null) incarnate(null, object_key, delegate.servant, false); }
private void connectDelegate(byte[] object_key, ServantDelegateImpl delegate) { aom.add(delegate); connect_to_orb(object_key, delegate.object); if (servant_activator != null) incarnate(null, object_key, delegate.servant, false); }
25,067
public org.omg.CORBA.Object create_reference(String a_repository_id) throws WrongPolicy { required(IdAssignmentPolicyValue.SYSTEM_ID); return create_reference_with_id(activeObjectMap.getFreeId(), a_repository_id); }
public org.omg.CORBA.Object create_reference(String a_repository_id) throws WrongPolicy { required(IdAssignmentPolicyValue.SYSTEM_ID); return create_reference_with_id(AOM.getFreeId(), a_repository_id); }
25,068
public org.omg.CORBA.Object create_reference_with_id(byte[] an_object_id, String a_repository_id ) { String[] ids; if (a_repository_id == null) ids = null; else ids = new String[] { a_reposit...
public org.omg.CORBA.Object create_reference_with_id(byte[] an_object_id, String a_repository_id ) { String[] ids; if (a_repository_id == null) ids = null; else ids = new String[] { a_reposit...
25,069
public void deactivate_object(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = aom.get(the_Object_Id); if (exists == null || exists.isDeactiveted()) throw new ObjectNotActive(); exists.setDe...
public void deactivate_object(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); AOM.Obj exists = aom.get(the_Object_Id); if (exists == null || exists.isDeactiveted()) throw new ObjectNotActive(); exists.setDeactivated(tr...
25,070
public void deactivate_object(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = aom.get(the_Object_Id); if (exists == null || exists.isDeactiveted()) throw new ObjectNotActive(); exists.setDe...
public void deactivate_object(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj exists = aom.get(the_Object_Id); if (exists == null || exists.isDeactiveted()) throw new ObjectNotActive(); exists.setDe...
25,071
protected void etherealizeAll() { if (servant_activator == null) return; ArrayList keys = new ArrayList(); keys.addAll(aom.keySet()); byte[] key; activeObjectMap.Obj obj; boolean last; for (int i = 0; i < keys.size(); i++) { key = (byte[]) keys.get(i); obj = aom.get(key);...
protected void etherealizeAll() { if (servant_activator == null) return; ArrayList keys = new ArrayList(); keys.addAll(aom.keySet()); byte[] key; AOM.Obj obj; boolean last; for (int i = 0; i < keys.size(); i++) { key = (byte[]) keys.get(i); obj = aom.get(key); if (...
25,072
public activeObjectMap.Obj findKey(byte[] object_id, byte[] poa_id) { activeObjectMap.Obj h = null; if (Arrays.equals(poa_id, id())) h = aom.get(object_id); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i))...
public AOM.Obj findKey(byte[] object_id, byte[] poa_id) { activeObjectMap.Obj h = null; if (Arrays.equals(poa_id, id())) h = aom.get(object_id); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i)).findKey(obj...
25,073
public activeObjectMap.Obj findKey(byte[] object_id, byte[] poa_id) { activeObjectMap.Obj h = null; if (Arrays.equals(poa_id, id())) h = aom.get(object_id); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i))...
public activeObjectMap.Obj findKey(byte[] object_id, byte[] poa_id) { AOM.Obj h = null; if (Arrays.equals(poa_id, id())) h = aom.get(object_id); if (h != null) return h; else { for (int i = 0; i < children.size(); i++) { h = ((gnuPOA) children.get(i)).findKey(obj...
25,074
public byte[] id() { if (m_poa_id != null) return m_poa_id; else { cdrBufOutput buffer = new cdrBufOutput(); POA p = this; while (p != null) { buffer.write_string(p.the_name()); p = p.the_parent(); } m_poa_id = buffer.buffer.toByteAr...
public byte[] id() { if (m_poa_id != null) return m_poa_id; else { BufferedCdrOutput buffer = new BufferedCdrOutput(); POA p = this; while (p != null) { buffer.write_string(p.the_name()); p = p.the_parent(); } m_poa_id = buffer.buffe...
25,075
public org.omg.CORBA.Object id_to_reference(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); activeObjectMap.Obj ref = aom.get(the_Object_Id); if (ref == null) throw new ObjectNotActive(); else return...
public org.omg.CORBA.Object id_to_reference(byte[] the_Object_Id) throws ObjectNotActive, WrongPolicy { required(ServantRetentionPolicyValue.RETAIN); AOM.Obj ref = aom.get(the_Object_Id); if (ref == null) throw new ObjectNotActive(); else return ref.object;...
25,076
private Servant incarnate(activeObjectMap.Obj x, byte[] object_key, Servant a_servant, boolean use_forwarding ) { if (servant_activator != null) { Servant servant; try { servant = servant_activator.incarnate(object_key, th...
private Servant incarnate(AOM.Obj x, byte[] object_key, Servant a_servant, boolean use_forwarding ) { if (servant_activator != null) { Servant servant; try { servant = servant_activator.incarnate(object_key, this); ...
25,077
private void locateServant(byte[] an_Object_Id, Servant a_servant, activeObjectMap.Obj exists, boolean use_forwarding ) throws InternalError { // An object was created with create_reference. gnuServantObject object = (gnuServantObject)...
private void locateServant(byte[] an_Object_Id, Servant a_servant, AOM.Obj exists, boolean use_forwarding ) throws InternalError { // An object was created with create_reference. gnuServantObject object = (gnuServantObject) exists.obje...
25,078
private void locateServant(byte[] an_Object_Id, Servant a_servant, activeObjectMap.Obj exists, boolean use_forwarding ) throws InternalError { // An object was created with create_reference. gnuServantObject object = (gnuServantObject)...
private void locateServant(byte[] an_Object_Id, Servant a_servant, activeObjectMap.Obj exists, boolean use_forwarding ) throws InternalError { // An object was created with create_reference. gnuServantObject object = (gnuServantObject)...
25,079
public byte[] reference_to_id(org.omg.CORBA.Object the_Object) throws WrongAdapter, WrongPolicy { activeObjectMap.Obj ref = aom.findObject(the_Object); if (ref == null) throw new WrongAdapter(); return ref.key; }
public byte[] reference_to_id(org.omg.CORBA.Object the_Object) throws WrongAdapter, WrongPolicy { AOM.Obj ref = aom.findObject(the_Object); if (ref == null) throw new WrongAdapter(); return ref.key; }
25,080
public Servant reference_to_servant(org.omg.CORBA.Object the_Object) throws ObjectNotActive, WrongPolicy, WrongAdapter { if (applies(ServantRetentionPolicyValue.RETAIN)) { activeObjectMap.Obj ref = aom.findObject(the_Object); if...
public Servant reference_to_servant(org.omg.CORBA.Object the_Object) throws ObjectNotActive, WrongPolicy, WrongAdapter { if (applies(ServantRetentionPolicyValue.RETAIN)) { AOM.Obj ref = aom.findObject(the_Object); if (ref == nul...
25,081
public byte[] servant_to_id(Servant the_Servant) throws ServantNotActive, WrongPolicy { if (applies(RequestProcessingPolicyValue.USE_DEFAULT_SERVANT) || applies(ServantRetentionPolicyValue.RETAIN) && ( applies(IdUniquenessPolicyValue.UNIQUE_ID) || applies(Impl...
public byte[] servant_to_id(Servant the_Servant) throws ServantNotActive, WrongPolicy { if (applies(RequestProcessingPolicyValue.USE_DEFAULT_SERVANT) || applies(ServantRetentionPolicyValue.RETAIN) && ( applies(IdUniquenessPolicyValue.UNIQUE_ID) || applies(Impl...
25,082
public byte[] toIORKey(byte[] object_id) { cdrBufOutput buffer = new cdrBufOutput(); buffer.write_long(SIGNATURE); buffer.write_sequence(object_id); buffer.write_sequence(id()); return buffer.buffer.toByteArray(); }
public byte[] toIORKey(byte[] object_id) { BufferedCdrOutput buffer = new BufferedCdrOutput(); buffer.write_long(SIGNATURE); buffer.write_sequence(object_id); buffer.write_sequence(id()); return buffer.buffer.toByteArray(); }
25,083
public AffineTransformOp (AffineTransform xform, int interpolationType) { this.transform = xform; if (interpolationType == 0) hints = new RenderingHints (RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR); else h...
public AffineTransformOp (AffineTransform xform, int interpolationType) { this.transform = xform; switch (interpolationType) { case TYPE_BILINEAR: hints = new RenderingHints (RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR); ...
25,084
public AffineTransformOp (AffineTransform xform, int interpolationType) { this.transform = xform; if (interpolationType == 0) hints = new RenderingHints (RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR); else h...
public AffineTransformOp (AffineTransform xform, int interpolationType) { this.transform = xform; if (interpolationType == 0) hints = new RenderingHints (RenderingHints.KEY_INTERPOLATION, RenderingHints.VALUE_INTERPOLATION_BILINEAR); break; case T...
25,085
public VolatileImage createVolatileImage(int width, int height) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); return parentPeer.createVolatileImage(width, height); }
public VolatileImage createVolatileImage(int width, int height) { Component parent = awtComponent.getParent(); ComponentPeer parentPeer = parent.getPeer(); im = parentPeer.createVolatileImage(width, height); } return im; }
25,087
public boolean prepareImage(Image img, int width, int height, ImageObserver ob) { Component parent = awtComponent.getParent(); boolean res; if(parent != null) { ComponentPeer parentPeer = parent.getPeer(); res = parentPeer.prepareImage(img, width, height, ob); } else { res...
public boolean prepareImage(Image img, int width, int height, ImageObserver ob) { Component parent = awtComponent.getParent(); if(parent != null) { ComponentPeer parentPeer = parent.getPeer(); res = parentPeer.prepareImage(img, width, height, ob); } else { res = Toolkit.g...
25,090
public boolean prepareImage(Image img, int width, int height, ImageObserver ob) { Component parent = awtComponent.getParent(); boolean res; if(parent != null) { ComponentPeer parentPeer = parent.getPeer(); res = parentPeer.prepareImage(img, width, height, ob); } else { res...
public boolean prepareImage(Image img, int width, int height, ImageObserver ob) { Component parent = awtComponent.getParent(); boolean res; if(parent != null) { ComponentPeer parentPeer = parent.getPeer(); return parentPeer.prepareImage(img, width, height, ob); } else { re...
25,091
public boolean prepareImage(Image img, int width, int height, ImageObserver ob) { Component parent = awtComponent.getParent(); boolean res; if(parent != null) { ComponentPeer parentPeer = parent.getPeer(); res = parentPeer.prepareImage(img, width, height, ob); } else { res...
public boolean prepareImage(Image img, int width, int height, ImageObserver ob) { Component parent = awtComponent.getParent(); boolean res; if(parent != null) { ComponentPeer parentPeer = parent.getPeer(); res = parentPeer.prepareImage(img, width, height, ob); } else { ret...
25,092
public boolean prepareImage(Image img, int width, int height, ImageObserver ob) { Component parent = awtComponent.getParent(); boolean res; if(parent != null) { ComponentPeer parentPeer = parent.getPeer(); res = parentPeer.prepareImage(img, width, height, ob); } else { res...
public boolean prepareImage(Image img, int width, int height, ImageObserver ob) { Component parent = awtComponent.getParent(); boolean res; if(parent != null) { ComponentPeer parentPeer = parent.getPeer(); res = parentPeer.prepareImage(img, width, height, ob); } else { res...
25,093
public void setVisible(boolean visible) { if (swingComponent != null) swingComponent.getJComponent().setVisible(visible); }
public void setVisible(boolean visible) { if (swingComponent != null) swingComponent.getJComponent().setVisible(visible); }
25,094
private void nonLeniencyCheck() throws IllegalArgumentException { int[] month_days = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; int year = fields[YEAR]; int month = fields[MONTH]; int leap = isLeapYear(year) ? 1 : 0; if (isSet[ERA] && fields[ERA] != AD && fields[ERA] != BC) throw new Il...
private void nonLeniencyCheck() throws IllegalArgumentException { int[] month_days = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; int year = fields[YEAR]; int month = fields[MONTH]; int leap = isLeapYear(year) ? 1 : 0; if (isSet[ERA] && fields[ERA] != AD && fields[ERA] != BC) throw new Il...
25,095
public static boolean isJavaIdentifierStart(char ch) { return ((1 << getType(ch)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << TITLECASE_LETTER) | (1 << MODIFIER_LETTER) | (1 << OTHER_LETTER) | (1 << LETTER_NUMBER) ...
public static boolean isJavaIdentifierStart(char ch) { return ((1 << getType(ch)) & ((1 << UPPERCASE_LETTER) | (1 << LOWERCASE_LETTER) | (1 << TITLECASE_LETTER) | (1 << MODIFIER_LETTER) | (1 << OTHER_LETTER) | (1 << LETTER_NUMBER) ...
25,097
public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin...
public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin...
25,098
public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin...
public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin...
25,099
public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin...
public final void execute() throws BuildException { final long lmJar = jarFile.lastModified(); final long lmKernel = kernelFile.lastModified(); final long lmDest = destFile.lastModified(); final long lmPIL = getPluginListFile().lastModified(); final PluginList piList; final long lmPI; try { piList = getPlugin...
25,100
public VmClassLoader getClsMgr() { return clsMgr; }
public VmSystemClassLoader getClsMgr() { return clsMgr; }
25,101
public Component getComponentAtIndex(int i) { return getComponentAt(i); }
public Component getComponentAtIndex(int i) { return getComponent(i); }
25,102
public boolean isBorderPainted() { return paintBorder; }
public boolean isBorderPainted() { return borderPainted; }
25,103
protected void paintBorder(Graphics g) { if (paintBorder) getBorder().paintBorder(this, g, 0, 0, getSize(null).width, getSize(null).height); }
protected void paintBorder(Graphics g) { if (borderPainted) getBorder().paintBorder(this, g, 0, 0, getSize(null).width, getSize(null).height); }
25,104
public void setBorderPainted(boolean b) { paintBorder = b; }
public void setBorderPainted(boolean b) { boolean old = borderPainted; borderPainted = b; if (b != old) { firePropertyChange(BORDER_PAINTED_CHANGED_PROPERTY, old, b); revalidate(); repaint(); } }
25,105
public final Class getCategory() { return PrinterStateReason.class; }
public Class getCategory() { return PrinterStateReason.class; }
25,107
public final String getName() { return "printer-state-reason"; }
public String getName() { return "printer-state-reason"; }
25,108
public AttributeSet getAttributes() { // FIXME: return getStyleSheet().getViewAttributes(this); return super.getAttributes(); }
public AttributeSet getAttributes() { // FIXME: return getStyleSheet().getViewAttributes(this); return getStyleSheet().getViewAttributes(this); }
25,109
public void layoutContainer(Container pane) { super.layoutContainer(pane); int tabCount = tabPane.getTabCount(); if (tabCount == 0) return; int tabPlacement = tabPane.getTabPlacement(); incrButton.hide(); decrButton.hide(); if (tabPlacement == SwingConstants.TOP || tab...
public void layoutContainer(Container pane) { super.layoutContainer(pane); int tabCount = tabPane.getTabCount(); if (tabCount == 0) return; int tabPlacement = tabPane.getTabPlacement(); incrButton.hide(); decrButton.hide(); if (tabPlacement == SwingConstants.TOP || tab...
25,112
protected JButton createDecreaseButton(int orientation) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); scrollBarWidth = defaults.getInt("ScrollBar.width"); return new MetalScrollButton(orientation, scrollBarWidth, isFreeStanding); }
protected JButton createDecreaseButton(int orientation) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); scrollBarWidth = defaults.getInt("ScrollBar.width"); decreaseButton = new MetalScrollButton(orientation, scrollBarWidth, isFreeStanding); return decreaseButton; }
25,113
protected JButton createIncreaseButton(int orientation) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); scrollBarWidth = defaults.getInt("ScrollBar.width"); return new MetalScrollButton(orientation, scrollBarWidth, isFreeStanding); }
protected JButton createIncreaseButton(int orientation) { UIDefaults defaults = UIManager.getLookAndFeelDefaults(); scrollBarWidth = defaults.getInt("ScrollBar.width"); increaseButton = new MetalScrollButton(orientation, scrollBarWidth, isFreeStanding); return increaseButton; }
25,114
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) { // a disabled scrollbar has no thumb in the metal look and feel if (!c.isEnabled()) return; // first we fill the background g.setColor(thumbColor); g.fillRect(thumbBounds.x, thumbBounds.y, thumbBounds.width, ...
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) { // a disabled scrollbar has no thumb in the metal look and feel if (!c.isEnabled()) return; // first we fill the background g.setColor(thumbColor); g.fillRect(thumbBounds.x, thumbBounds.y, thumbBounds.width, ...
25,117
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) { // a disabled scrollbar has no thumb in the metal look and feel if (!c.isEnabled()) return; // first we fill the background g.setColor(thumbColor); g.fillRect(thumbBounds.x, thumbBounds.y, thumbBounds.width, ...
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) { // a disabled scrollbar has no thumb in the metal look and feel if (!c.isEnabled()) return; // first we fill the background g.setColor(thumbColor); g.fillRect(thumbBounds.x, thumbBounds.y, thumbBounds.width, ...
25,118
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) { // a disabled scrollbar has no thumb in the metal look and feel if (!c.isEnabled()) return; // first we fill the background g.setColor(thumbColor); g.fillRect(thumbBounds.x, thumbBounds.y, thumbBounds.width, ...
protected void paintThumb(Graphics g, JComponent c, Rectangle thumbBounds) { // a disabled scrollbar has no thumb in the metal look and feel if (!c.isEnabled()) return; // first we fill the background g.setColor(thumbColor); g.fillRect(thumbBounds.x, thumbBounds.y, thumbBounds.width, ...
25,119
private void paintTrackHorizontal(Graphics g, JComponent c, int x, int y, int w, int h) { if (c.isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(x, y, x, y + h - 1); g.drawLine(x, y, x + w - 1, y); g.drawLine(x + w - 1, y, x + w - 1, y + h - 1);...
private void paintTrackHorizontal(Graphics g, JComponent c, int x, int y, int w, int h) { if (c.isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(x, y, x, y + h - 1); g.drawLine(x, y, x + w - 1, y); g.drawLine(x + w - 1, y, x + w - 1, y + h - 1);...
25,120
protected void paintTrackVertical(Graphics g, JComponent c, int x, int y, int w, int h) { if (c.isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(x, y, x, y + h - 1); g.drawLine(x, y, x + w - 1, y); g.drawLine(x, y + h - 1, x + w - 1, y + h - 1);...
private void paintTrackVertical(Graphics g, JComponent c, int x, int y, int w, int h) { if (c.isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(x, y, x, y + h - 1); g.drawLine(x, y, x + w - 1, y); g.drawLine(x, y + h - 1, x + w - 1, y + h - 1); ...
25,122
protected void paintTrackVertical(Graphics g, JComponent c, int x, int y, int w, int h) { if (c.isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(x, y, x, y + h - 1); g.drawLine(x, y, x + w - 1, y); g.drawLine(x, y + h - 1, x + w - 1, y + h - 1);...
protected void paintTrackVertical(Graphics g, JComponent c, int x, int y, int w, int h) { if (c.isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(x, y, x, y + h - 1); g.drawLine(x, y, x + w - 1, y); g.drawLine(x, y + h - 1, x + w - 1, y + h - 1);...
25,123
protected void paintTrackVertical(Graphics g, JComponent c, int x, int y, int w, int h) { if (c.isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(x, y, x, y + h - 1); g.drawLine(x, y, x + w - 1, y); g.drawLine(x, y + h - 1, x + w - 1, y + h - 1);...
protected void paintTrackVertical(Graphics g, JComponent c, int x, int y, int w, int h) { if (c.isEnabled()) { g.setColor(MetalLookAndFeel.getControlDarkShadow()); g.drawLine(x, y, x, y + h - 1); g.drawLine(x, y, x + w - 1, y); g.drawLine(x, y + h - 1, x + w - 1, y + h - 1);...
25,124
public void setView(Component v) { if (viewListener != null) getView().removeComponentListener(viewListener); if (v != null) { if (viewListener == null) viewListener = createViewListener(); v.addComponentListener(viewListener); add(v); fireStateChanged(); } re...
public void setView(Component v) { if (viewListener != null) getView().removeComponentListener(viewListener); if (v != null) { if (viewListener == null) viewListener = createViewListener(); v.addComponentListener(viewListener); add(v); fireStateChanged(); } re...
25,126
public VmScheduler(VmArchitecture architecture) { this.architecture = architecture; this.allThreadsLock = new ProcessorLock(); this.allThreadsQueue = new VmAllThreadsQueue("scheduler-all"); this.queueLock = new ProcessorLock(); this.readyQueue = new VmThreadScheduleQueue("schedule...
public VmScheduler(VmArchitecture architecture) { this.architecture = architecture; this.allThreadsLock = new ProcessorLock(); this.allThreadsQueue = new VmAllThreadsQueue("scheduler-all"); this.queueLock = new ProcessorLock(); this.readyQueue = new VmThreadScheduleQueue("schedule...
25,128
public VmScheduler(VmArchitecture architecture) { this.architecture = architecture; this.allThreadsLock = new ProcessorLock(); this.allThreadsQueue = new VmAllThreadsQueue("scheduler-all"); this.queueLock = new ProcessorLock(); this.readyQueue = new VmThreadScheduleQueue("schedule...
public VmScheduler(VmArchitecture architecture) { this.architecture = architecture; this.allThreadsLock = new ProcessorLock(); this.allThreadsQueue = new VmAllThreadsQueue("scheduler-all"); this.queueLock = new ProcessorLock(); this.readyQueue = new VmThreadScheduleQueue("schedule...
25,129
final void dumpWaitingThreads(boolean dumpStack, VmStackReader stackReader) { VmThreadQueueEntry e = allThreadsQueue.first; while (e != null) { if (e.thread.isWaiting()) { Unsafe.debug(e.thread.getName()); Unsafe.debug(" id0x"); Unsafe.debug(e.th...
final void dumpWaitingThreads(boolean dumpStack, VmStackReader stackReader) { VmThreadQueueEntry e = allThreadsQueue.first; while (e != null) { if (e.thread.isWaiting()) { Unsafe.debug(e.thread.getName()); Unsafe.debug(" id0x"); Unsafe.debug(e.th...
25,130
final void dumpWaitingThreads(boolean dumpStack, VmStackReader stackReader) { VmThreadQueueEntry e = allThreadsQueue.first; while (e != null) { if (e.thread.isWaiting()) { Unsafe.debug(e.thread.getName()); Unsafe.debug(" id0x"); Unsafe.debug(e.th...
final void dumpWaitingThreads(boolean dumpStack, VmStackReader stackReader) { VmThreadQueueEntry e = allThreadsQueue.first; while (e != null) { if (e.thread.isWaiting()) { Unsafe.debug(e.thread.getName()); Unsafe.debug(" id0x"); Unsafe.debug(e.th...
25,131
final void dumpWaitingThreads(boolean dumpStack, VmStackReader stackReader) { VmThreadQueueEntry e = allThreadsQueue.first; while (e != null) { if (e.thread.isWaiting()) { Unsafe.debug(e.thread.getName()); Unsafe.debug(" id0x"); Unsafe.debug(e.th...
final void dumpWaitingThreads(boolean dumpStack, VmStackReader stackReader) { VmThreadQueueEntry e = allThreadsQueue.first; while (e != null) { if (e.thread.isWaiting()) { Unsafe.debug(e.thread.getName()); Unsafe.debug(" id0x"); Unsafe.debug(e.th...
25,132
private final void processKdbInput(int input) { switch ((char) input) { case '?': case 'h': Unsafe.debug("Commands:\n"); Unsafe.debug("a Print all threads\n"); Unsafe.debug("A Print stacktraces of all threads\n"); Unsafe.debug("l Show Load/Compi...
private final void processKdbInput(int input) { switch ((char) input) { case '?': case 'h': Unsafe.debug("Commands:\n"); Unsafe.debug("a Print all threads\n"); Unsafe.debug("A Print stacktraces of all threads\n"); Unsafe.debug("l Show Load/Compi...
25,133
private final void processKdbInput(int input) { switch ((char) input) { case '?': case 'h': Unsafe.debug("Commands:\n"); Unsafe.debug("a Print all threads\n"); Unsafe.debug("A Print stacktraces of all threads\n"); Unsafe.debug("l Show Load/Compi...
private final void processKdbInput(int input) { switch ((char) input) { case '?': case 'h': Unsafe.debug("Commands:\n"); Unsafe.debug("a Print all threads\n"); Unsafe.debug("A Print stacktraces of all threads\n"); Unsafe.debug("l Show Load/Compi...
25,134
private final void processKdbInput(int input) { switch ((char) input) { case '?': case 'h': Unsafe.debug("Commands:\n"); Unsafe.debug("a Print all threads\n"); Unsafe.debug("A Print stacktraces of all threads\n"); Unsafe.debug("l Show Load/Compi...
private final void processKdbInput(int input) { switch ((char) input) { case '?': case 'h': Unsafe.debug("Commands:\n"); Unsafe.debug("a Print all threads\n"); Unsafe.debug("A Print stacktraces of all threads\n"); Unsafe.debug("l Show Load/Compi...
25,135
private void init(int numBits, Random rnd) { int highbits = numBits & 31; if (highbits > 0) highbits = rnd.nextInt() >>> (32 - highbits); int nwords = numBits / 32; while (highbits == 0 && nwords > 0) { highbits = rnd.nextInt(); --nwords; } if (nwords == 0 && highbits >= 0) { ival ...
private void init(int numBits, Random rnd) { int highbits = numBits & 31; if (highbits > 0) { rnd.nextBytes(highBitBytes); highbits = (highBitBytes[highBitByteCount - 1] & 0xFF) >>> discardedBitCount; for (int i = highBitByteCount - 2; i >= 0; i--) highbits = (highbits << 8) | (highBitBytes[i] & 0xFF); } ...
25,136
public ListIterator<E> listIterator(final int index) { checkMod(); checkBoundsInclusive(index); return new ListIterator<E>() { private final ListIterator<E> i = backingList.listIterator(index + offset); private int position = index; /** * Tests to see if there are any more ob...
public ListIterator<E> listIterator(final int index) { checkMod(); checkBoundsInclusive(index); return new ListIterator<E>() { private final ListIterator<E> i = backingList.listIterator(index + offset); private int position = index; /** * Tests to see if there are any more ob...
25,137
public ListIterator<E> listIterator(final int index) { checkMod(); checkBoundsInclusive(index); return new ListIterator<E>() { private final ListIterator<E> i = backingList.listIterator(index + offset); private int position = index; /** * Tests to see if there are any more ob...
public ListIterator<E> listIterator(final int index) { checkBoundsInclusive(index); return new ListIterator<E>() { private final ListIterator<E> i = backingList.listIterator(index + offset); private int position = index; /** * Tests to see if there are any more objects to ...
25,138
public boolean hasNext() { checkMod(); return position < size; }
public boolean hasNext() { return position < size; }
25,139
public boolean hasPrevious() { checkMod(); return position > 0; }
public boolean hasPrevious() { return position > 0; }
25,140
public boolean hasNext() { checkMod(); return pos < size; }
public boolean hasNext() { return pos < size; }
25,141
public int nextIndex() { checkMod(); return position; }
public int nextIndex() { return position; }
25,142
public int previousIndex() { checkMod(); return position - 1; }
public int previousIndex() { return position - 1; }
25,143
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { setValue(value); setOpaque(true...
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { setValue(value); setOpaque(true...
25,144
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { setValue(value); setOpaque(true...
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { setValue(value); setOpaque(true...
25,145
protected void installDefaults() { LookAndFeel.installColorsAndFont(table, "Table.background", "Table.foreground", "Table.font"); table.setGridColor(UIManager.getColor("Table.gridColor")); table.setSelectionForeground(UIManager.getColor("Table.selectionForeground")); ...
protected void installDefaults() { LookAndFeel.installColorsAndFont(table, "Table.background", "Table.foreground", "Table.font"); table.setGridColor(UIManager.getColor("Table.gridColor")); table.setSelectionForeground(UIManager.getColor("Table.selectionForeground")); ...
25,150
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
25,153
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
public void paint(Graphics gfx, JComponent ignored) { int ncols = table.getColumnCount(); int nrows = table.getRowCount(); if (nrows == 0 || ncols == 0) return; Rectangle clip = gfx.getClipBounds(); TableColumnModel cols = table.getColumnModel(); int height = table.getRowHeight(); int x0 =...
25,154
void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { boolean isSel = table.isCellSelected(row, col); boolean hasFocus = (table.getSelectionModel().getLeadSelectionIndex() == row) && table.hasFocus(); ...
void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { boolean isSel = table.isCellSelected(row, col); boolean hasFocus = (table.getSelectionModel().getLeadSelectionIndex() == row) && table.hasFocus(); ...
25,155
void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { boolean isSel = table.isCellSelected(row, col); boolean hasFocus = (table.getSelectionModel().getLeadSelectionIndex() == row) && table.hasFocus(); ...
void paintCell(Graphics g, int row, int col, Rectangle bounds, TableCellRenderer rend, TableModel data, int rowLead, int colLead) { boolean isSel = table.isCellSelected(row, col); boolean hasFocus = (table.getSelectionModel().getLeadSelectionIndex() == row) && table.hasFocus(); ...
25,156
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_...
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_...
25,158
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_...
layoutContainer(Container target){ synchronized (target.getTreeLock ()) { Insets i = target.getInsets(); ComponentOrientation orient = target.getComponentOrientation (); boolean left_to_right = orient.isLeftToRight (); Component my_north = north; Component my_east = east; Component my_...
25,159
countMenus(){ return(getMenuCount());}
countMenus(){ return menus.size ();}
25,160
public PolicyFile(URL defaultPolicy) { if (defaultPolicy == null) { throw new IllegalArgumentException( "defaultPolicy cannot be null"); } this.defaultPolicy = defaultPolicy; cs2pc = new HashMap(); refresh(); }
public PolicyFile(URL defaultPolicy) { if (defaultPolicy == null) { throw new IllegalArgumentException( "defaultPolicy cannot be null"); } this.defaultPolicy = defaultPolicy; cs2pc = new HashMap(); refresh(); }
25,161
private static void error(Throwable t) { System.err.println(">> PolicyFile"); t.printStackTrace(System.err); }
private static void error(Throwable t) { System.err.println(">> PolicyFile"); t.printStackTrace(System.err); }
25,162
public final PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext();) { final Map.Entry e = (Map.Entry) it.next(); final CodeSource cs = (CodeSource) e.getKey(); i...
public PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext();) { final Map.Entry e = (Map.Entry) it.next(); final CodeSource cs = (CodeSource) e.getKey(); if (cs....
25,163
public final PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext();) { final Map.Entry e = (Map.Entry) it.next(); final CodeSource cs = (CodeSource) e.getKey(); i...
public final PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext();) { final Map.Entry e = (Map.Entry) it.next(); final CodeSource cs = (CodeSource) e.getKey(); i...
25,164
public final PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext();) { final Map.Entry e = (Map.Entry) it.next(); final CodeSource cs = (CodeSource) e.getKey(); i...
public final PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext();) { final Map.Entry e = (Map.Entry) it.next(); final CodeSource cs = (CodeSource) e.getKey(); i...
25,165
public final PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext();) { final Map.Entry e = (Map.Entry) it.next(); final CodeSource cs = (CodeSource) e.getKey(); i...
public final PermissionCollection getPermissions(CodeSource codeSource) { Permissions perms = new Permissions(); for (Iterator it = cs2pc.entrySet().iterator(); it.hasNext();) { final Map.Entry e = (Map.Entry) it.next(); final CodeSource cs = (CodeSource) e.getKey(); i...
25,166
private void parse(final URL url) throws IOException { final StreamTokenizer in = new StreamTokenizer(new InputStreamReader( url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); in.wordChars('A', 'Z'); in.wordChars('a...
private void parse(final URL url) throws IOException { final StreamTokenizer in = new StreamTokenizer(new InputStreamReader( url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); in.wordChars('A', 'Z'); in.wordChars('a...
25,167
private void parse(final URL url) throws IOException { final StreamTokenizer in = new StreamTokenizer(new InputStreamReader( url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); in.wordChars('A', 'Z'); in.wordChars('a...
private void parse(final URL url) throws IOException { final StreamTokenizer in = new StreamTokenizer(new InputStreamReader( url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); in.wordChars('A', 'Z'); in.wordChars('a...
25,168
private void parse(final URL url) throws IOException { final StreamTokenizer in = new StreamTokenizer(new InputStreamReader( url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); in.wordChars('A', 'Z'); in.wordChars('a...
private void parse(final URL url) throws IOException { final StreamTokenizer in = new StreamTokenizer(new InputStreamReader( url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); in.wordChars('A', 'Z'); in.wordChars('a...
25,169