rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k | meta stringlengths 141 403 |
|---|---|---|---|
IRubyObject javaUtilities = runtime.getClasses().getObjectClass().getConstant("JavaUtilities"); for (int i = 0; i < rubyArgs.length; i++) { IRubyObject obj = rubyArgs[i]; if (obj instanceof JavaObject) { rubyArgs[i] = javaUtilities.callMethod("wrap", new IRubyObject[] { obj, RubyString.newString(runtime, obj.getClas... | public Object call(Object recv, String method, Object[] args) throws BSFException { try { IRubyObject rubyRecv = recv != null ? JavaUtil.convertJavaToRuby(runtime, recv) : runtime.getTopSelf(); IRubyObject[] rubyArgs = JavaUtil.convertJavaArrayToRuby(runtime, args); IRubyObje... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/6e2b70581b76d19598bc1ec7657fcfece817a53d/JRubyEngine.java/clean/src/org/jruby/javasupport/bsf/JRubyEngine.java | |
else if (name.equals(FilterWindow.CLOSE_PROPERTY)) | else if (name.equals(FilterWindow.CLOSE_PROPERTY)) { view.onStateChanged(true); | public void propertyChange(PropertyChangeEvent pce) { String name = pce.getPropertyName(); if (name.equals(TreeViewer.FILTER_NODES_PROPERTY)) { Map map = (Map) pce.getNewValue(); if (map.get(model) != null) filterNodes((Set) map.get(model)); } else if (n... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/275dac348ef9abda7c33482582699efea0d0ed19/BrowserControl.java/clean/SRC/org/openmicroscopy/shoola/agents/treeviewer/browser/BrowserControl.java |
} | public void propertyChange(PropertyChangeEvent pce) { String name = pce.getPropertyName(); if (name.equals(TreeViewer.FILTER_NODES_PROPERTY)) { Map map = (Map) pce.getNewValue(); if (map.get(model) != null) filterNodes((Set) map.get(model)); } else if (n... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/275dac348ef9abda7c33482582699efea0d0ed19/BrowserControl.java/clean/SRC/org/openmicroscopy/shoola/agents/treeviewer/browser/BrowserControl.java | |
if( methodName!=null || methodDescriptor!=null) | if( methodName!=null && methodDescriptor!=null) | public LineData addLine(int lineNumber, String methodName, String methodDescriptor) { LineData lineData = getLineData(lineNumber); if (lineData == null) { lineData = new LineData(lineNumber); // Each key is a line number in this class, stored as an Integer object. // Each value is information about the line... | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/94eb278ef0b17d0d807bcec4691a88753492d9f9/ClassData.java/buggy/cobertura/src/net/sourceforge/cobertura/coveragedata/ClassData.java |
Transaction tx = s.beginTransaction(); try { boolean[] isUnlocked = new boolean[iObjects.length]; for (int i = 0; i < iObjects.length; i++) { IObject orig = iObjects[i]; if (orig == null || orig.getId() == null) { isUnlocked[i] = true; continue; | try { boolean[] isUnlocked = new boolean[iObjects.length]; for (int i = 0; i < iObjects.length; i++) { IObject orig = iObjects[i]; if (orig == null || orig.getId() == null) { isUnlocked[i] = true; continue; } final IObject object = (IObject) s.load(orig.getClass(), orig .getId()); if (!object.getDetails().getPerm... | public boolean[] unlock(final IObject... iObjects) { // do nothing if possible if (iObjects == null | iObjects.length < 1) return new boolean[] {}; // create a new session. It's important that we pass in the empty // interceptor here, otherwise even root wouldn't be allowed to unlock // the instance. Session s... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/b2e0d4e007ffb79260681f7450fc94ac7be51414/AdminImpl.java/clean/components/server/src/ome/logic/AdminImpl.java |
final IObject object = (IObject) s.load(orig.getClass(), orig .getId()); if (!object.getDetails().getPermissions().isSet(Flag.LOCKED)) { isUnlocked[i] = true; continue; } final Class<? extends IObject> klass = Utils.trueClass(object .getClass()); final long id = object.getId().longValue(); String[][] checks ... | return isUnlocked; | public boolean[] unlock(final IObject... iObjects) { // do nothing if possible if (iObjects == null | iObjects.length < 1) return new boolean[] {}; // create a new session. It's important that we pass in the empty // interceptor here, otherwise even root wouldn't be allowed to unlock // the instance. Session s... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/b2e0d4e007ffb79260681f7450fc94ac7be51414/AdminImpl.java/clean/components/server/src/ome/logic/AdminImpl.java |
return isUnlocked; | finally { s.flush(); s.disconnect(); s.close(); } } finally { getSecuritySystem().enable(UpdateEventListener.UPDATE_EVENT); | public boolean[] unlock(final IObject... iObjects) { // do nothing if possible if (iObjects == null | iObjects.length < 1) return new boolean[] {}; // create a new session. It's important that we pass in the empty // interceptor here, otherwise even root wouldn't be allowed to unlock // the instance. Session s... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/b2e0d4e007ffb79260681f7450fc94ac7be51414/AdminImpl.java/clean/components/server/src/ome/logic/AdminImpl.java |
finally { s.flush(); tx.commit(); s.close(); } | public boolean[] unlock(final IObject... iObjects) { // do nothing if possible if (iObjects == null | iObjects.length < 1) return new boolean[] {}; // create a new session. It's important that we pass in the empty // interceptor here, otherwise even root wouldn't be allowed to unlock // the instance. Session s... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/b2e0d4e007ffb79260681f7450fc94ac7be51414/AdminImpl.java/clean/components/server/src/ome/logic/AdminImpl.java | |
RubyString src = (RubyString) args[0]; | RubyString src = args[0].convertToString(); | public static IRubyObject eval(IRubyObject recv, IRubyObject[] args) { RubyString src = (RubyString) args[0]; IRubyObject scope = null; String file = "(eval)"; if (args.length > 1) { if (!args[1].isNil()) { scope = args[1]; } ... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/ea4e25f1262c817873877b14c2a82825f1420dd0/RubyKernel.java/clean/src/org/jruby/RubyKernel.java |
RubyString file = (RubyString)args[0]; | RubyString file = args[0].convertToString(); | public static IRubyObject load(IRubyObject recv, IRubyObject[] args) { RubyString file = (RubyString)args[0]; recv.getRuntime().getLoadService().load(file.toString()); return recv.getRuntime().getTrue(); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/ea4e25f1262c817873877b14c2a82825f1420dd0/RubyKernel.java/clean/src/org/jruby/RubyKernel.java |
"RenderingDef with id "+pixelsId+" not found."); | "RenderingDef for Pixels="+pixelsId+" not found."); | public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); try { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); this.renderer = null; if ( rendDefObj == null ) throw new ValidationException( ... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/dc8dde051a1e2b716514b3964c9222ce006ebea9/RenderingEngineImpl.java/buggy/components/rendering/src/omeis/providers/re/RenderingEngineImpl.java |
log.debug("lookupRenderingDef for id "+pixelsId+" succeeded: "+this.rendDefObj); | log.debug("lookupRenderingDef for Pixels="+pixelsId+" succeeded: "+this.rendDefObj); | public void lookupRenderingDef(long pixelsId) { rwl.writeLock().lock(); try { this.rendDefObj = pixMetaSrv.retrieveRndSettings(pixelsId); this.renderer = null; if ( rendDefObj == null ) throw new ValidationException( ... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/dc8dde051a1e2b716514b3964c9222ce006ebea9/RenderingEngineImpl.java/buggy/components/rendering/src/omeis/providers/re/RenderingEngineImpl.java |
this.ctx.applyBeanPropertyValues(this,RenderingEngine.class.getName()); | this.ctx.applyBeanPropertyValues(this,RenderingEngine.class); | public void selfConfigure() { this.ctx = OmeroContext.getInternalServerContext(); this.ctx.applyBeanPropertyValues(this,RenderingEngine.class.getName()); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/dc8dde051a1e2b716514b3964c9222ce006ebea9/RenderingEngineImpl.java/buggy/components/rendering/src/omeis/providers/re/RenderingEngineImpl.java |
if (projectData == null) { System.err.println("Error: Unable to read from data file " + dataFile.getAbsolutePath()); System.exit(1); } | public static void main(String[] args) throws Exception { long startTime = System.currentTimeMillis(); LongOpt[] longOpts = new LongOpt[4]; // TODO: Allow for multiple destination and multiple source directories longOpts[0] = new LongOpt("format", LongOpt.REQUIRED_ARGUMENT, null, 'f'); longOpts[1] = new LongOp... | 50197 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50197/1ee130d23185750a6f545220e4718734f717f945/Main.java/clean/cobertura/src/net/sourceforge/cobertura/reporting/Main.java | |
runtime.getModule("Kernel").callMethod("require",runtime.newString("java")); | public static RubyModule createJRuby(IRuby runtime) { RubyModule comparableModule = runtime.defineModule("JRuby"); CallbackFactory callbackFactory = runtime.callbackFactory(RubyJRuby.class); comparableModule.defineModuleFunction("parse", callbackFactory.getSingletonMethod("parse... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/a73fcf390475dcb40135547d3f6d74fc06bcd08b/RubyJRuby.java/clean/src/org/jruby/RubyJRuby.java | |
c.add(Restrictions.in("details.id",(Collection) value("annotatorIds"))); | Collection annotatorIds = (Collection) value("annotatorIds"); if (annotatorIds != null && annotatorIds.size() > 0) c.add(Restrictions.in("details.id", annotatorIds )); | protected Object runQuery(Session session) throws HibernateException, SQLException { PojoOptions po = new PojoOptions((Map) value(QP.OPTIONS)); Class target = typeToAnnotationType.get((Class) value(QP.CLASS)); String path = annotationTypeToPath.get(target); Cri... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/a39e29573bdd486ca5c91592a592b445e6d4625e/PojosFindAnnotationsQueryDefinition.java/clean/components/server/src/ome/services/query/PojosFindAnnotationsQueryDefinition.java |
ChatRoom chatRoom = chatManager.createChatRoom(item.getFullJID(), item.getNickname(), item.getFullJID()); | ChatRoom chatRoom = chatManager.createChatRoom(item.getFullJID(), item.getNickname(), item.getNickname()); | public void initialize() { // Listen for right-clicks on ContactItem final ContactList contactList = SparkManager.getWorkspace().getContactList(); final Action listenAction = new AbstractAction() { public void actionPerformed(ActionEvent e) { ContactItem item = (Contac... | 52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/f0caeff432cea7ea9181c2a6b312d12998dde960/PresenceChangePlugin.java/clean/src/java/org/jivesoftware/sparkimpl/plugin/chat/PresenceChangePlugin.java |
ChatRoom chatRoom = chatManager.createChatRoom(item.getFullJID(), item.getNickname(), item.getFullJID()); | ChatRoom chatRoom = chatManager.createChatRoom(item.getFullJID(), item.getNickname(), item.getNickname()); | public void processPacket(Packet packet) { Presence presence = (Presence)packet; if (presence == null || (presence.getMode() != Presence.Mode.available && presence.getMode() != Presence.Mode.chat)) { return; } String from = prese... | 52006 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52006/f0caeff432cea7ea9181c2a6b312d12998dde960/PresenceChangePlugin.java/clean/src/java/org/jivesoftware/sparkimpl/plugin/chat/PresenceChangePlugin.java |
articleBlock.setEditMode(mode); | if(mode!=null){ articleBlock.setEditMode(mode); } | protected void setProperties(UIComponent component) { super.setProperties(component); if (component != null) { ArticleAdminBlock articleBlock = ((ArticleAdminBlock)component); articleBlock.setEditMode(mode); } } | 57000 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57000/7493a23b4d95bba0468c9c8438a4f930b908ebf1/ArticleAdminBlockTag.java/clean/src/java/com/idega/block/article/taglib/ArticleAdminBlockTag.java |
return entry(pos.getValue()); | return entry(pos.getLongValue()); | public RubyObject at(RubyFixnum pos) { return entry(pos.getValue()); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyArray.java/buggy/org/jruby/RubyArray.java |
int lesser = Math.min(len, otherLen); RubyFixnum result = RubyFixnum.zero(getRuby()); for (int i = 0; i < lesser; i++) { result = (RubyFixnum) entry(i).funcall("<=>", ary.entry(i)); if (result.getValue() != 0) { | if (len != otherLen) { return (len > otherLen) ? RubyFixnum.one(getRuby()) : RubyFixnum.minus_one(getRuby()); } for (int i = 0; i < len; i++) { RubyFixnum result = (RubyFixnum) entry(i).funcall("<=>", ary.entry(i)); if (result.getLongValue() != 0) { | public RubyObject op_cmp(RubyObject other) { RubyArray ary = arrayValue(other); int otherLen = ary.getLength(); int len = getLength(); int lesser = Math.min(len, otherLen); RubyFixnum result = RubyFixnum.zero(getRuby()); for (int i = 0; i < lesser; i++) { result ... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyArray.java/buggy/org/jruby/RubyArray.java |
if (len != otherLen) { return (len > otherLen) ? RubyFixnum.one(getRuby()) : RubyFixnum.minus_one(getRuby()); } return result; | return RubyFixnum.zero(getRuby()); | public RubyObject op_cmp(RubyObject other) { RubyArray ary = arrayValue(other); int otherLen = ary.getLength(); int len = getLength(); int lesser = Math.min(len, otherLen); RubyFixnum result = RubyFixnum.zero(getRuby()); for (int i = 0; i < lesser; i++) { result ... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyArray.java/buggy/org/jruby/RubyArray.java |
} else if ((args[0] instanceof RubyFixnum) && ((RubyFixnum) args[0]).getValue() < getLength()) { | } else if ((args[0] instanceof RubyFixnum) && (RubyNumeric.fix2long(args[0]) < getLength())) { | public RubyObject slice_bang(RubyObject[] args) { int argc = argCount(args, 1, 2); RubyObject result = aref(args); if (argc == 2) { long beg = RubyNumeric.fix2long(args[0]); long len = RubyNumeric.fix2long(args[1]); replace(beg, len, getRuby().getNil()); ... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/786cea08c1dd2092a02d1254b49fbee371ace5f9/RubyArray.java/buggy/org/jruby/RubyArray.java |
int[] inverse = locksFields(type); for (int i = 0; i < inverse.length; i++) { if (klass.equals(type[inverse[i]].getReturnedClass().getName())) | Locks inverse = locksHolder.get(k); for (int i = 0; i < inverse.size(); i++) { if (!inverse.include(i)) continue; if (inverse.hasSubtypes(i)) | private String[][] lockedByFields( String klass, Map<String,ClassMetadata> m ) { if ( m == null ) throw new InternalException( "ClassMetadata map cannot be null." ); List<String[]> fields = new ArrayList<String[]>(); for (String k : m.keySet()) { ClassMetadata cm = m.get( k ); Type[] type = cm.getProper... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/e30f801c3b2923483e1f69853136328bb21a1d79/ExtendedMetadata.java/clean/components/server/src/ome/tools/hibernate/ExtendedMetadata.java |
fields.add(new String[]{k,names[inverse[i]]}); | for (int j = 0; j < inverse.numberOfSubtypes(i); j++) { if (inverse.subtypeEquals(i, j, klass)) { fields.add(new String[]{k,inverse.subtypeName(i,j)}); } } } else if (klass.equals(type[i].getReturnedClass().getName())) { fields.add(new String[]{k,names[i]}); | private String[][] lockedByFields( String klass, Map<String,ClassMetadata> m ) { if ( m == null ) throw new InternalException( "ClassMetadata map cannot be null." ); List<String[]> fields = new ArrayList<String[]>(); for (String k : m.keySet()) { ClassMetadata cm = m.get( k ); Type[] type = cm.getProper... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/e30f801c3b2923483e1f69853136328bb21a1d79/ExtendedMetadata.java/clean/components/server/src/ome/tools/hibernate/ExtendedMetadata.java |
ExperimenterGroup group = groupProxy(groupName); | final ExperimenterGroup group = groupProxy(groupName); final EventContext ec = getSecuritySystem().getEventContext(); if ( ! ec.getMemberOfGroupsList().contains(group.getId()) && ! ec.isCurrentUserAdmin() ) throw new SecurityViolation("Cannot change group for:"+iObject); | public void changeGroup(IObject iObject, String groupName) { final LocalUpdate update = iUpdate; // should take a group final IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); ExperimenterGroup group = groupProxy(groupName); copy.getDetails().setGroup(group); getSecuritySystem().doAction(copy, new ... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/96669ca756998116555451076f77a19bb3d1e8df/AdminImpl.java/buggy/components/server/src/ome/logic/AdminImpl.java |
IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); if (!aclVoter.allowChmod(copy)) throw new SecurityViolation("Cannot change permissions for:"+ iObject); copy.getDetails().setPermissions(perms); | copy[0] = iQuery.get(iObject.getClass(), iObject.getId()); } }); if (!aclVoter.allowChmod(copy[0])) throw new SecurityViolation("Cannot change permissions for:"+ copy[0]); getSecuritySystem().runAsAdmin(new AdminAction(){ public void runAsAdmin() { copy[0].getDetails().setPermissions(perms); | public void changePermissions(final IObject iObject, final Permissions perms) { final ACLVoter aclVoter = getSecuritySystem().getACLVoter(); // TODO inject getSecuritySystem().runAsAdmin(new AdminAction(){ public void runAsAdmin() { IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); if (!aclVote... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/96669ca756998116555451076f77a19bb3d1e8df/AdminImpl.java/buggy/components/server/src/ome/logic/AdminImpl.java |
IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); if (!aclVoter.allowChmod(copy)) throw new SecurityViolation("Cannot change permissions for:"+ iObject); copy.getDetails().setPermissions(perms); iUpdate.flush(); | copy[0] = iQuery.get(iObject.getClass(), iObject.getId()); | public void runAsAdmin() { IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); if (!aclVoter.allowChmod(copy)) throw new SecurityViolation("Cannot change permissions for:"+ iObject); copy.getDetails().setPermissions(perms); iUpdate.flush(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/96669ca756998116555451076f77a19bb3d1e8df/AdminImpl.java/buggy/components/server/src/ome/logic/AdminImpl.java |
return Collections.EMPTY_LIST; | return EMPTY_LIST; | public List childNodes() { return Collections.EMPTY_LIST; } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/b1293eda8454686e846e2a9837b348e2983bb423/AliasNode.java/clean/src/org/jruby/ast/AliasNode.java |
setResizable(false); | 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 c... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/a120269806e5dce185dd2b5b26374a782df23119/ColourPicker.java/clean/SRC/org/openmicroscopy/shoola/util/ui/colourpicker/ColourPicker.java | |
return context.callSuper(context.getFrameArgs()); | return context.callSuper(context.getFrameArgs(), true); | private static IRubyObject evalInternal(ThreadContext context, Node node, IRubyObject self) { IRuby runtime = context.getRuntime(); bigloop: do { if (node == null) return runtime.getNil(); switch (node.nodeId) { case NodeTypes.ALIASNODE: { AliasNode ... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/62645b2160c482d6d16d79513df80eac48c28894/EvaluationState.java/buggy/src/org/jruby/evaluator/EvaluationState.java |
jj_la1[46] = jj_gen; | jj_la1[48] = jj_gen; | final public Object AExpression() throws ParseException { Object e, e2; Token op; e = Factor(); label_6: while (true) { if (jj_2_12(2)) { ; } else { break label_6; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; defau... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[47] = jj_gen; | jj_la1[49] = jj_gen; | final public Object AExpression() throws ParseException { Object e, e2; Token op; e = Factor(); label_6: while (true) { if (jj_2_12(2)) { ; } else { break label_6; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; defau... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[48] = jj_gen; | jj_la1[50] = jj_gen; | final public Object AExpression() throws ParseException { Object e, e2; Token op; e = Factor(); label_6: while (true) { if (jj_2_12(2)) { ; } else { break label_6; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; defau... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[52] = jj_gen; | jj_la1[54] = jj_gen; | final public Object AndExpression() throws ParseException { Object e, e2; e = CExpression(); label_7: while (true) { if (jj_2_14(2)) { ; } else { break label_7; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[53] = jj_gen; | jj_la1[55] = jj_gen; | final public Object AndExpression() throws ParseException { Object e, e2; e = CExpression(); label_7: while (true) { if (jj_2_14(2)) { ; } else { break label_7; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[71] = jj_gen; | jj_la1[73] = jj_gen; | final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_11: while (true) { ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[72] = jj_gen; | jj_la1[74] = jj_gen; | final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_11: while (true) { ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[73] = jj_gen; | jj_la1[75] = jj_gen; | final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_11: while (true) { ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[74] = jj_gen; | jj_la1[76] = jj_gen; | final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_11: while (true) { ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[75] = jj_gen; | jj_la1[77] = jj_gen; | final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_11: while (true) { ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[76] = jj_gen; | jj_la1[78] = jj_gen; | final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_11: while (true) { ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[77] = jj_gen; | jj_la1[79] = jj_gen; | final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_11: while (true) { ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[50] = jj_gen; | jj_la1[52] = jj_gen; | final public Object CExpression() throws ParseException { // Note that CExpression is a little different from other binary // expression rules, as we don't want to accept a == b == c // Thanks to Aldona Majorek for pointing this out Object e1, e2=null; Token op=null; e1 = AExpression(); if (jj_2_13(2)) { ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[51] = jj_gen; | jj_la1[53] = jj_gen; | final public Object CExpression() throws ParseException { // Note that CExpression is a little different from other binary // expression rules, as we don't want to accept a == b == c // Thanks to Aldona Majorek for pointing this out Object e1, e2=null; Token op=null; e1 = AExpression(); if (jj_2_13(2)) { ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[57] = jj_gen; | jj_la1[59] = jj_gen; | final public void Comment(ParserBlockBuilder b) throws ParseException { jj_consume_token(POUNDPOUND); SetState(COMMENT); if (b.directiveOk()) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case RESTOFLINE: jj_consume_token(RESTOFLINE); break; default: jj_la1[57] = jj_gen; ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[56] = jj_gen; | jj_la1[58] = jj_gen; | final public void Directive(ParserBlockBuilder b) throws ParseException { Token t; Object o; Subdirective s; jj_consume_token(POUND); SetState(WM); if (jj_2_16(2147483647) && (b.directiveOk())) { t = jj_consume_token(WORD); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[58] = jj_gen; | jj_la1[60] = jj_gen; | final public Object DollarReference() throws ParseException { int entryState = token_source.curLexState; Object o; SetState(WM); if (jj_2_17(2147483647)) { o = VariableReference(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: jj_consume_token(DOLLAR); ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[43] = jj_gen; | jj_la1[45] = jj_gen; | final public Object Factor() throws ParseException { Object e, e2; Token op; e = Term(); label_5: while (true) { if (jj_2_11(2)) { ; } else { break label_5; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[44] = jj_gen; | jj_la1[46] = jj_gen; | final public Object Factor() throws ParseException { Object e, e2; Token op; e = Term(); label_5: while (true) { if (jj_2_11(2)) { ; } else { break label_5; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[45] = jj_gen; | jj_la1[47] = jj_gen; | final public Object Factor() throws ParseException { Object e, e2; Token op; e = Term(); label_5: while (true) { if (jj_2_11(2)) { ; } else { break label_5; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default: ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[63] = jj_gen; | jj_la1[65] = jj_gen; | final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case END:... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[64] = jj_gen; | jj_la1[66] = jj_gen; | final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case END:... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[65] = jj_gen; | jj_la1[67] = jj_gen; | final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case END:... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[66] = jj_gen; | jj_la1[68] = jj_gen; | final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case END:... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[67] = jj_gen; | jj_la1[69] = jj_gen; | final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case END:... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[68] = jj_gen; | jj_la1[70] = jj_gen; | final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case END:... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[69] = jj_gen; | jj_la1[71] = jj_gen; | final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case END:... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[70] = jj_gen; | jj_la1[72] = jj_gen; | final public BlockBuilder LiteralBlock() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; if (jj_2_20(2147483647)) { jj_consume_token(LBRACE); label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case END:... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[61] = jj_gen; | jj_la1[63] = jj_gen; | final public void LiteralWMContent(ParserBlockBuilder b) throws ParseException { Token t; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case QCHAR: t = jj_consume_token(QCHAR); b.addElement(t.image.substring(1)); break; case STUFF: case POUNDPOUND: case DOLLAR: case SLASH: cas... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[62] = jj_gen; | jj_la1[64] = jj_gen; | final public void LiteralWMContent(ParserBlockBuilder b) throws ParseException { Token t; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case QCHAR: t = jj_consume_token(QCHAR); b.addElement(t.image.substring(1)); break; case STUFF: case POUNDPOUND: case DOLLAR: case SLASH: cas... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[54] = jj_gen; | jj_la1[56] = jj_gen; | final public Object OrExpression() throws ParseException { Object e, e2; e = AndExpression(); label_8: while (true) { if (jj_2_15(2)) { ; } else { break label_8; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default:... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[55] = jj_gen; | jj_la1[57] = jj_gen; | final public Object OrExpression() throws ParseException { Object e, e2; e = AndExpression(); label_8: while (true) { if (jj_2_15(2)) { ; } else { break label_8; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; default:... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[49] = jj_gen; | jj_la1[51] = jj_gen; | final public Token RelOp() throws ParseException { Token t; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case OP_EQ: t = jj_consume_token(OP_EQ); break; case OP_SET: t = jj_consume_token(OP_SET); break; case OP_NE: t = jj_consume_token(OP_NE); break; case OP_GT: t = jj_co... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[41] = jj_gen; | jj_la1[43] = jj_gen; | final public Object Term() throws ParseException { Object e; Token t; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: e = VariableReference(); break; case LPAREN: jj_consume_token(LPAREN); e = Expression(); jj_consume_token(RPAREN); break; case QUOTE: case SQUOTE: ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[42] = jj_gen; | jj_la1[44] = jj_gen; | final public Object Term() throws ParseException { Object e; Token t; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: e = VariableReference(); break; case LPAREN: jj_consume_token(LPAREN); e = Expression(); jj_consume_token(RPAREN); break; case QUOTE: case SQUOTE: ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[59] = jj_gen; | jj_la1[61] = jj_gen; | final public void WMContent(ParserBlockBuilder b) throws ParseException { Token t; Object o, dr; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: t = jj_consume_token(STUFF); b.addElement(t.image); break; case QCHAR: t = jj_consume_token(QCHAR); b... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[60] = jj_gen; | jj_la1[62] = jj_gen; | final public void WMContentNoDirective(ParserBlockBuilder b) throws ParseException { Token t; Object o, dr; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: t = jj_consume_token(STUFF); b.addElement(t.image); break; case QCHAR: t = jj_consume_token(QCHAR); ... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[78] = jj_gen; | jj_la1[80] = jj_gen; | final public BlockBuilder WMDocument() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case RBRACE: case END: case BEGIN: case LBRACE: case POUNDPOU... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[79] = jj_gen; | jj_la1[81] = jj_gen; | final public BlockBuilder WMDocument() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case RBRACE: case END: case BEGIN: case LBRACE: case POUNDPOU... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
jj_la1[80] = jj_gen; | jj_la1[82] = jj_gen; | final public BlockBuilder WMDocument() throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case STUFF: case RBRACE: case END: case BEGIN: case LBRACE: case POUNDPOU... | 52513 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52513/126c8b01768c9be523a6baffb01538d1aba40e1e/WMParser_impl.java/buggy/webmacro/src/org/webmacro/parser/WMParser_impl.java |
"WEB-INF/services.xml", "WEB-INF/dao.xml", "WEB-INF/data.xml", "WEB-INF/test/config-test.xml", "WEB-INF/test/test.xml"}; | "WEB-INF/jms.xml" }; | protected String[] getConfigLocations() { return new String[] { "WEB-INF/services.xml", "WEB-INF/dao.xml", "WEB-INF/data.xml", "WEB-INF/test/config-test.xml", "WEB-INF/test/test.xml"}; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/c69d196330f830906f9e7a7ada7e29b8d88daa2d/LeftOuterJoinTest.java/clean/components/server/test/org/openmicroscopy/omero/server/itests/LeftOuterJoinTest.java |
hb = (HierarchyBrowsing) applicationContext.getBean("hierarchyBrowsingService"); | protected void onSetUp() throws Exception { hb = (HierarchyBrowsing) applicationContext.getBean("hierarchyBrowsingService"); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/c69d196330f830906f9e7a7ada7e29b8d88daa2d/LeftOuterJoinTest.java/clean/components/server/test/org/openmicroscopy/omero/server/itests/LeftOuterJoinTest.java | |
assertTrue("Need two pixInfos, please.",p.collectFromPlaneInfo(null).size() == 2); for (PlaneInfo pi : (List<PlaneInfo>)p.collectFromPlaneInfo(null)) | assertTrue("Need two pixInfos, please.",p.collectPlaneInfo(null).size() == 2); for (PlaneInfo pi : (List<PlaneInfo>)p.collectPlaneInfo(null)) | public void testNewCollectionFieldOnDetachedPixels() throws Exception { // PREPARE ------------------------------------------------- PlaneInfo pi1 = new PlaneInfo(),pi2 = new PlaneInfo(); pi1.setPixels(p); pi1.setExposureTime(new Float(10)); pi1.setTimestamp(new Float(-11)); ... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/7b5c704279f82fa929138305f70f2f5e6b462c69/DetachedPixelsGraphTest.java/clean/components/server/test/ome/server/itests/update/DetachedPixelsGraphTest.java |
{ AnnotatorModel model = new AnnotatorModel(objects); AnnotatorComponent component = new AnnotatorComponent(model); model.initialize(component); component.initialize(); return component; } | { AnnotatorModel model = new AnnotatorModel(objects); AnnotatorComponent component = new AnnotatorComponent(model); model.initialize(component); component.initialize(); return component; } | private Annotator createAnnotator(Set objects) { AnnotatorModel model = new AnnotatorModel(objects); AnnotatorComponent component = new AnnotatorComponent(model); model.initialize(component); component.initialize(); return component; } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/464efde90db6bc5095c0a7e5952f51ad0f37ca86/AnnotatorFactory.java/buggy/SRC/org/openmicroscopy/shoola/agents/util/annotator/view/AnnotatorFactory.java |
JavaClass javaClass = javaSources[i].getClasses()[0]; ElementMapping element = loadElement(javaClass); if (element != null && !javaClass.isAbstract()) { elements.add(element); } else { log.debug("No XML annotation found for type: " + javaClass.getFullyQualifiedName()); } | if( javaSources[i].getClasses().length == 0 ) { log.warn("No Java Classes defined in: " + javaSources[i].getURL() ); } else { JavaClass[] classes = javaSources[i].getClasses(); for (int j = 0; j < classes.length; j++) { JavaClass javaClass = classes[j]; ElementMapping element = loadElement(javaClass); if (element != nu... | private List loadElements(JavaDocBuilder builder) { JavaSource[] javaSources = builder.getSources(); List elements = new ArrayList(); for (int i = 0; i < javaSources.length; i++) { JavaClass javaClass = javaSources[i].getClasses()[0]; ElementMapping element = loadElement(j... | 52533 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52533/a01ace06a3dd32d06814b0e4764a498ee1be700c/QdoxMappingLoader.java/clean/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/QdoxMappingLoader.java |
{ view.addMouseListener(this); view.addMouseMotionListener(this); } | { view.addMouseListener(this); view.addMouseMotionListener(this); } | private void attachListeners() { view.addMouseListener(this); view.addMouseMotionListener(this); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
{ Point p = e.getPoint(); if (dragging) { if (boxEnd.contains(p) && p.x >= leftBorder && p.x <= lS && p.x >= maxStartX && p.x <= maxEndX && p.x >= absMin && type == QuantumFactory.EXPONENTIAL) { int min = control.getGlobalMinimum(); curRealValue = convertGraphicsIntoReal(p.x-leftBorder, control.getGlobalMaximum()-min, ... | { Point p = e.getPoint(); if (dragging) { if (boxEnd.contains(p) && p.x >= leftBorder && p.x <= lS && p.x >= maxStartX && p.x <= maxEndX && p.x >= absMin && type == QuantumFactory.EXPONENTIAL) { int min = control.getGlobalMinimum(); curRealValue = convertGraphicsIntoReal(p.x-leftBorder, control.getGlobalMaximum()-min, ... | public void mouseDragged(MouseEvent e) { Point p = e.getPoint(); if (dragging) { if (boxEnd.contains(p) && p.x >= leftBorder && p.x <= lS && p.x >= maxStartX && p.x <= maxEndX && p.x >= absMin && type == QuantumFactory.EXPONENTIAL) { int min = control.getGlobalMinimum(); curRealValue = convertGraphic... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
{ Point p = e.getPoint(); if (!dragging) { dragging = true; if (boxEnd.contains(p) && p.x >= leftBorder && p.x <= lS && p.x >= maxStartX && p.x <= maxEndX && p.x >= absMin && type == QuantumFactory.EXPONENTIAL) { int min = control.getGlobalMinimum(); int v = convertGraphicsIntoReal(p.x-leftBorder, control.getGlobalMaxi... | { Point p = e.getPoint(); if (!dragging) { dragging = true; if (boxEnd.contains(p) && p.x >= leftBorder && p.x <= lS && p.x >= maxStartX && p.x <= maxEndX && p.x >= absMin && type == QuantumFactory.EXPONENTIAL) { int min = control.getGlobalMinimum(); int v = convertGraphicsIntoReal(p.x-leftBorder, control.getGlobalMaxi... | public void mousePressed(MouseEvent e) { Point p = e.getPoint(); if (!dragging) { dragging = true; if (boxEnd.contains(p) && p.x >= leftBorder && p.x <= lS && p.x >= maxStartX && p.x <= maxEndX && p.x >= absMin && type == QuantumFactory.EXPONENTIAL) { int min = control.getGlobalMinimum(); int v = c... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
{ if (inputStartKnob) control.setChannelWindowStart(curRealValue); else if (inputEndKnob) control.setChannelWindowEnd(curRealValue); else if (outputStartKnob) control.setCodomainLowerBound(curRealValue); else if (outputEndKnob) control.setCodomainUpperBound(curRealValue); dragging = false; inputStartKnob = false; input... | { if (inputStartKnob) control.setChannelWindowStart(curRealValue); else if (inputEndKnob) control.setChannelWindowEnd(curRealValue); else if (outputStartKnob) control.setCodomainLowerBound(curRealValue); else if (outputEndKnob) control.setCodomainUpperBound(curRealValue); dragging = false; inputStartKnob = false; input... | public void mouseReleased(MouseEvent e) { if (inputStartKnob) control.setChannelWindowStart(curRealValue); else if (inputEndKnob) control.setChannelWindowEnd(curRealValue); else if (outputStartKnob) control.setCodomainLowerBound(curRealValue); else if (outputEndKnob) control.setCodomainUpperBound(curRealValue); ... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
{ maxStartX = x+extraControl; boxStart.setBounds(x-triangleW, tS+triangleW+1, 4*length, bottomBorder+bottomBorderSupp); } | { maxStartX = x+extraControl; boxStart.setBounds(x-triangleW, tS+triangleW+1, 4*length, bottomBorder+bottomBorderSupp); } | void setInputStartBox(int x) { //maxStartX = x+2*triangleW; maxStartX = x+extraControl; boxStart.setBounds(x-triangleW, tS+triangleW+1, 4*length, bottomBorder+bottomBorderSupp); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
{ | { | private void setOutputEndBox(int y) { //minEndOutputY = y+triangleW; minEndOutputY = y+extraControl; boxOutputEnd.setBounds(lS, y-triangleW, leftBorder, 4*length); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
boxOutputEnd.setBounds(lS, y-triangleW, leftBorder, 4*length); } | boxOutputEnd.setBounds(lS, y-triangleW, leftBorder, 4*length); } | private void setOutputEndBox(int y) { //minEndOutputY = y+triangleW; minEndOutputY = y+extraControl; boxOutputEnd.setBounds(lS, y-triangleW, leftBorder, 4*length); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
{ | { | private void setOutputStartBox(int y) { //maxStartOutputY = y-2*triangleW; maxStartOutputY = y-extraControl; boxOutputStart.setBounds(0, y-2*triangleW, leftBorder, 4*length); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
boxOutputStart.setBounds(0, y-2*triangleW, leftBorder, 4*length); } | boxOutputStart.setBounds(0, y-2*triangleW, leftBorder, 4*length); } | private void setOutputStartBox(int y) { //maxStartOutputY = y-2*triangleW; maxStartOutputY = y-extraControl; boxOutputStart.setBounds(0, y-2*triangleW, leftBorder, 4*length); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
{ setOutputEndBox(y); view.updateOutputEnd(y); } | { setOutputEndBox(y); view.updateOutputEnd(y); } | void setOutputWindowEnd(int y) { setOutputEndBox(y); view.updateOutputEnd(y); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
{ setOutputStartBox(y); view.updateOutputStart(y); } | { setOutputStartBox(y); view.updateOutputStart(y); } | void setOutputWindowStart(int y) { setOutputStartBox(y); view.updateOutputStart(y); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/1722ebf9ac60fc8e45cdc8d0049e85db5b86715c/GraphicsRepresentationManager.java/buggy/SRC/org/openmicroscopy/shoola/agents/rnd/pane/GraphicsRepresentationManager.java |
int N = Integer.parseInt(args[0]) - 1; | public static void main(String args[]) { //@START int N = Integer.parseInt(args[0]) - 1; NumberFormat nf = NumberFormat.getInstance(); nf.setMaximumFractionDigits(9); nf.setMinimumFractionDigits(9); nf.setGroupingUsed(false); while (N-- > 0) { gen_random(100); } System.out.println(nf.format(gen_random(100))); /... | 53330 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53330/eb6c850277407b38bcaefb81155941da0f27b849/random.java/buggy/tests/shootout/java-start/random.java | |
testArgsCount(recv.getRuntime(), args); | arity.checkArity(recv.getRuntime(), args); | public IRubyObject execute(IRubyObject recv, IRubyObject[] args) { args = (args != null) ? args : IRubyObject.NULL_ARRAY; testArgsCount(recv.getRuntime(), args); return invokeMethod(recv, args); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/765ab8f2eeed4e7c0c131b35b7ecadb0ee2855fd/AbstractCallback.java/clean/src/org/jruby/runtime/callback/AbstractCallback.java |
throw new RuntimeException( "Cannot call \"" + methodName + "\" in class \"" + type.getName() + "\". " + getExpectedArgsString((IRubyObject[]) originalArgs)); | assert false : e; return null; | protected final Object[] packageRestArgumentsForReflection(final Object[] originalArgs) { IRubyObject[] restArray = new IRubyObject[originalArgs.length - (argumentTypes.length - 1)]; Object[] result = new Object[argumentTypes.length]; try { System.arraycopy(originalArgs, argumentType... | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/765ab8f2eeed4e7c0c131b35b7ecadb0ee2855fd/AbstractCallback.java/clean/src/org/jruby/runtime/callback/AbstractCallback.java |
className = className.replace("/", "."); | className = className.replace('/', '.'); | private static boolean isExcluded(String sourceName, String[] excludedClasses) { if (excludedClasses == null) { return false; } String className = sourceName; if (sourceName.endsWith(".java")) { className = className.substring(0, className.length() - ".java".length(... | 52533 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52533/8bd98627f738e930150b474899895f43381d8a42/QdoxMappingLoader.java/clean/xbean-spring-common/src/main/java/org/apache/xbean/spring/generator/QdoxMappingLoader.java |
zoomParamListeners = new HashSet(); | private void init(BrowserTopModel topModel) { env = BrowserEnvironment.getInstance(); setBackground(new Color(192,192,192)); backgroundNode = new BackgroundNode(); getLayer().addChild(backgroundNode); layoutMap = new HashMap(); footprint = new Rectangle2D... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/931190c640a4d36141bc5769628dc3f10cf66641/BrowserView.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/ui/BrowserView.java | |
setZoomToScale(); | setZoomToScale(true); | public void modeChanged(String className, BrowserMode mode) { // boooooo. if(className == null) { return; } else if(className.equals(BrowserModel.PAN_MODE_NAME)) { if(mode == BrowserMode.HAND_MODE) { // TODO: change drag li... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/931190c640a4d36141bc5769628dc3f10cf66641/BrowserView.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/ui/BrowserView.java |
setZoomToScale(false); | public void modeChanged(String className, BrowserMode mode) { // boooooo. if(className == null) { return; } else if(className.equals(BrowserModel.PAN_MODE_NAME)) { if(mode == BrowserMode.HAND_MODE) { // TODO: change drag li... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/931190c640a4d36141bc5769628dc3f10cf66641/BrowserView.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/ui/BrowserView.java | |
scaleToShow = false; | if(scaleToShow) return; | public void setZoomLevel(double zoomLevel) { // error condition if(zoomLevel <= 0) { return; } scaleToShow = false; Dimension dim = getSize(); double width = dim.getWidth(); double height = dim.getHeight(); double scale = getCamera... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/931190c640a4d36141bc5769628dc3f10cf66641/BrowserView.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/ui/BrowserView.java |
public void setZoomToScale() | public void setZoomToScale(boolean zoomToScale) | public void setZoomToScale() { scaleToShow = true; updateConstraints(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/931190c640a4d36141bc5769628dc3f10cf66641/BrowserView.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/ui/BrowserView.java |
scaleToShow = true; updateConstraints(); | if(scaleToShow != zoomToScale) { scaleToShow = zoomToScale; updateConstraints(); } | public void setZoomToScale() { scaleToShow = true; updateConstraints(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/931190c640a4d36141bc5769628dc3f10cf66641/BrowserView.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/ui/BrowserView.java |
for(Iterator iter = zoomParamListeners.iterator(); iter.hasNext();) { ZoomParamListener listener = (ZoomParamListener)iter.next(); listener.zoomLevelChanged(viewScale); } | public void updateConstraints() { Dimension dimension = getSize(); double width = dimension.getWidth(); double height = dimension.getHeight(); double xRatio = width / footprint.getWidth(); double yRatio = height / footprint.getHeight(); // for som... | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/931190c640a4d36141bc5769628dc3f10cf66641/BrowserView.java/clean/SRC/org/openmicroscopy/shoola/agents/browser/ui/BrowserView.java | |
if (ChainBuilderAgent.DEBUG) { long end = System.currentTimeMillis()-start; System.err.println("time for building chain palette "+chainBuilt); System.err.println("time for building chain palette + overview" +end); } | public void contentComplete() { chainWindow.buildGUI(); overview.buildGUI(); } | 54698 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54698/a806bf744289bb0eed666b235887c8680d549d94/UIManager.java/clean/SRC/org/openmicroscopy/shoola/agents/chainbuilder/ui/UIManager.java | |
public RubyObject id() { | public RubyFixnum id() { | public RubyObject id() { return RubyFixnum.newFixnum(getRuby(), System.identityHashCode(this)); } | 50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/0d05f52f4b20deb7938755dd220bb81c2c2b208e/RubyObject.java/buggy/org/jruby/RubyObject.java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.