bugged
stringlengths
6
599k
fixed
stringlengths
6
40.8M
__index_level_0__
int64
0
3.24M
public JMethod getMethod(String name, JType[] argTypes) { outer : for (JMethod m : methods) { if (!m.name().equals(name)) continue; if (m.hasSignature(argTypes)) return m; } return null; }
public JMethod getMethod(String name, JType[] argTypes) { for (JMethod m : methods) { if (!m.name().equals(name)) continue; if (m.hasSignature(argTypes)) return m; } return null; }
3,229,992
private RubyArray instance_methods(IRubyObject[] args, final Visibility visibility) { boolean includeSuper = args.length > 0 ? args[0].isTrue() : true; RubyArray ary = RubyArray.newArray(getRuntime()); Map kernelMethods = getRuntime().getClasses().getKernelModule().getMethods(); for (Rub...
private RubyArray instance_methods(IRubyObject[] args, final Visibility visibility) { boolean includeSuper = args.length > 0 ? args[0].isTrue() : true; RubyArray ary = RubyArray.newArray(getRuntime()); for (RubyModule p = this; p != null; p = p.getSuperClass()) { // kernel method...
3,229,993
private RubyArray instance_methods(IRubyObject[] args, final Visibility visibility) { boolean includeSuper = args.length > 0 ? args[0].isTrue() : true; RubyArray ary = RubyArray.newArray(getRuntime()); Map kernelMethods = getRuntime().getClasses().getKernelModule().getMethods(); for (Rub...
private RubyArray instance_methods(IRubyObject[] args, final Visibility visibility) { boolean includeSuper = args.length > 0 ? args[0].isTrue() : true; RubyArray ary = RubyArray.newArray(getRuntime()); Map kernelMethods = getRuntime().getClasses().getKernelModule().getMethods(); for (Rub...
3,229,994
private RubyArray instance_methods(IRubyObject[] args, final Visibility visibility) { boolean includeSuper = args.length > 0 ? args[0].isTrue() : true; RubyArray ary = RubyArray.newArray(getRuntime()); Map kernelMethods = getRuntime().getClasses().getKernelModule().getMethods(); for (Rub...
private RubyArray instance_methods(IRubyObject[] args, final Visibility visibility) { boolean includeSuper = args.length > 0 ? args[0].isTrue() : true; RubyArray ary = RubyArray.newArray(getRuntime()); Map kernelMethods = getRuntime().getClasses().getKernelModule().getMethods(); for (Rub...
3,229,995
public IRubyObject newMethod(IRubyObject receiver, String name, boolean bound) { CacheEntry ent = getMethodBodyCached(name); if (! ent.isDefined()) { // printUndef(); return getRuntime().getNil(); } while (ent.getMethod() instanceof EvaluateMethod && ((Ev...
public IRubyObject newMethod(IRubyObject receiver, String name, boolean bound) { CacheEntry ent = getMethodBodyCached(name); if (! ent.isDefined()) { // printUndef(); throw new NameError(getRuntime(), "undefined method `" + name + "' for class `" + this.getName() + "'"); } ...
3,229,996
public final void backup(int amount) { backupChars += amount; if (curBuf.curPos - amount < 0) { int addlChars = amount - 1 - curBuf.curPos; curBuf.curPos = 0; swapBuf(); curBuf.curPos = curBuf.dataLen - addlChars - 1; } else { curBuf.curPos -= amount; } }
public final void backup(int amount) { backupChars += amount; if (curBuf.curPos - amount < 0) { int addlChars = amount - (inputStreamClosed? 0 : 1) - curBuf.curPos; curBuf.curPos = 0; swapBuf(); curBuf.curPos = curBuf.dataLen - addlChars - 1; } else { curBuf.curPos -= amount; ...
3,229,999
public String getTooltip() { return Res.getString("title.login.settings"); }
public String getTooltip() { return Res.getString("title.login.settings"); }
3,230,001
public RubyObject call(RubyObject[] args) { getRuby().getIter().push( getRuby().isBlockGiven() ? RubyIter.ITER_PRE : RubyIter.ITER_NOT); RubyObject result = getReceiverClass().call0( getReceiver(), getMethodId(), new RubyPointer(args), getBodyNode(), false); getRuby().getIter().pop(); return res...
public RubyObject call(RubyObject[] args) { getRuby().getIter().push( getRuby().isBlockGiven() ? RubyIter.ITER_PRE : RubyIter.ITER_NOT); RubyObject result = getReceiverClass().call0( getReceiver(), getMethodId(), new RubyPointer(args), getBodyNode(), false); getRuby().getIter().pop(); return res...
3,230,002
public RubyObject call(RubyObject[] args) { getRuby().getIter().push( getRuby().isBlockGiven() ? RubyIter.ITER_PRE : RubyIter.ITER_NOT); RubyObject result = getReceiverClass().call0( getReceiver(), getMethodId(), new RubyPointer(args), getBodyNode(), false); getRuby().getIter().pop(); return res...
public RubyObject call(RubyObject[] args) { getRuby().getIter().push( getRuby().isBlockGiven() ? RubyIter.ITER_PRE : RubyIter.ITER_NOT); RubyObject result = getReceiverClass().call0( getReceiver(), getMethodId(), new RubyPointer(args), getBodyNode(), false); getRuby().getIter().pop(); return res...
3,230,003
protected WMTemplate(Broker broker) { _broker = broker; }
protected WMTemplate(Broker broker) { this(broker,"wm"); }
3,230,004
public Filter getFilter(String name) { return (Filter) myFilters.get(name); }
public Filter getFilter(String name) { return (Filter) _filters.get(name); }
3,230,005
public Object getParam(String key) throws IOException, TemplateException { // perform double checked lock in case template has not yet // been parsed. try { return myParameters.get(key); } catch (NullPointerException e) { synchronized(this) { parse(); ...
public Object getParam(String key) throws IOException, TemplateException { // perform double checked lock in case template has not yet // been parsed. try { return _parameters.get(key); } catch (NullPointerException e) { synchronized(this) { parse(); ...
3,230,006
public Object getParam(String key) throws IOException, TemplateException { // perform double checked lock in case template has not yet // been parsed. try { return myParameters.get(key); } catch (NullPointerException e) { synchronized(this) { parse(); ...
public Object getParam(String key) throws IOException, TemplateException { // perform double checked lock in case template has not yet // been parsed. try { return _parameters.get(key); } catch (NullPointerException e) { synchronized(this) { parse(); ...
3,230,007
public HashMap getParameters() { return myParameters; }
public HashMap getParameters() { return _parameters; }
3,230,008
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
3,230,009
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
3,230,010
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
3,230,011
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
3,230,012
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
3,230,013
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
public final void parse() throws IOException, TemplateException { // thread policy: // // unsynchronized code elsewhere will access myContent. We must // ensure that any data copied into myContent is ready for public // use--which means dealing with two subtle issues. First, the Block ...
3,230,014
public final void write(Writer out, Context data) throws IOException { // thread policy: Access to myContent is unsynchronized here at // the cost of having a slightly stale copy. This is OK, because // you might have requested it slightly earlier anyway. You will // always get a consi...
public final void write(Writer out, Context data) throws IOException { // thread policy: Access to myContent is unsynchronized here at // the cost of having a slightly stale copy. This is OK, because // you might have requested it slightly earlier anyway. You will // always get a consi...
3,230,015
public final void write(Writer out, Context data) throws IOException { // thread policy: Access to myContent is unsynchronized here at // the cost of having a slightly stale copy. This is OK, because // you might have requested it slightly earlier anyway. You will // always get a consi...
public final void write(Writer out, Context data) throws IOException { // thread policy: Access to myContent is unsynchronized here at // the cost of having a slightly stale copy. This is OK, because // you might have requested it slightly earlier anyway. You will // always get a consi...
3,230,016
public final void write(Writer out, Context data) throws IOException { // thread policy: Access to myContent is unsynchronized here at // the cost of having a slightly stale copy. This is OK, because // you might have requested it slightly earlier anyway. You will // always get a consi...
public final void write(Writer out, Context data) throws IOException { // thread policy: Access to myContent is unsynchronized here at // the cost of having a slightly stale copy. This is OK, because // you might have requested it slightly earlier anyway. You will // always get a consi...
3,230,017
public final void write(Writer out, Context data) throws IOException { // thread policy: Access to myContent is unsynchronized here at // the cost of having a slightly stale copy. This is OK, because // you might have requested it slightly earlier anyway. You will // always get a consi...
public final void write(Writer out, Context data) throws IOException { // thread policy: Access to myContent is unsynchronized here at // the cost of having a slightly stale copy. This is OK, because // you might have requested it slightly earlier anyway. You will // always get a consi...
3,230,018
public final void write(Writer out, Context data) throws IOException { // thread policy: Access to myContent is unsynchronized here at // the cost of having a slightly stale copy. This is OK, because // you might have requested it slightly earlier anyway. You will // always get a consi...
public final void write(Writer out, Context data) throws IOException { // thread policy: Access to myContent is unsynchronized here at // the cost of having a slightly stale copy. This is OK, because // you might have requested it slightly earlier anyway. You will // always get a consi...
3,230,019
final public Object get(Object name) { return (_globals != null) ? _globals.get(name) : null; }
final public Object get(Object name) { if (_globals != null) return _globals.get(name); if (_beanGet != null){ try { return _beanGet.invoke(_bean, new Object[]{ name }); } catch (Exception e){} } return null; }
3,230,020
final public void put(Object name, Object value) { if (_globals == null) { getGlobalVariables().put(name,value); } else { _globals.put(name,value); } }
final public void put(Object name, Object value) { if (_globals == null) { if (_beanPut != null){ try { _beanPut.invoke(_bean, new Object[]{ name, value }); } catch (Exception e){} } else { getGlobalVariables().put(name,value); } } else { _globals.put(name,value); } }
3,230,021
private void initComponents() { titleLabel = new JLabel(TITLE_MSG+DEFAULT_MSG); saveButton = new JButton("SAVE"); saveButton.setEnabled(false); saveButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { model.save(); } }); ...
private void initComponents() { titleLabel = new JLabel(TITLE_MSG+DEFAULT_MSG); saveButton = new JButton("SAVE"); saveButton.setEnabled(false); saveButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { model.save(); } }); ...
3,230,023
public void mouseClicked(MouseEvent e) { if (isAnnotable() && defaultText) annotationArea.setText(""); }
public void mouseClicked(MouseEvent e) { if (isAnnotable() && defaultText) { annotationArea.getDocument().removeDocumentListener( annotationAreaListener); annotationArea.setText(""); annotationArea.getDocument().addDocumentListener( annotationAreaListener); } }
3,230,026
public static RubyObject m_require(Ruby ruby, RubyObject recv, RubyString arg1) { if (arg1.getValue().endsWith(".rb")) { // ruby.getRuntime().load((RubyString)arg1, false); } else if (arg1.getValue().endsWith(".jar")) { File jarFile = new File(arg1.getValu...
ruby.getRuntime().loadFile((RubyString)arg1, false); public static RubyObject m_require(Ruby ruby, RubyObject recv, RubyString arg1) {ruby.getRuntime().loadFile((RubyString)arg1, false); ruby.getRuntime().loadFile((RubyString)arg1, false); if (arg1.getValue().endsWith(".rb")) {ruby.getRuntime().loadFile((RubyString)...
3,230,027
public ColourPicker(Color color) { super(); setTitle("Colour Picker Window"); //setSize(250, 350); setModal(true); setResizable(false); float[] vals = new float[4]; vals = color.getComponents(vals); model = new RGBModel(vals[0], vals[1], vals[2], vals[3]); RGBControl con...
publicsetSize(240, 310); ColourPicker(ColorsetSize(240, 310); color) { setSize(240, 310); setSize(240, 310); setSize(240, 310); setSize(240, 310); super(); setTitle("ColoursetSize(240, 310); PickersetSize(240, 310); Window"); //setSize(250,setSize(240, 310); 350);setSize(240, 310); setSize(240, 310); setSize(240, 31...
3,230,028
public Object invoke(MethodInvocation arg0) throws Throwable { log.info("Meth:\t"+arg0.getMethod().getName()); log.info("Args:\t"+Arrays.asList(arg0.getArguments())); Object o; try { o = arg0.proceed(); log.info("Rslt:\t"+o); } catch (Throwable t) { ...
public Object invoke(MethodInvocation arg0) throws Throwable { log.info("Meth:\t"+arg0.getMethod().getName()); log.info("Args:\t"+ (arg0 == null? "()" : Arrays.asList(arg0.getArguments()))); Object o; try { o = arg0.proceed(); log.info("Rslt:\t"+o); } catch ...
3,230,029
public Object invoke(MethodInvocation arg0) throws Throwable { log.info("Meth:\t"+arg0.getMethod().getName()); log.info("Args:\t"+Arrays.asList(arg0.getArguments())); Object o; try { o = arg0.proceed(); log.info("Rslt:\t"+o); } catch (Throwable t) { ...
public Object invoke(MethodInvocation arg0) throws Throwable { log.info("Meth:\t"+arg0.getMethod().getName()); log.info("Args:\t"+Arrays.asList(arg0.getArguments())); Object o; try { o = arg0.proceed(); finalOutput = "Rslt:\t"+o; } catch (Throwable t) { ...
3,230,030
public Object invoke(MethodInvocation arg0) throws Throwable { log.info("Meth:\t"+arg0.getMethod().getName()); log.info("Args:\t"+Arrays.asList(arg0.getArguments())); Object o; try { o = arg0.proceed(); log.info("Rslt:\t"+o); } catch (Throwable t) { ...
public Object invoke(MethodInvocation arg0) throws Throwable { log.info("Meth:\t"+arg0.getMethod().getName()); log.info("Args:\t"+Arrays.asList(arg0.getArguments())); Object o; try { o = arg0.proceed(); log.info("Rslt:\t"+o); } catch (Throwable t) { ...
3,230,031
protected String renderQuotedBlock(String text) { StringBuffer sb = new StringBuffer (text.length()); sb.append ("<pre>") .append (text) .append ("</pre>"); return sb.toString (); }
protected String renderQuotedBlock(String text) { StringBuffer sb = new StringBuffer (text.length()); sb.append ("<pre>") .append (replace (replace (text, "<", "&lt;"), ">", "&gt;")) .append ("</pre>"); return sb.toString (); }
3,230,035
protected String renderUnknown(WikiData data) { return "<!-- " + data.getType() + " is an unknown WikiData type"; }
protected String renderUnknown(WikiData data) { return "<!-- " + data.getType() + " is an unknown WikiData type -->"; }
3,230,036
public final static Block beginCallArgs(final Ruby ruby) { final Block actBlock = ruby.getBlock().getCurrent(); if (ruby.getCurrentIter().isPre()) { ruby.getBlock().pop(); } ruby.getIterStack().push(Iter.ITER_NOT); return actBlock; }
public final static Block beginCallArgs(final Ruby ruby) { final Block actBlock = ruby.getBlockStack().getCurrent(); if (ruby.getCurrentIter().isPre()) { ruby.getBlock().pop(); } ruby.getIterStack().push(Iter.ITER_NOT); return actBlock; }
3,230,037
public final static Block beginCallArgs(final Ruby ruby) { final Block actBlock = ruby.getBlock().getCurrent(); if (ruby.getCurrentIter().isPre()) { ruby.getBlock().pop(); } ruby.getIterStack().push(Iter.ITER_NOT); return actBlock; }
public final static Block beginCallArgs(final Ruby ruby) { final Block actBlock = ruby.getBlock().getCurrent(); if (ruby.getCurrentIter().isPre()) { ruby.getBlockStack().pop(); } ruby.getIterStack().push(Iter.ITER_NOT); return actBlock; }
3,230,038
public final static void endCallArgs( final Ruby ruby, final Block actBlock) { if (actBlock != null) { // XXX ruby.getBlock().push(actBlock); // Refresh the next attribute. } ruby.getIterStack().pop(); }
public final static void endCallArgs( final Ruby ruby, final Block actBlock) { if (actBlock != null) { // XXX ruby.getBlockStack().push(actBlock); // Refresh the next attribute. } ruby.getIterStack().pop(); }
3,230,039
public void execute(PInputEvent e) { PNode node = e.getPickedNode(); JPopupMenu menu = PopupMenuFactory.getMenu(node); if(menu != null) { Point2D position = e.getPosition(); e.getCamera().viewToLocal(position); int o...
public void execute(PInputEvent e) { PNode node = e.getPickedNode(); JPopupMenu menu = PopupMenuFactory.getMenu(node); if(menu != null) { Point2D position = e.getPosition(); e.getCamera().viewToLocal(position); int o...
3,230,040
private void checkPopup(MouseEvent evt) { final int index = list.locationToIndex(evt.getPoint()); list.setSelectedIndex(index); final String selectedUser = getSelectedUser(); final String groupJID = (String)userMap.get(selectedUser); String groupJIDNickname = StringUtils.parseReso...
private void checkPopup(MouseEvent evt) { final int index = list.locationToIndex(evt.getPoint()); list.setSelectedIndex(index); final String selectedUser = getSelectedUser(); final String groupJID = (String)userMap.get(selectedUser); String groupJIDNickname = StringUtils.parseReso...
3,230,041
public void actionPerformed(ActionEvent actionEvent) { String newNickname = JOptionPane.showInputDialog(groupChatRoom, Res.getString("label.new.nickname") +":", Res.getString("title.change.nickname"), JOptionPane.QUESTION_MESSAGE); if (ModelUtil.hasLength(newNicknam...
public void actionPerformed(ActionEvent actionEvent) { String newNickname = JOptionPane.showInputDialog(groupChatRoom, Res.getString("label.new.nickname") + ":", Res.getString("title.change.nickname"), JOptionPane.QUESTION_MESSAGE); if (ModelUtil.hasLength(newNickna...
3,230,042
public boolean isOwnerOrAdmin(Occupant occupant) { if (occupant != null) { String affiliation = occupant.getAffiliation(); if ("owner".equals(affiliation) || "admin".equals(affiliation)) { return true; } } return false; }
public boolean isOwnerOrAdmin(GroupChatRoom groupChatRoom, String nickname) { Occupant occupant = getOccupant(groupChatRoom, nickname); if (occupant != null) { String affiliation = occupant.getAffiliation(); if ("owner".equals(affiliation) || "admin".equals(affiliation)) { ...
3,230,044
public boolean isModerator(Occupant occupant) { if (occupant != null) { String role = occupant.getRole(); if ("moderator".equals(role)) { return true; } } return false; }
public boolean isModerator(GroupChatRoom groupChatRoom, String nickname) { Occupant occupant = getOccupant(groupChatRoom, nickname); if (occupant != null) { String role = occupant.getRole(); if ("moderator".equals(role)) { return true; } } return ...
3,230,045
public void addExistingObjects(DataObject parent, Set children) throws DSOutOfServiceException, DSAccessException { if (parent instanceof ProjectData) { try { children.toArray(new DatasetData[] {}); } catch (ArrayStoreException ase) { throw ne...
public void addExistingObjects(DataObject parent, Set children) throws DSOutOfServiceException, DSAccessException { if (parent instanceof ProjectData) { try { children.toArray(new DatasetData[] {}); } catch (ArrayStoreException ase) { throw ne...
3,230,046
public void addExistingObjects(DataObject parent, Set children) throws DSOutOfServiceException, DSAccessException { if (parent instanceof ProjectData) { try { children.toArray(new DatasetData[] {}); } catch (ArrayStoreException ase) { throw ne...
public void addExistingObjects(DataObject parent, Set children) throws DSOutOfServiceException, DSAccessException { if (parent instanceof ProjectData) { try { children.toArray(new DatasetData[] {}); } catch (ArrayStoreException ase) { throw ne...
3,230,047
public void classify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "images only contains ImageData ...
public void classify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "images only contains ImageData ...
3,230,048
public void classify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "images only contains ImageData ...
public void classify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "images only contains ImageData ...
3,230,049
public void classify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "images only contains ImageData ...
public void classify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "images only contains ImageData ...
3,230,050
public DataObject createDataObject(DataObject child, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (child == null) throw new IllegalArgumentException("The child cannot be null."); IObject obj = ModelMapper.createIObject(child, parent); if (o...
public DataObject createDataObject(DataObject child, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (child == null) throw new IllegalArgumentException("The child cannot be null."); IObject obj = ModelMapper.createIObject(child, parent); if (o...
3,230,051
public void cutAndPaste(Map toPaste, Map toCut) throws DSOutOfServiceException, DSAccessException { /* try { if ((toPaste == null || toCut == null) || (toPaste.size() == 0 || toCut.size() == 0)) { throw new IllegalArgumentException("No data to cut and Paste....
public void cutAndPaste(Map toPaste, Map toCut) throws DSOutOfServiceException, DSAccessException { /* try { if ((toPaste == null || toCut == null) || (toPaste.size() == 0 || toCut.size() == 0)) { throw new IllegalArgumentException("No data to cut and Paste....
3,230,052
public void declassify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "The images set only contains ...
public void declassify(Set images, Set categories) throws DSOutOfServiceException, DSAccessException { try { images.toArray(new ImageData[] {}); } catch (ArrayStoreException ase) { throw new IllegalArgumentException( "The images set only contains ...
3,230,053
public DataObject removeAnnotationFrom(DataObject annotatedObject, AnnotationData data) throws DSOutOfServiceException, DSAccessException { if (data == null) throw new IllegalArgumentException("No annotation to delete."); if (annota...
public DataObject removeAnnotationFrom(DataObject annotatedObject, AnnotationData data) throws DSOutOfServiceException, DSAccessException { if (data == null) throw new IllegalArgumentException("No annotation to delete."); if (annota...
3,230,054
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
3,230,055
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
3,230,056
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
3,230,057
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
public Set removeDataObjects(Set children, DataObject parent) throws DSOutOfServiceException, DSAccessException { if (children == null) throw new IllegalArgumentException("The children cannot be null."); if (children.size() == 0) throw new IllegalArgumentException...
3,230,058
public DataObject updateAnnotationFor(DataObject annotatedObject, AnnotationData data) throws DSOutOfServiceException, DSAccessException { if (data == null) throw new IllegalArgumentException("No annotation to update."); if (annotatedO...
public DataObject updateAnnotationFor(DataObject annotatedObject, AnnotationData data) throws DSOutOfServiceException, DSAccessException { if (data == null) throw new IllegalArgumentException("No annotation to update."); if (annotatedO...
3,230,059
public DataObject updateDataObject(DataObject object) throws DSOutOfServiceException, DSAccessException { if (object == null) throw new DSAccessException("No object to update."); IObject ob = object.asIObject(); ModelMapper.unloadCollections(ob);; IObject upda...
public DataObject updateDataObject(DataObject object) throws DSOutOfServiceException, DSAccessException { if (object == null) throw new DSAccessException("No object to update."); IObject ob = object.asIObject(); ModelMapper.unloadCollections(ob); IObject updat...
3,230,060
IObject[] createObjects(IObject[] objects, Map options) throws DSOutOfServiceException, DSAccessException { try { IPojos service = getIPojosService(); return service.createDataObjects(objects, options); } catch (Exception e) { handleException(e, "...
IObject[] createObjects(IObject[] objects, Map options) throws DSOutOfServiceException, DSAccessException { try { IPojos service = getIPojosService(); IObject[] results = service.createDataObjects(objects, options); return results; } catch (Exception e) { ...
3,230,061
public static String getVersion() { return "1.1.9.6"; }
public static String getVersion() { return "1.1.9.7"; }
3,230,062
public static Annotator getAnnotator(Set objects, Registry ctx) { if (registry == null) registry = ctx; if (objects == null || objects.size() == 0) return null; return singleton.createAnnotator(objects); }
public static Annotator getAnnotator(Set objects, Registry ctx) { if (registry == null) registry = ctx; if (objects == null || objects.size() == 0) return null; return singleton.createAnnotator(objects); }
3,230,064
public static Classifier getClassifier(Set objects, Class rootType, long rootID, int m, Registry ctx) { if (registry == null) registry = ctx; if (objects == null || objects.size() == 0) return null; return singleton.createClassifier(objects, rootType, rootID, m); }
public static Classifier getClassifier(Set objects, Class rootType, long rootID, int m, Registry ctx) { if (registry == null) registry = ctx; if (objects == null || objects.size() == 0) return null; return singleton.createClassifier(objects, rootType, rootID, m); }
3,230,065
public CommandlineParser(String[] arguments, PrintStream outStream) { this.arguments = arguments; this.outStream = outStream; processArguments(); }
public CommandlineParser(Main main, String[] arguments) { this.arguments = arguments; this.outStream = outStream; processArguments(); }
3,230,067
public CommandlineParser(String[] arguments, PrintStream outStream) { this.arguments = arguments; this.outStream = outStream; processArguments(); }
public CommandlineParser(String[] arguments, PrintStream outStream) { this.arguments = arguments; this.main = main; processArguments(); }
3,230,068
public Reader getScriptSource() { if (hasInlineScript()) { return new StringReader(inlineScript()); } else if (isSourceFromStdin()) { return new InputStreamReader(System.in); } else { File file = new File(getScriptFileName()); try { ret...
public Reader getScriptSource() { if (hasInlineScript()) { return new StringReader(inlineScript()); } else if (isSourceFromStdin()) { return new InputStreamReader(System.in); } else { File file = new File(getScriptFileName()); try { ret...
3,230,069
public Reader getScriptSource() { if (hasInlineScript()) { return new StringReader(inlineScript()); } else if (isSourceFromStdin()) { return new InputStreamReader(System.in); } else { File file = new File(getScriptFileName()); try { ret...
public Reader getScriptSource() { if (hasInlineScript()) { return new StringReader(inlineScript()); } else if (isSourceFromStdin()) { return new InputStreamReader(System.in); } else { File file = new File(getScriptFileName()); try { ret...
3,230,070
private String grabValue(String errorMessage) { characterIndex++; if (characterIndex < arguments[argumentIndex].length()) { return arguments[argumentIndex].substring(characterIndex); } argumentIndex++; if (argumentIndex < arguments.length) { return arguments[...
private String grabValue(String errorMessage) { characterIndex++; if (characterIndex < arguments[argumentIndex].length()) { return arguments[argumentIndex].substring(characterIndex); } argumentIndex++; if (argumentIndex < arguments.length) { return arguments[...
3,230,071
private void processArgument() { String argument = arguments[argumentIndex]; FOR : for (characterIndex = 1; characterIndex < argument.length(); characterIndex++) { switch (argument.charAt(characterIndex)) { case 'h' : Main.printUsage(outStream); ...
private void processArgument() { String argument = arguments[argumentIndex]; FOR : for (characterIndex = 1; characterIndex < argument.length(); characterIndex++) { switch (argument.charAt(characterIndex)) { case 'h' : main.printUsage(); s...
3,230,072
private void processArgument() { String argument = arguments[argumentIndex]; FOR : for (characterIndex = 1; characterIndex < argument.length(); characterIndex++) { switch (argument.charAt(characterIndex)) { case 'h' : Main.printUsage(outStream); ...
private void processArgument() { String argument = arguments[argumentIndex]; FOR : for (characterIndex = 1; characterIndex < argument.length(); characterIndex++) { switch (argument.charAt(characterIndex)) { case 'h' : Main.printUsage(outStream); ...
3,230,073
protected void leave(Node iVisited) {}
protected void leave(Node iVisited) {}
3,230,074
public void setExpandBlocks(boolean iExpandBlock) { _expandBlocks = iExpandBlock; }
public void setExpandBlocks(boolean iExpandBlock) { _expandBlocks = iExpandBlock; }
3,230,075
protected void visit(Node iVisited) { visit(iVisited, true); }
protected void visit(Node iVisited) { visit(iVisited, true); }
3,230,076
public void visitAliasNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitAliasNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,077
public void visitAndNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitAndNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,078
public void visitArgsCatNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitArgsCatNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,079
public void visitArgsNode(Node iVisited) { visit(iVisited); Node lOptNode = iVisited.getOptNode(); if (lOptNode != null) lOptNode.accept(this); leave(iVisited); }
public void visitArgsNode(Node iVisited) { visit(iVisited); Node lOptNode = iVisited.getOptNode(); if (lOptNode != null) lOptNode.accept(this); leave(iVisited); }
3,230,080
public void visitArgsPushNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitArgsPushNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,081
public void visitArrayNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitArrayNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,082
public void visitAttrSetNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitAttrSetNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,083
public void visitBackRefNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitBackRefNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,084
public void visitBeginNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitBeginNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,085
public void visitBlockArgNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitBlockArgNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,086
public void visitBlockNode(Node iVisited) { visit(iVisited); if (!_expandBlocks) { for (Node node = iVisited; node != null; node = node.getNextNode()) node.getHeadNode().accept(this); } else { iVisited.getHeadNode().accept(this); Node lNext = iVisited.getNextNode(); if (lNext != null) lNext.accept(...
public void visitBlockNode(Node iVisited) { visit(iVisited); if (!_expandBlocks) { for (Node node = iVisited; node != null; node = node.getNextNode()) node.getHeadNode().accept(this); } else { iVisited.getHeadNode().accept(this); Node lNext = iVisited.getNextNode(); if (lNext != null) lNext.accept(...
3,230,087
public void visitBlockPassNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitBlockPassNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,088
public void visitBreakNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitBreakNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,089
public void visitCDeclNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitCDeclNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,090
public void visitCFuncNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitCFuncNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,091
public void visitCRefNode(Node iVisited) { visit(iVisited); Node lNext = iVisited.getNextNode(); if (lNext != null) lNext.accept(this); leave(iVisited); }
public void visitCRefNode(Node iVisited) { visit(iVisited); Node lNext = iVisited.getNextNode(); if (lNext != null) lNext.accept(this); leave(iVisited); }
3,230,092
public void visitCVAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
public void visitCVAsgnNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
3,230,093
public void visitCVDeclNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitCVDeclNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,094
public void visitCVar2Node(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitCVar2Node(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,095
public void visitCVarNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitCVarNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,096
public void visitCallNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitCallNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,097
public void visitCaseNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitCaseNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,098
public void visitClassNode(Node iVisited) { visit(iVisited); //FIXME not done yet just quick testing iVisited.getBodyNode().accept(this); leave(iVisited); }
public void visitClassNode(Node iVisited) { visit(iVisited); //FIXME not done yet just quick testing iVisited.getBodyNode().accept(this); leave(iVisited); }
3,230,099
public void visitColon2Node(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitColon2Node(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,100
public void visitColon3Node(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitColon3Node(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,101
public void visitConstNode(Node iVisited) { visit(iVisited); leave(iVisited); }
public void visitConstNode(Node iVisited) { visit(iVisited); leave(iVisited); }
3,230,102
public void visitDAsgnCurrNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
public void visitDAsgnCurrNode(Node iVisited) { visit(iVisited); iVisited.getValueNode().accept(this); leave(iVisited); }
3,230,103