bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private int parseSignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); char sign = ' '; switch (chars[index]) { case '-' : sign = '-'; index++; break; case '+' : sign = '+'; index++; break; } int value = parseUnsignedInt(); return (sign == '-')... | private int parseSignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); char sign = ' '; switch (chars[index]) { case '-' : sign = '-'; index++; break; case '+' : sign = '+'; index++; break; } int value = parseUnsignedInt(); return (sign == '-')... | 7,287 |
private int parseSignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); char sign = ' '; switch (chars[index]) { case '-' : sign = '-'; index++; break; case '+' : sign = '+'; index++; break; } int value = parseUnsignedInt(); return (sign == '-')... | private int parseSignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); char sign = ' '; switch (chars[index]) { case '-' : sign = '-'; index++; break; case '+' : sign = '+'; index++; break; } int value = parseUnsignedInt(); return (sign == '-')... | 7,288 |
private int parseSignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); char sign = ' '; switch (chars[index]) { case '-' : sign = '-'; index++; break; case '+' : sign = '+'; index++; break; } int value = parseUnsignedInt(); return (sign == '-')... | private int parseSignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); char sign = ' '; switch (chars[index]) { case '-' : sign = '-'; index++; break; case '+' : sign = '+'; index++; break; } int value = parseUnsignedInt(); return (sign == '-')... | 7,289 |
private int parseUnsignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); int start = index; int value = 0; for (; index < length; index++) { int d = Character.digit(chars[index], 10); if (d < 0) break; value *= 10; value += d; } if (index == start) thro... | private int parseUnsignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); int start = index; int value = 0; for (; index < length; index++) { int d = Character.digit(chars[index], 10); if (d < 0) break; value *= 10; value += d; } if (index == start) thro... | 7,290 |
private int parseUnsignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); int start = index; int value = 0; for (; index < length; index++) { int d = Character.digit(chars[index], 10); if (d < 0) break; value *= 10; value += d; } if (index == start) thro... | private int parseUnsignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); int start = index; int value = 0; for (; index < length; index++) { int d = Character.digit(chars[index], 10); if (d < 0) break; value *= 10; value += d; } if (index == start) thro... | 7,291 |
private int parseUnsignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); int start = index; int value = 0; for (; index < length; index++) { int d = Character.digit(chars[index], 10); if (d < 0) break; value *= 10; value += d; } if (index == start) thro... | private int parseUnsignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); int start = index; int value = 0; for (; index < length; index++) { int d = Character.digit(chars[index], 10); if (d < 0) break; value *= 10; value += d; } if (index == start) thro... | 7,292 |
private int parseUnsignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); int start = index; int value = 0; for (; index < length; index++) { int d = Character.digit(chars[index], 10); if (d < 0) break; value *= 10; value += d; } if (index == start) thro... | private int parseUnsignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); int start = index; int value = 0; for (; index < length; index++) { int d = Character.digit(chars[index], 10); if (d < 0) break; value *= 10; value += d; } if (index == start) thro... | 7,293 |
private int parseUnsignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); int start = index; int value = 0; for (; index < length; index++) { int d = Character.digit(chars[index], 10); if (d < 0) break; value *= 10; value += d; } if (index == start) thro... | private int parseUnsignedInt() throws NumberFormatException { if (index >= length) throw new NumberFormatException(); int start = index; int value = 0; for (; index < length; index++) { int d = Character.digit(chars[index], 10); if (d < 0) break; value *= 10; value += d; } if (index == start) thro... | 7,294 |
public Enumeration entries() { try { return new ZipEntryEnumeration(getEntries().values().iterator()); } catch (IOException ioe) { return null; } } | public Enumeration entries() { try { return new ZipEntryEnumeration(getEntries().values().iterator()); } catch (IOException ioe) { return null; } } | 7,296 |
public Manifest(InputStream in) throws IOException { this(); read(in); } | public Manifest(InputStream in) throws IOException { this(); read(in); } | 7,299 |
public Map getEntries() { return entries; } | public Map getEntries() { return entries; } | 7,300 |
public final void update(byte[]data, int off, int len) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, off, len); else throw new SignatureException(); } | public final void update(byte[]data, int off, int len) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, off, len); else throw new SignatureException(); } | 7,301 |
public final void update(byte[]data, int off, int len) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(data, off, len); else throw new SignatureException(); } | public final void update(byte[]data, int off, int len) throws SignatureException { if (state != UNINITIALIZED) engineUpdate(b); else throw new SignatureException(); } | 7,302 |
public static void loadMacros(Session session, Macronizer macros, JMenu menu) { final Session ses = session; Vector mv = new Vector(); Action action; menu.addSeparator(); String[] macrosList = macros.getMacroList(); for (int x = 0; x < macrosList.length; x++) { mv.add(macrosList... | public static void loadMacros(Session session, Macronizer macros, JMenu menu) { final Session ses = session; Vector mv = new Vector(); Action action; menu.addSeparator(); String[] macrosList = Macronizer.getMacroList(); for (int x = 0; x < macrosList.length; x++) { mv.add(macros... | 7,308 |
protected Component createComponent() { return null; } | protected Component createComponent() { return null; } | 7,309 |
public float getAlignment(int axis) { return 0; } | public float getAlignment(int axis) { return 0; } | 7,310 |
public final Component getComponent() { return null; } | public final Component getComponent() { return null; } | 7,311 |
public float getMaximumSpan(int axis) { return 0; } | public float getMaximumSpan(int axis) { return 0; } | 7,312 |
public void layoutContainer(Container parent) { // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; SizeRequirements[] vSizeReqs = new SizeRequirements[children.length]; getSize... | public void layoutContainer(Container parent) { // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; SizeRequirements[] vSizeReqs = new SizeRequirements[children.length]; getSize... | 7,313 |
public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; ... | public Dimension preferredLayoutSize(Container parent) { if (parent != container) throw new AWTError("invalid parent"); // Setup the SizeRequirements for both the X and Y axis. Component[] children = container.getComponents(); SizeRequirements[] hSizeReqs = new SizeRequirements[children.length]; ... | 7,314 |
public ListDataEvent(Object source, int type, int index0, int index1) { super(source); this.type = type; this.index0 = index0; this.index1 = index1; } | public ListDataEvent(Object source, int type, int index0, int index1) { super(source); this.type = type; this.index0 = index0; this.index1 = index1; } | 7,315 |
private void doAttributes() { SessionAttributes sa = new SessionAttributes(propFileName, defaultProps, (Frame)me.getParentView((Session)this)); sa.addPropertyChangeListener(screen); sa.addPropertyChangeListener(this); sa.... | private void doAttributes() { SessionAttributes sa = null; if (me == null) sa = new SessionAttributes(propFileName, defaultProps, new JFrame()); else sa = new SessionAttributes(propFileName, defaultProps, (Frame)me.getParentView((Ses... | 7,316 |
private void mapMeKeys() { KeyConfigure kc; if (macros.isMacrosExist()) { String[] macrosList = macros.getMacroList(); kc = new KeyConfigure(me.getParentView((Session)this),macrosList,vt.getCodePage()); } else kc = new KeyConfigure(me.getParentView((Session)this),null,vt.g... | private void mapMeKeys() { KeyConfigure kc; if (macros.isMacrosExist()) { String[] macrosList = macros.getMacroList(); kc = new KeyConfigure(parent,macrosList,vt.getCodePage()); } else kc = new KeyConfigure(me.getParentView((Session)this),null,vt.getCodePage()); } | 7,317 |
private void mapMeKeys() { KeyConfigure kc; if (macros.isMacrosExist()) { String[] macrosList = macros.getMacroList(); kc = new KeyConfigure(me.getParentView((Session)this),macrosList,vt.getCodePage()); } else kc = new KeyConfigure(me.getParentView((Session)this),null,vt.g... | private void mapMeKeys() { KeyConfigure kc; if (macros.isMacrosExist()) { String[] macrosList = macros.getMacroList(); kc = new KeyConfigure(me.getParentView((Session)this),macrosList,vt.getCodePage()); } else kc = new KeyConfigure(parent,null,vt.getCodePage()); } | 7,318 |
private void showHexMap() { JPanel srp = new JPanel(); srp.setLayout(new BorderLayout()); DefaultListModel listModel = new DefaultListModel(); StringBuffer sb = new StringBuffer(); // we will use a collator here so that we can take advantage of the locales Collator collator = Collator.g... | private void showHexMap() { JPanel srp = new JPanel(); srp.setLayout(new BorderLayout()); DefaultListModel listModel = new DefaultListModel(); StringBuffer sb = new StringBuffer(); // we will use a collator here so that we can take advantage of the locales Collator collator = Collator.g... | 7,319 |
public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafI... | public Component getTreeCellRendererComponent(JTree tree, Object val, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { if (leaf) setIcon(getLeafI... | 7,320 |
MenuBar(){ if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | MenuBar(){ if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | 7,321 |
MenuBar(){ if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | MenuBar(){ if (GraphicsEnvironment.isHeadless()) throw new HeadlessException ();} | 7,322 |
add(Menu menu){ if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; menus.addElement(menu); if (peer != null) { menu.addNotify(); } return(menu);} | add(Menu menu){ if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; menus.addElement(menu); if (peer != null) { menu.addNotify(); } return(menu);} | 7,323 |
add(Menu menu){ if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; menus.addElement(menu); if (peer != null) { menu.addNotify(); } return(menu);} | add(Menu menu){ if (menu.parent != null) menu.parent.remove(menu); menu.parent = this; menus.addElement(menu); if (peer != null) { menu.addNotify(); } return(menu);} | 7,324 |
add(Menu menu){ if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; menus.addElement(menu); if (peer != null) { menu.addNotify(); } return(menu);} | add(Menu menu) if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; menus.addElement(menu); if (peer != null) menu.addNotify(); } return(menu);} | 7,325 |
add(Menu menu){ if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; menus.addElement(menu); if (peer != null) { menu.addNotify(); } return(menu);} | add(Menu menu){ if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; menus.addElement(menu); if (peer != null) { menu.addNotify(); return(menu);} | 7,326 |
add(Menu menu){ if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; menus.addElement(menu); if (peer != null) { menu.addNotify(); } return(menu);} | add(Menu menu){ if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; menus.addElement(menu); if (peer != null) { menu.addNotify(); } return(menu);} | 7,327 |
countMenus(){ return menus.size () + (getHelpMenu () == null ? 0 : 1);} | countMenus(){ return menus.size () + (getHelpMenu () == null ? 0 : 1);} | 7,328 |
deleteShortcut(MenuShortcut shortcut){ MenuItem it; // This is a slow implementation, but it probably doesn't matter. while ((it = getShortcutMenuItem (shortcut)) != null) it.deleteShortcut ();} | deleteShortcut(MenuShortcut shortcut){ MenuItem it; // This is a slow implementation, but it probably doesn't matter. while ((it = getShortcutMenuItem (shortcut)) != null) it.deleteShortcut ();} | 7,329 |
deleteShortcut(MenuShortcut shortcut){ MenuItem it; // This is a slow implementation, but it probably doesn't matter. while ((it = getShortcutMenuItem (shortcut)) != null) it.deleteShortcut ();} | deleteShortcut(MenuShortcut shortcut){ MenuItem it; // This is a slow implementation, but it probably doesn't matter. while ((it = getShortcutMenuItem (shortcut)) != null) it.deleteShortcut ();} | 7,330 |
public AccessibleContext getAccessibleContext(){ /* Create the context if this is the first request */ if (accessibleContext == null) accessibleContext = new AccessibleAWTMenuBar(); return accessibleContext;} | public AccessibleContext getAccessibleContext(){ /* Create the context if this is the first request */ if (accessibleContext == null) accessibleContext = new AccessibleAWTMenuBar(); return accessibleContext;} | 7,331 |
public AccessibleContext getAccessibleContext(){ /* Create the context if this is the first request */ if (accessibleContext == null) accessibleContext = new AccessibleAWTMenuBar(); return accessibleContext;} | public AccessibleContext getAccessibleContext(){ /* Create the context if this is the first request */ if (accessibleContext == null) accessibleContext = new AccessibleAWTMenuBar(); return accessibleContext;} | 7,332 |
getHelpMenu(){ return(helpMenu);} | getHelpMenu(){ return(helpMenu);} | 7,333 |
getMenu(int index){ return((Menu)menus.elementAt(index));} | getMenu(int index){ return((Menu)menus.elementAt(index));} | 7,334 |
getMenuCount(){ return countMenus ();} | getMenuCount(){ return countMenus ();} | 7,335 |
getShortcutMenuItem(MenuShortcut shortcut){ Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); MenuShortcut s = menu.getShortcut(); if ((s != null) && (s.equals(shortcut))) return(menu); } return(null);} | getShortcutMenuItem(MenuShortcut shortcut){ Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); MenuShortcut s = menu.getShortcut(); if ((s != null) && (s.equals(shortcut))) return(menu); } return(null);} | 7,336 |
getShortcutMenuItem(MenuShortcut shortcut){ Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); MenuShortcut s = menu.getShortcut(); if ((s != null) && (s.equals(shortcut))) return(menu); } return(null);} | getShortcutMenuItem(MenuShortcut shortcut){ Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu) e.nextElement(); MenuShortcut s = menu.getShortcut(); if ((s != null) && (s.equals(shortcut))) return(menu); } return(null);} | 7,337 |
getShortcutMenuItem(MenuShortcut shortcut){ Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); MenuShortcut s = menu.getShortcut(); if ((s != null) && (s.equals(shortcut))) return(menu); } return(null);} | getShortcutMenuItem(MenuShortcut shortcut){ Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); MenuShortcut s = menu.getShortcut(); if ((s != null) && (s.equals(shortcut))) return(menu); } return(null);} | 7,338 |
getShortcutMenuItem(MenuShortcut shortcut){ Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); MenuShortcut s = menu.getShortcut(); if ((s != null) && (s.equals(shortcut))) return(menu); } return(null);} | getShortcutMenuItem(MenuShortcut shortcut){ Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); MenuShortcut s = menu.getShortcut(); if ((s != null) && (s.equals(shortcut))) return(menu); } return(null);} | 7,339 |
setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHe... | setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHe... | 7,340 |
setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHe... | setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify(); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHel... | 7,341 |
setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHe... | setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove(menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHel... | 7,342 |
setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHe... | setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHe... | 7,343 |
setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHe... | setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); myPeer.add... | 7,344 |
setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; } helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHe... | setHelpMenu(Menu menu){ if (helpMenu != null) { helpMenu.removeNotify (); helpMenu.parent = null; helpMenu = menu; if (menu.parent != null) menu.parent.remove (menu); menu.parent = this; MenuBarPeer peer = (MenuBarPeer) getPeer (); if (peer != null) { menu.addNotify(); peer.addHelp... | 7,345 |
shortcuts(){ Vector shortcuts = new Vector(); Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); if (menu.getShortcut() != null) shortcuts.addElement(menu.getShortcut()); } return(shortcuts.elements());} | shortcuts(){ Vector shortcuts = new Vector(); Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); if (menu.getShortcut() != null) shortcuts.addElement(menu.getShortcut()); } return(shortcuts.elements());} | 7,346 |
shortcuts(){ Vector shortcuts = new Vector(); Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); if (menu.getShortcut() != null) shortcuts.addElement(menu.getShortcut()); } return(shortcuts.elements());} | shortcuts(){ Vector shortcuts = new Vector(); Enumeration e = menus.elements(); while (e.hasMoreElements()) { Menu menu = (Menu)e.nextElement(); if (menu.getShortcut() != null) shortcuts.addElement(menu.getShortcut()); } return(shortcuts.elements());} | 7,347 |
private static List getInstanceFields(VmType jnodeType) { final int all = jnodeType.getNoDeclaredFields(); final ArrayList list = new ArrayList(all); for (int i = 0; i < all; i++) { final VmField f = jnodeType.getDeclaredField(i); if (!f.isStatic()) { list.a... | private static List getInstanceFields(VmType jnodeType) { final int all = jnodeType.getNoDeclaredFields(); final ArrayList list = new ArrayList(all); for (int i = 0; i < all; i++) { final VmField f = jnodeType.getDeclaredField(i); if (!f.isStatic()) { list.a... | 7,348 |
private static List getStaticFields(VmType jnodeType) { final int all = jnodeType.getNoDeclaredFields(); final ArrayList list = new ArrayList(all); for (int i = 0; i < all; i++) { final VmField f = jnodeType.getDeclaredField(i); if (f.isStatic()) { list.add(... | private static List getStaticFields(VmType jnodeType) { final int all = jnodeType.getNoDeclaredFields(); final ArrayList list = new ArrayList(all); for (int i = 0; i < all; i++) { final VmField f = jnodeType.getDeclaredField(i); if (f.isStatic()) { list.add(... | 7,349 |
public void action (SaxDocumentHandler handler) { // set the locatorOrder in the Notes object/* my $notesObj = $LAST_NOTES_OBJECT;# if (ref($notesObj) eq 'XDF::Array') {# for (@NOTE_LOCATOR_ORDER) { $notesObj->addAxisIdToLocatorOrder($_); }# }*/ // reset the location order NoteL... | public void action (SaxDocumentHandler handler) { // set the locatorOrder in the Notes object/* my $notesObj = $LAST_NOTES_OBJECT;# if (ref($notesObj) eq 'XDF::Array') {# for (@NOTE_LOCATOR_ORDER) { $notesObj->addAxisIdToLocatorOrder($_); }# }*/ // reset the location order NoteL... | 7,354 |
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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | publicvoidaction(SaxDocumentHandlerhandler,charbuf[],intoffset,intlen){//IFwegethere,wehavethedelmitedcaseforpopulating//avaluelist.//ourstringthatwewillparseStringvalueListString=newString(buf,offset,len);Stringdelimiter=(String)CurrentValueListParameter.get("delimiter");Stringrepeatable=(String)CurrentValueListParame... | 7,355 |
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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 7,356 |
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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 7,357 |
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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 7,358 |
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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 7,359 |
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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 7,360 |
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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 7,361 |
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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 7,362 |
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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 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. // our string that we will parse String valueListString = new String (buf, offset, len); String delimiter =... | 7,363 |
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,364 |
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... | ArrayList refValueListObj = (ArrayList) ValueListObj.get(valueListIdRef); values = (ArrayList) refValueListObj.clone(); } else { Log.warnln("Error: Reader got an valueList with ValueListIdRef=\""+valueListIdRef+"\" but no previous valueList has that id! Ignoring add valueList request."); return; } } else { values ... | 7,365 |
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,366 |
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,367 |
public Object action (SaxDocumentHandler handler, AttributeList attrs) { // 1. re-init CurrentValueListParameter.clear(); // 2. populate ValueListparameters from attribute list CurrentValueListParameter = attribListToHashtable(attrs); // 3. populate ValueListpa... | public Object action (SaxDocumentHandler handler, AttributeList attrs) { // 1. re-init CurrentValueListParameter.clear(); // 2. populate ValueListparameters from attribute list CurrentValueListParameter = attribListToHashtable(attrs); // 3. populate ValueListpa... | 7,368 |
public EncryptedPrivateKeyInfo(AlgorithmParameters params, byte[] encryptedData) throws IllegalArgumentException, NoSuchAlgorithmException { if (encryptedData.length == 0) { throw new IllegalArgumentException("0-length encryptedData"); } this.params = params;... | public EncryptedPrivateKeyInfo(AlgorithmParameters params, byte[] encryptedData) throws IllegalArgumentException, NoSuchAlgorithmException { if (encryptedData.length == 0) { throw new IllegalArgumentException("0-length encryptedData"); } this.params = params;... | 7,369 |
private void encode() throws IOException { List algId = new ArrayList(2); algId.add(new DERValue(DER.OBJECT_IDENTIFIER, algOid)); getAlgParameters(); if (params != null) { algId.add(DERReader.read(params.getEncoded())); } List epki = new ArrayList(2); epki.add(new DERValue(DER.CONS... | private void encode() throws IOException { List algId = new ArrayList(2); algId.add(new DERValue(DER.OBJECT_IDENTIFIER, algOid)); getAlgParameters(); if (params != null) { algId.add (DERReader.read (params.getEncoded())); } else { algId.add (new DERValue (DER.NULL, null)); } List epki... | 7,370 |
public final void init(byte[]params) throws IOException { paramSpi.engineInit(params); } | public final void init(AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException { paramSpi.engineInit(params); } | 7,372 |
public final void init(byte[]params) throws IOException { paramSpi.engineInit(params); } | public final void init(byte[]params) throws IOException { paramSpi.engineInit(paramSpec); } | 7,373 |
public final void clear() { isTimeSet = false; areFieldsSet = false; for (int i = 0; i < FIELD_COUNT; i++) { isSet[i] = false; fields[i] = 0; } } | public final void clear() { isTimeSet = false; areFieldsSet = false; for (int i = 0; i < FIELD_COUNT; i++) { isSet[i] = false; fields[i] = 0; } } | 7,375 |
public final void clear() { isTimeSet = false; areFieldsSet = false; for (int i = 0; i < FIELD_COUNT; i++) { isSet[i] = false; fields[i] = 0; } } | public final void clear() { isTimeSet = false; areFieldsSet = false; for (int i = 0; i < FIELD_COUNT; i++) { isSet[i] = false; fields[i] = 0; } } | 7,376 |
public void set(int field, int value) { isTimeSet = false; fields[field] = value; isSet[field] = true; switch (field) { case YEAR: case MONTH: case DATE: isSet[WEEK_OF_YEAR] = false; isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_MONTH] = false; isSet[DAY_OF_WEEK] = false; isSet[D... | public void set(int field, int value) { isTimeSet = false; fields[field] = value; isSet[field] = true; switch (field) { case YEAR: case MONTH: case DATE: isSet[WEEK_OF_YEAR] = false; isSet[DAY_OF_YEAR] = false; isSet[WEEK_OF_MONTH] = false; isSet[DAY_OF_WEEK] = false; isSet[D... | 7,377 |
public void propertyChange(PropertyChangeEvent e) { JLabel c = (JLabel) e.getSource(); c.revalidate(); c.repaint(); } | public void propertyChange(PropertyChangeEvent e) { JLabel c = (JLabel) e.getSource(); c.revalidate(); c.repaint(); } | 7,379 |
public void setPosition(Component c, int position) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int ta... | public void setPosition(Component c, int position) { int layer = getLayer (c); int[] range = layerToRange(new Integer(layer)); if (range[0] == range[1]) throw new IllegalArgumentException (); int top = range[0]; int bot = range[1]; if (position == -1) position = (bot - top) - 1; int ta... | 7,380 |
public NamedValue add(int a_flags) { return add_value(null, null, a_flags); } | public NamedValue add(int a_flags) { return add_value(null, new gnuAny(), a_flags); } | 7,381 |
public NamedValue add_item(String a_name, int a_flags) { return add_value(a_name, null, a_flags); } | public NamedValue add_item(String a_name, int a_flags) { return add_value(a_name, new gnuAny(), a_flags); } | 7,382 |
public InvalidDriverException(String s) { super(s); } | public InvalidDriverException(String s) { super(s); } | 7,383 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | 7,384 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | 7,385 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | 7,386 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | 7,387 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | 7,388 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | 7,389 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | 7,390 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | 7,391 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | 7,392 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | reportClasspathBugs(outBugs, vmFile.getReportName(), vmFile .getTarget(), rc); reportClasspathBugs(outBugs, vmFile.getReportName(), vmFile .getTarget(), rc); reportClasspathBugs(outBugs, vmFile.getReportName(), vmFile .getTarget(), rc); reportClasspathBugs(outBugs, vmFile.getReportName(), vmFile .getTarget(), rc); ... | 7,393 |
public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | public void execute() { if (destDir == null) { throw new BuildException("The destdir attribute must be set"); } final Map<String, SourceFile> vmFiles = vmDirs .scanJavaFiles(getProject()); final Map<String, SourceFile> classpathFiles = classpathDirs ... | 7,394 |
protected int getFlags(String code) { int flags = 0; if (code.indexOf("native") >= 0) { flags |= FLAG_NATIVE; } if (code.toLowerCase().indexOf("jnode") >= 0) { flags |= FLAG_JNODE; } if (code.indexOf(vmSpecificTag) >= 0) { flags |= FLAG_VM_S... | protected int getFlags(String code) { int flags = 0; if (code.indexOf("native") >= 0) { flags |= FLAG_NATIVE; } if (code.toLowerCase().indexOf("jnode") >= 0) { flags |= FLAG_JNODE; } if (code.indexOf(vmSpecificTag) >= 0) { flags |= FLAG_VM_S... | 7,396 |
protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIFIC... | protected void reportFlags(PrintWriter out, Flags flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIF... | 7,397 |
protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIFIC... | protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if (flags.isSet(FLAG_TARGET_DIFF)) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIFIC) ... | 7,398 |
protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIFIC... | protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if (flags.isSet(FLAG_VM_SPECI... | 7,399 |
protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIFIC... | protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIFIC... | 7,400 |
protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIFIC... | protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIFIC... | 7,401 |
protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIFIC... | protected void reportFlags(PrintWriter out, int flags) { final StringBuffer b = new StringBuffer(); if ((flags & FLAG_TARGET_DIFF) != 0) { if (b.length() > 0) { b.append(", "); } b.append("different target"); } if ((flags & FLAG_VM_SPECIFIC... | 7,402 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.