bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { //no-op } | publicthis.viewer = viewer; voidthis.viewer = viewer; inputChanged(Viewerthis.viewer = viewer; viewer,this.viewer = viewer; Objectthis.viewer = viewer; oldInput,this.viewer = viewer; Objectthis.viewer = viewer; newInput)this.viewer = viewer; { this.viewer = viewer; this.viewer = viewer; this.viewer = viewer; this.view... | 3,227,232 |
public void handleListChange(IObservableList source, ListDiff diff) { Set added = new HashSet(); Set removed = new HashSet(); ListDiffEntry[] differences = diff.getDifferences(); for (int i = 0; i < differences.length; i++) { ListDiffEntry entry = differences[i]; Object element = entry.getElement(); ... | public void handleListChange(IObservableList source, ListDiff diff) { Set added = new HashSet(); Set removed = new HashSet(); ListDiffEntry[] differences = diff.getDifferences(); for (int i = 0; i < differences.length; i++) { ListDiffEntry entry = differences[i]; Object element = entry.getElement(); ... | 3,227,233 |
public void handleListChange(IObservableList source, ListDiff diff) { Set added = new HashSet(); Set removed = new HashSet(); ListDiffEntry[] differences = diff.getDifferences(); for (int i = 0; i < differences.length; i++) { ListDiffEntry entry = differences[i]; Object element = entry.getElement(); ... | public void handleListChange(IObservableList source, ListDiff diff) { Set added = new HashSet(); Set removed = new HashSet(); ListDiffEntry[] differences = diff.getDifferences(); for (int i = 0; i < differences.length; i++) { ListDiffEntry entry = differences[i]; Object element = entry.getElement(); ... | 3,227,234 |
protected String getContent(HttpServletRequest req, HttpServletResponse res) throws Exception { String variable = ParamUtil.getString(req, "variable"); JSONObject jsonObj = new JSONObject(); ServletContext ctx = getServletContext(); String script = StringUtil.read( ctx.getResourceAsStream("/click_image.js")); ... | protected String getContent(HttpServletRequest req, HttpServletResponse res) throws Exception { String variable = ParamUtil.getString(req, "variable"); JSONObject jsonObj = new JSONObject(); ServletContext ctx = getServletContext(); String script = StringUtil.read( ctx.getResourceAsStream("/click_image.js")); ... | 3,227,235 |
protected String getContent(HttpServletRequest req, HttpServletResponse res) throws Exception { String variable = ParamUtil.getString(req, "variable"); JSONObject jsonObj = new JSONObject(); ServletContext ctx = getServletContext(); String script = StringUtil.read( ctx.getResourceAsStream("/click_image.js")); ... | protected String getContent(HttpServletRequest req, HttpServletResponse res) throws Exception { String variable = ParamUtil.getString(req, "variable"); JSONObject jsonObj = new JSONObject(); ServletContext ctx = getServletContext(); String script = StringUtil.read( ctx.getResourceAsStream("/click_image.js")); ... | 3,227,236 |
public void checkCompany(String companyId) throws PortalException, SystemException { // Company String companyMx = companyId; Date now = new Date(); Company company = null; try { company = CompanyUtil.findByPrimaryKey(companyId); } catch (NoSuchCompanyException nsce) { String portalURL = "localhost"; Str... | public void checkCompany(String companyId) throws PortalException, SystemException { // Company String companyMx = companyId; Date now = new Date(); Company company = null; try { company = CompanyUtil.findByPrimaryKey(companyId); } catch (NoSuchCompanyException nsce) { String portalURL = "localhost"; Str... | 3,227,237 |
public void checkCompany(String companyId) throws PortalException, SystemException { // Company String companyMx = companyId; Date now = new Date(); Company company = null; try { company = CompanyUtil.findByPrimaryKey(companyId); } catch (NoSuchCompanyException nsce) { String portalURL = "localhost"; Str... | public void checkCompany(String companyId) throws PortalException, SystemException { // Company String companyMx = companyId; Date now = new Date(); Company company = null; try { company = CompanyUtil.findByPrimaryKey(companyId); } catch (NoSuchCompanyException nsce) { String portalURL = "localhost"; Str... | 3,227,238 |
public void updateSecurity( String companyId, String authType, boolean autoLogin, boolean strangers) throws PortalException, SystemException { Properties propertiesObj = PropertiesLocalServiceUtil.getPortalProperties(companyId); propertiesObj.setProperty( PropsUtil.COMPANY_SECURITY_AUTH_TYPE, authType); pr... | public void updateSecurity( String companyId, String authType, boolean autoLogin, boolean strangers) throws PortalException, SystemException { Properties propertiesObj = PropertiesLocalServiceUtil.getPortalProperties(companyId); propertiesObj.setProperty( PropsUtil.COMPANY_SECURITY_AUTH_TYPE, authType); pr... | 3,227,239 |
public void updateSecurity( String companyId, String authType, boolean autoLogin, boolean strangers) throws PortalException, SystemException { Properties propertiesObj = PropertiesLocalServiceUtil.getPortalProperties(companyId); propertiesObj.setProperty( PropsUtil.COMPANY_SECURITY_AUTH_TYPE, authType); pr... | public void updateSecurity( String companyId, String authType, boolean autoLogin, boolean strangers) throws PortalException, SystemException { Properties propertiesObj = PropertiesLocalServiceUtil.getPortalProperties(companyId); propertiesObj.setProperty( PropsUtil.COMPANY_SECURITY_AUTH_TYPE, authType); pr... | 3,227,240 |
public void updateSecurity( String companyId, String authType, boolean autoLogin, boolean strangers) throws PortalException, SystemException { Properties propertiesObj = PropertiesLocalServiceUtil.getPortalProperties(companyId); propertiesObj.setProperty( PropsUtil.COMPANY_SECURITY_AUTH_TYPE, authType); pr... | public void updateSecurity( String companyId, String authType, boolean autoLogin, boolean strangers) throws PortalException, SystemException { Properties propertiesObj = PropertiesLocalServiceUtil.getPortalProperties(companyId); propertiesObj.setProperty( PropsUtil.COMPANY_SECURITY_AUTH_TYPE, authType); pr... | 3,227,241 |
public void handleSetChange(IObservableSet source, SetDiff diff) { if (!updating) { fireSetChange(diff); } } | public void handleSetChange(IObservableSet source, SetDiff diff) { if (!updating) { fireSetChange(diff); } } | 3,227,242 |
public void handleSetChange(IObservableSet source, SetDiff diff) { if (!updating) { fireSetChange(diff); } } | public void handleSetChange(IObservableSet source, SetDiff diff) { if (!updating) { fireSetChange(diff); } } | 3,227,243 |
public void handleValueChange(IObservableValue source, ValueDiff diff) { Set oldSet = new HashSet(wrappedSet); updateInnerObservableValue(outerObservableValue); fireSetChange(Diffs.computeSetDiff(oldSet, wrappedSet)); } | public void handleValueChange(IObservableValue source, ValueDiff diff) { Set oldSet = new HashSet(wrappedSet); updateInnerObservableValue(outerObservableValue); fireSetChange(Diffs.computeSetDiff(oldSet, wrappedSet)); } | 3,227,244 |
public void propertyChange(PropertyChangeEvent pce) { String name = pce.getPropertyName(); if (name == null) return; if (name.equals(TreeViewer.CANCEL_LOADING_PROPERTY)) { Browser browser = model.getSelectedBrowser(); if (browser != null) browser.cancel(); } else... | public void propertyChange(PropertyChangeEvent pce) { String name = pce.getPropertyName(); if (name == null) return; if (name.equals(TreeViewer.CANCEL_LOADING_PROPERTY)) { Browser browser = model.getSelectedBrowser(); if (browser != null) browser.cancel(); } else... | 3,227,245 |
public void addExistingObjects(Set set); | public void addExistingObjects(Set set); | 3,227,246 |
void setStatusIcon(boolean b) { if (b) setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); else setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); statusBar.setStatusIcon( b); } | void setStatusIcon(boolean b) { if (b) setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); else setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR)); statusBar.setStatusIcon(b); } | 3,227,247 |
public ClassifyCmd(HiViewer model, int mode) { this(getImages(model), mode, model.getUI(), model.getUserDetails().getId(), model.getRootID()); } | public ClassifyCmd(HiViewer model, int mode) { this(getImages(model), mode, model.getUI(), model.getUserDetails().getId(), model.getRootID()); } | 3,227,248 |
private static ImageData[] getImages(HiViewer model) { ImageData[] images = null; if (model != null) { Set nodes = model.getBrowser().getSelectedDisplays(); if (nodes != null) { Iterator i = nodes.iterator(); Object x; images = new ... | private static ImageData[] getImages(HiViewer model) { ImageData[] images = null; if (model != null) { Set nodes = model.getBrowser().getSelectedDisplays(); if (nodes != null) { Iterator i = nodes.iterator(); Object x; images = new ... | 3,227,249 |
private void loadUserInformation(final ChatRoom room, final String participantJID) { SwingWorker worker = new SwingWorker() { public Object construct() { return SparkManager.getVCardManager().getVCard(participantJID); } public void finished() { f... | private void loadUserInformation(final ChatRoom room, final String participantJID) { if (!(room instanceof ChatRoomImpl)) { return; } final SwingWorker userLoadingThread = new SwingWorker() { public Object construct() { return SparkManager.getVCardManager().getVCard(participantJID)... | 3,227,250 |
private void loadUserInformation(final ChatRoom room, final String participantJID) { SwingWorker worker = new SwingWorker() { public Object construct() { return SparkManager.getVCardManager().getVCard(participantJID); } public void finished() { f... | private void loadUserInformation(final ChatRoom room, final String participantJID) { SwingWorker worker = new SwingWorker() { public Object construct() { return SparkManager.getVCardManager().getVCard(participantJID); } public void finished() { f... | 3,227,251 |
public TranscriptWindow() { setLayout(new BorderLayout()); themeManager = ThemeManager.getInstance(); vcardManager = SparkManager.getVCardManager(); extraPanel = new JPanel(); browser = new WebBrowser(); browser.setURL(themeManager.getTemplateURL()); browser.addWebBr... | public TranscriptWindow() { setLayout(new BorderLayout()); themeManager = ThemeManager.getInstance(); vcardManager = SparkManager.getVCardManager(); extraPanel = new JPanel(); browser = new WebBrowser(); browser.setURL(themeManager.getTemplateURL()); browser.addWebBr... | 3,227,252 |
public VCard getVCard(String jid) { if (!vcardMap.containsKey(jid)) { VCard vcard = new VCard(); try { vcard.load(SparkManager.getConnection(), jid); vcardMap.put(jid, vcard); } catch (XMPPException e) { Log.warning("Una... | public VCard getVCard(String jid) { if (!vcardMap.containsKey(jid)) { VCard vcard = new VCard(); try { vcard.load(SparkManager.getConnection(), jid); vcardMap.put(jid, vcard); } catch (XMPPException e) { Log.warning("Una... | 3,227,253 |
public VCard getVCard(String jid) { if (!vcardMap.containsKey(jid)) { VCard vcard = new VCard(); try { vcard.load(SparkManager.getConnection(), jid); vcardMap.put(jid, vcard); } catch (XMPPException e) { Log.warning("Una... | public VCard getVCard(String jid) { if (!vcardMap.containsKey(jid)) { VCard vcard = new VCard(); try { vcard.load(SparkManager.getConnection(), jid); vcardMap.put(jid, vcard); } catch (XMPPException e) { Log.warning("Una... | 3,227,254 |
public VCard getVCard(String jid) { if (!vcardMap.containsKey(jid)) { VCard vcard = new VCard(); try { vcard.load(SparkManager.getConnection(), jid); vcardMap.put(jid, vcard); } catch (XMPPException e) { Log.warning("Una... | public VCard getVCard(String jid) { if (!vcardMap.containsKey(jid)) { VCard vcard = new VCard(); try { vcard.load(SparkManager.getConnection(), jid); vcardMap.put(jid, vcard); } catch (XMPPException e) { Log.warning("Una... | 3,227,255 |
public VCard getVCard(String jid) { if (!vcardMap.containsKey(jid)) { VCard vcard = new VCard(); try { vcard.load(SparkManager.getConnection(), jid); vcardMap.put(jid, vcard); } catch (XMPPException e) { Log.warning("Una... | public VCard getVCard(String jid) { if (!vcardMap.containsKey(jid)) { VCard vcard = new VCard(); try { vcard.load(SparkManager.getConnection(), jid); vcardMap.put(jid, vcard); } catch (XMPPException e) { Log.warning("Una... | 3,227,256 |
public void addArticleViews(IWBundle bundle){ ContentViewManager cViewManager = ContentViewManager.getInstance(bundle.getApplication()); ViewNode contentNode = cViewManager.getContentNode(); DefaultViewNode articleNode = new DefaultViewNode("article",contentNode); articleNode.setJspUri(bundle.getJSPURI("createar... | publicvoidaddArticleViews(IWBundlebundle){ ContentViewManagercViewManager=ContentViewManager.getInstance(bundle.getApplication()); ViewNodecontentNode=cViewManager.getContentNode(); DefaultViewNodearticleNode=newDefaultViewNode("article",contentNode); articleNode.setJspUri(bundle.getJSPURI("createarticle.jsp"));... | 3,227,257 |
public Boolean store() { boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; } if (getBody().trim().equals("")) { addErrorKey(KEY_ERROR_BODY_EMPTY); storeOk = false; } if (getRequestedStatus() != null && getRequestedS... | public ArticleDocument articleDoc = ArticleDocument.Factory.newInstance(); ArticleDocument.Article article = articleDoc.addNewArticle(); Boolean ArticleDocument articleDoc = ArticleDocument.Factory.newInstance(); ArticleDocument.Article article = articleDoc.addNewArticle(); store() ArticleDocument articleDoc = A... | 3,227,259 |
public Boolean store() { boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; } if (getBody().trim().equals("")) { addErrorKey(KEY_ERROR_BODY_EMPTY); storeOk = false; } if (getRequestedStatus() != null && getRequestedS... | public Boolean store() { boolean storeOk = true; clearErrorKeys(); if (getHeadline().trim().equals("")) { addErrorKey(KEY_ERROR_HEADLINE_EMPTY); storeOk = false; } if (getBody().trim().equals("")) { addErrorKey(KEY_ERROR_BODY_EMPTY); storeOk = false; } if (getRequestedStatus() != null && getRequestedS... | 3,227,260 |
public List childNodes() { return Collections.EMPTY_LIST; } | public List childNodes() { return EMPTY_LIST; } | 3,227,261 |
ZYPlane(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { super(data, pDef, sizeX, sizeY, bytesPerPixel, strategy); } | ZYPlane(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { super(data, pDef, sizeX, sizeY, bytesPerPixel, strategy); } | 3,227,262 |
ZYPlane(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { super(data, pDef, sizeX, sizeY, bytesPerPixel, strategy); } | ZYPlane(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { super(pDef, pixels, data); } | 3,227,263 |
protected Plane2D(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { this.data = data; this.planeDef = pDef; this.sizeX = sizeX; this.sizeY = sizeY; this.bytesPerPixel = bytesPerPixel; this.strategy = strategy; ... | protected Plane2D(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { this.data = data; this.planeDef = pDef; this.sizeX = sizeX; this.sizeY = sizeY; this.bytesPerPixel = bytesPerPixel; this.strategy = strategy; ... | 3,227,264 |
protected Plane2D(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { this.data = data; this.planeDef = pDef; this.sizeX = sizeX; this.sizeY = sizeY; this.bytesPerPixel = bytesPerPixel; this.strategy = strategy; ... | protected Plane2D(byte[] data, PlaneDef pDef, int sizeX, int sizeY, int bytesPerPixel, BytesConverter strategy) { this.data = data; this.planeDef = pDef; this.sizeX = sizeX; this.sizeY = sizeY; this.bytesPerPixel = bytesPerPixel; this.strategy = strategy; ... | 3,227,265 |
private void buildTitlePanel() { IconManager im = IconManager.getInstance(); switch (model.getEditorType()) { case Editor.CREATE_EDITOR: titlePanel = new TitlePanel(message, "Create a new "+ message.toLowerCase()+".", im.getI... | private void buildTitlePanel() { IconManager im = IconManager.getInstance(); switch (model.getEditorType()) { case Editor.CREATE_EDITOR: titlePanel = new TitlePanel(message, "Create a new "+ message.toLowerCase()+".", im.getI... | 3,227,267 |
void handleEmptyNameArea() { warning = true; finishButton.setEnabled(false); buildEmptyPanel(); titleLayer.add(emptyMessagePanel, 1); } | void handleEmptyNameArea() { warning = true; finishButton.setEnabled(false); buildEmptyPanel(); titleLayer.add(emptyMessagePanel, new Integer(1)); } | 3,227,268 |
List getAnnotations(long ownerID) { return (List) annotations.get(new Long(ownerID)); } | List getAnnotations(long ownerID) { return (List) annotations.get(new Long(ownerID)); } | 3,227,269 |
DOInfo(Map details, EditorModel model) { if (details == null) throw new IllegalArgumentException("Visualization map cannot be" + " null"); if (model == null) throw new IllegalArgumentException("No model."); this.model = model; buildGUI... | DOInfo(Map details, EditorModel model, boolean permission) { if (details == null) throw new IllegalArgumentException("Visualization map cannot be" + " null"); if (model == null) throw new IllegalArgumentException("No model."); this.model = model; ... | 3,227,270 |
DOInfo(Map details, EditorModel model) { if (details == null) throw new IllegalArgumentException("Visualization map cannot be" + " null"); if (model == null) throw new IllegalArgumentException("No model."); this.model = model; buildGUI... | DOInfo(Map details, EditorModel model) { if (details == null) throw new IllegalArgumentException("Visualization map cannot be" + " null"); if (model == null) throw new IllegalArgumentException("No model."); this.model = model; buildGUI(... | 3,227,271 |
private void process() { if (limit == 1) { result.add(splitee); return; } int last = 0; int beg = 0; int hits = 0; int len = splitee.length(); while ((beg = pattern.searchAgain(splitee)) > -1) { hits++; RubyMatchData matchData = (RubyMatchData) runtime.getCurrentCo... | private void process() { if (limit == 1) { result.add(splitee); return; } int last = 0; int beg = 0; int hits = 0; int len = splitee.length(); while ((beg = pattern.searchAgain(splitee)) > -1) { hits++; RubyMatchData matchData = (RubyMatchData) runtime.getCurrentCo... | 3,227,273 |
public RaiseException newArgumentError(int got, int expected); | public RaiseException newArgumentError(int got, int expected); | 3,227,274 |
public String displayedFileName() { if (hasInlineScript()) { return "-e"; } else if (isSourceFromStdin()) { return "-"; } else { return scriptFileName; } } | public String displayedFileName() { if (hasInlineScript()) { return "-e"; } else if (isSourceFromStdin()) { return "-"; } else { return getScriptFileName(); } } | 3,227,275 |
public Reader getScriptSource() { if (hasInlineScript()) { return new StringReader(inlineScript()); } else if (isSourceFromStdin()) { return new InputStreamReader(System.in); } else { File file = new File(scriptFileName); try { return n... | 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,227,276 |
private boolean isSourceFromStdin() { return scriptFileName == null; } | private boolean isSourceFromStdin() { return getScriptFileName() == null; } | 3,227,277 |
private void processArgument() { String argument = arguments[argumentIndex]; FOR : for (characterIndex = 1; characterIndex < argument.length(); characterIndex++) { switch (argument.charAt(characterIndex)) { case 'h' : Main.printUsage(); b... | private void processArgument() { String argument = arguments[argumentIndex]; FOR : for (characterIndex = 1; characterIndex < argument.length(); characterIndex++) { switch (argument.charAt(characterIndex)) { case 'h' : Main.printUsage(); b... | 3,227,278 |
private void processArgument() { String argument = arguments[argumentIndex]; FOR : for (characterIndex = 1; characterIndex < argument.length(); characterIndex++) { switch (argument.charAt(characterIndex)) { case 'h' : Main.printUsage(); b... | private void processArgument() { String argument = arguments[argumentIndex]; FOR : for (characterIndex = 1; characterIndex < argument.length(); characterIndex++) { switch (argument.charAt(characterIndex)) { case 'h' : Main.printUsage(); b... | 3,227,279 |
private void processArguments() { while (argumentIndex < arguments.length && isInterpreterArgument(arguments[argumentIndex])) { processArgument(); argumentIndex++; } if (! hasInlineScript()) { if (argumentIndex < arguments.length) { scriptFileName... | private void processArguments() { while (argumentIndex < arguments.length && isInterpreterArgument(arguments[argumentIndex])) { processArgument(); argumentIndex++; } if (! hasInlineScript()) { if (argumentIndex < arguments.length) { setScriptFileN... | 3,227,281 |
private void processArguments() { while (argumentIndex < arguments.length && isInterpreterArgument(arguments[argumentIndex])) { processArgument(); argumentIndex++; } if (! hasInlineScript()) { if (argumentIndex < arguments.length) { scriptFileName... | private void processArguments() { while (argumentIndex < arguments.length && isInterpreterArgument(arguments[argumentIndex])) { processArgument(); argumentIndex++; } if (! hasInlineScript()) { if (argumentIndex < arguments.length) { scriptFileName... | 3,227,282 |
public boolean shouldRunInterpreter() { return shouldRunInterpreter; } | public boolean shouldRunInterpreter() { return isShouldRunInterpreter(); } | 3,227,283 |
public IObject fillIObject( IObject obj, ReverseModelMapper mapper) { if ( obj instanceof CategoryGroup) { CategoryGroup cg = (CategoryGroup) obj; if (super.fill(cg)) { cg.setName(this.getName()); cg.setDescription(this.getDescription(... | public IObject fillIObject( IObject obj, ReverseModelMapper mapper) { if ( obj instanceof CategoryGroup) { CategoryGroup cg = (CategoryGroup) obj; if (super.fill(cg)) { cg.setName(this.getName()); cg.setDescription(this.getDescription(... | 3,227,284 |
public void testGetDate() throws Exception { assertNotNull(Version.getDate(new Blank())); } | public void testGetDate() throws Exception { assertNotNull(Version.getDate(new Blank())); } | 3,227,286 |
public void testGetRevision() throws Exception { assertEquals( (Integer)100, (Integer)Version.getRevision(new Blank())); } | public void testGetRevision() throws Exception { assertEquals( (Integer)100, (Integer)Version.getRevision(new Blank())); } | 3,227,287 |
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { // HACK +++ try { // HACK --- return getCallbackMethod().execute(recv, args, ruby); // HACK +++ } catch (RaiseException rrExcptn) { System.out.print("[BUG] Can... | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyPointer args, boolean noSuper) { // HACK +++ try { // HACK --- return getCallbackMethod().execute(recv, args, ruby); // HACK +++ } catch (RaiseException rrExcptn) { System.out.print("[BUG] Cann... | 3,227,288 |
public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { // HACK +++ try { // HACK --- return getCallbackMethod().execute(recv, args, ruby); // HACK +++ } catch (RaiseException rrExcptn) { System.out.print("[BUG] Can... | public RubyObject call(Ruby ruby, RubyObject recv, RubyId id, RubyObject[] args, boolean noSuper) { // HACK +++ try { // HACK --- return getCallbackMethod().execute(recv, args == null ? null : args.toRubyArray(), ruby); // HACK +++ } catch (RaiseException rrExcptn) { ... | 3,227,289 |
public String toName() { if (value < Token.LAST_TOKEN) { RubyOperatorEntry[] opTable = ruby.getOperatorTable(); for (int i = 0; i < opTable.length; i++) { if (this.equals(opTable[i].token)) { return opTable[i].name; } } } Strin... | public String toName() { if (value < Token.LAST_TOKEN) { RubyOperatorEntry[] opTable = ruby.getOperatorTable(); for (int i = 0; i < opTable.length; i++) { if (this.equals(opTable[i].token)) { return opTable[i].name; } } } Strin... | 3,227,290 |
public String toName() { if (value < Token.LAST_TOKEN) { RubyOperatorEntry[] opTable = ruby.getOperatorTable(); for (int i = 0; i < opTable.length; i++) { if (this.equals(opTable[i].token)) { return opTable[i].name; } } } Strin... | public String toName() { if (value < Token.LAST_TOKEN) { RubyOperatorEntry[] opTable = ruby.getOperatorTable(); for (int i = 0; i < opTable.length; i++) { if (this.equals(opTable[i].token)) { return opTable[i].name; } } } Strin... | 3,227,291 |
public String toName() { if (value < Token.LAST_TOKEN) { RubyOperatorEntry[] opTable = ruby.getOperatorTable(); for (int i = 0; i < opTable.length; i++) { if (this.equals(opTable[i].token)) { return opTable[i].name; } } } Strin... | public String toName() { if (value < Token.LAST_TOKEN) { RubyOperatorEntry[] opTable = ruby.getOperatorTable(); for (int i = 0; i < opTable.length; i++) { if (this.equals(opTable[i].token)) { return opTable[i].name; } } } Strin... | 3,227,292 |
BufferedImage getSplitComponentImage() { PlaneDef pDef = new PlaneDef(PlaneDef.XY, getDefaultT()); pDef.setZ(getDefaultZ()); state = ImViewer.LOADING_IMAGE; OmeroImageService os = ImViewerAgent.getRegistry().getImageService(); try { return os.renderImage(pixelsID, pD... | BufferedImage getSplitComponentImage() { PlaneDef pDef = new PlaneDef(PlaneDef.XY, getDefaultT()); pDef.setZ(getDefaultZ()); OmeroImageService os = ImViewerAgent.getRegistry().getImageService(); try { return os.renderImage(pixelsID, pDef); } catch (RenderingS... | 3,227,293 |
private void handleException(RenderingServiceException e) { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyError(ImViewerAgent.ERROR, e.getMessage(), e.getCause()); component.discard(); } | private void handleException(RenderingServiceException e) { UserNotifier un = ImViewerAgent.getRegistry().getUserNotifier(); un.notifyError(ImViewerAgent.ERROR, e.getExtendedMessage(), e.getCause()); component.discard(); } | 3,227,294 |
public static RubyString pack(ArrayList list, RubyString iFmt) { Ruby ruby = iFmt.getRuntime(); char[] lFmt = iFmt.getValue().toCharArray(); int lFmtLength = lFmt.length; int idx = 0; int lLeftInArray = list.size(); StringBuffer lResult = new StringBuffer(); IRubyObj... | public static RubyString pack(ArrayList list, RubyString iFmt) { Ruby ruby = iFmt.getRuntime(); char[] lFmt = iFmt.getValue().toCharArray(); int lFmtLength = lFmt.length; int idx = 0; int lLeftInArray = list.size(); StringBuffer lResult = new StringBuffer(); IRubyObj... | 3,227,295 |
public static RubyArray unpack(String value, RubyString iFmt) { Ruby ruby = iFmt.getRuntime(); char[] lFmt = iFmt.getValue().toCharArray(); int lFmtLength = lFmt.length; RubyArray lResult = RubyArray.newArray(ruby); int lValueLength = value.length(); int lCurValueIdx = 0; ... | public static RubyArray unpack(String value, RubyString iFmt) { Ruby ruby = iFmt.getRuntime(); char[] lFmt = iFmt.getValue().toCharArray(); int lFmtLength = lFmt.length; RubyArray lResult = RubyArray.newArray(ruby); int lValueLength = value.length(); int lCurValueIdx = 0; ... | 3,227,296 |
IRubyObject convertToType(String string, String string1, boolean b); | IRubyObject convertToType(String string, String string1, boolean b); | 3,227,297 |
public static String bytesToString(byte[] bytes) { try { return new String(bytes, encoding); } catch (java.io.UnsupportedEncodingException e) { throw new RubyBugException("unsupported encoding " + e); } } | public static String bytesToString(byte[] bytes) { try { return new String(bytes, encoding); } catch (java.io.UnsupportedEncodingException e) { throw new RubyBugException("unsupported encoding " + e); } } | 3,227,298 |
public static RubyArray newArray(Ruby ruby) { /* Ruby arrays default to holding 16 elements, so we create an * ArrayList of the same size if we're not told otherwise */ return new RubyArray(ruby, new ArrayList(16)); } | public static RubyArray newArray(Ruby ruby) { /* Ruby arrays default to holding 16 elements, so we create an * ArrayList of the same size if we're not told otherwise */ return new RubyArray(ruby, new ArrayList(16)); } | 3,227,299 |
public void rb_bug(String message) { System.err.println("[BUG] " + message); } | public void rb_bug(String message) { ruby.getRuntime().getErrorStream().println("[BUG] " + message); } | 3,227,300 |
public void rb_compile_error(String message) { System.err.println(message); } | public void rb_compile_error(String message) { ruby.getRuntime().getErrorStream().println(message); } | 3,227,301 |
public void rb_warn(String message) { System.err.println("[WARN] " + message); } | public void rb_warn(String message) { ruby.getRuntime().getErrorStream().println("[WARN] " + message); } | 3,227,302 |
public void rb_warning(String message) { System.err.println("[WARNING] " + message); } | public void rb_warning(String message) { ruby.getRuntime().getErrorStream().println("[WARNING] " + message); } | 3,227,303 |
private void yyerror(String message) { System.err.println(message); } | private void yyerror(String message) { ruby.getRuntime().getErrorStream().println(message); } | 3,227,304 |
public int intValue() { return value; } | public int intValue() { return value; } | 3,227,305 |
public static boolean isCurrent(Ruby ruby, String rubyId) { RubyVarmap vars = ruby.getDynamicVars(); while (vars != null) { if (vars.id == null) { break; } if (vars.id == rubyId) { return true; } vars = vars.n... | public static boolean isCurrent(Ruby ruby, String rubyId) { RubyVarmap vars = ruby.getDynamicVars(); while (vars != null) { if (vars.id == null) { break; } if (vars.id.equals(rubyId)) { return true; } vars = v... | 3,227,306 |
public static void push(Ruby ruby, String rubyId, RubyObject val) { ruby.setDynamicVars(new RubyVarmap(rubyId, val, ruby.getDynamicVars())); } | public static void push(Ruby ruby, String rubyId, RubyObject val) { ruby.setDynamicVars(new RubyVarmap(rubyId, val, ruby.getDynamicVars())); } | 3,227,307 |
public RubyIdPointer(int size) { this(new ArrayList(Collections.nCopies(size, null)), 0, true, null); } | public RubyIdPointer(int size) { this(new ArrayList(Collections.nCopies(size, null)), 0, true, null); } | 3,227,308 |
public static RubyId newId(Ruby ruby, int value) { // todo: add cache. return new RubyId(ruby, value); } | public static RubyId newId(Ruby ruby, int value) { // todo: add cache. return new RubyId(ruby, value); } | 3,227,309 |
public RubyPointer(Object autoResizeObject, int size) { this(new ArrayList(Collections.nCopies(size, autoResizeObject)), 0, true, autoResizeObject); } | public RubyPointer(Object autoResizeObject, int size) { this(new ArrayList(Collections.nCopies(size, autoResizeObject)), 0, true, autoResizeObject); } | 3,227,310 |
public void inc() { inc(1); } | public void inc() { inc(1); } | 3,227,311 |
public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | 3,227,312 |
public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | 3,227,313 |
public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | 3,227,314 |
public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | 3,227,315 |
public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | 3,227,316 |
public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | 3,227,317 |
public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | 3,227,318 |
public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | public void encodeBegin(FacesContext context) throws IOException { if(clearOnInit) { //WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); ArticleItemBean bean = getArticleItemBean(); if(bean!=null){ bean.clear(); } } // WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "updateLocale");// updateEditButtons(); super.e... | 3,227,319 |
private UIComponent getCategoryEditor() { /*String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; HtmlPanelGrid p = WFPanelUtil.getFormPanel(3); p.setId(CATEGORY_EDITOR_ID); p.getChildren().add(WFUtil.group(WFUtil.getTextVB(bref + "available_categories"), WFUtil.getText(":"))); p.... | private UIComponent getCategoryEditor() { /*String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; HtmlPanelGrid p = WFPanelUtil.getFormPanel(3); p.setId(CATEGORY_EDITOR_ID); p.getChildren().add(WFUtil.group(WFUtil.getTextVB(bref + "available_categories"), WFUtil.getText(":"))); p.... | 3,227,321 |
private UIComponent getCategoryEditor() { /*String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; HtmlPanelGrid p = WFPanelUtil.getFormPanel(3); p.setId(CATEGORY_EDITOR_ID); p.getChildren().add(WFUtil.group(WFUtil.getTextVB(bref + "available_categories"), WFUtil.getText(":"))); p.... | privateUIComponentgetCategoryEditor(){ /*Stringref=ARTICLE_ITEM_BEAN_ID+"."; Stringbref=WFPage.CONTENT_BUNDLE+"."; HtmlPanelGridp=WFPanelUtil.getFormPanel(3); p.setId(CATEGORY_EDITOR_ID); p.getChildren().add(WFUtil.group(WFUtil.getTextVB(bref+"available_categories"),WFUtil.getText(":"))); p.getChildren().add(W... | 3,227,322 |
public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_E... | public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_E... | 3,227,323 |
public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_E... | public UISaveState beanSaveState = new UISaveState(); ValueBinding binding = WFUtil.createValueBinding("#{"+ARTICLE_ITEM_BEAN_ID+"}"); beanSaveState.setId("articleItemBeanSaveState"); beanSaveState.setValueBinding("value",binding); mainContainer.add(beanSaveState); UIComponent UISaveState beanSaveState = new UISa... | 3,227,324 |
public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_E... | public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_E... | 3,227,325 |
public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_E... | public UIComponent getEditContainer() { IWContext iwc = IWContext.getInstance(); WFResourceUtil localizer = WFResourceUtil.getResourceUtilArticle(); String ref = ARTICLE_ITEM_BEAN_ID + ".";// String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_E... | 3,227,326 |
public void processAction(ActionEvent event) { String id = event.getComponent().getId(); UIComponent rootParent = rootParent = event.getComponent().getParent().getParent().getParent(); EditArticleView ab = (EditArticleView) rootParent.findComponent(EDIT_ARTICLE_BLOCK_ID); if (id.equals(SAVE_ID)) { ab.storeArti... | publicvoidprocessAction(ActionEventevent){ Stringid=event.getComponent().getId(); UIComponentrootParent=rootParent=event.getComponent().getParent().getParent().getParent(); EditArticleViewab=(EditArticleView)rootParent.findComponent(EDIT_ARTICLE_BLOCK_ID); if(id.equals(SAVE_ID)){ ab.storeArticle();// Stringr... | 3,227,327 |
public void processAction(ActionEvent event) { String id = event.getComponent().getId(); UIComponent rootParent = rootParent = event.getComponent().getParent().getParent().getParent(); EditArticleView ab = (EditArticleView) rootParent.findComponent(EDIT_ARTICLE_BLOCK_ID); if (id.equals(SAVE_ID)) { ab.storeArti... | public void processAction(ActionEvent event) { String id = event.getComponent().getId(); UIComponent rootParent = rootParent = event.getComponent().getParent().getParent().getParent(); EditArticleView ab = (EditArticleView) rootParent.findComponent(EDIT_ARTICLE_BLOCK_ID); if (id.equals(SAVE_ID)) { ab.storeArti... | 3,227,328 |
public void processValueChange(ValueChangeEvent arg0) throws AbortProcessingException { if(arg0.getOldValue()==null) { return; } System.out.println("Language value has changed from "+arg0.getOldValue()+" to "+arg0.getNewValue()); String articlePath = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getArticlePath"... | public void processValueChange(ValueChangeEvent arg0) throws AbortProcessingException { if(arg0.getOldValue()==null) { return; } System.out.println("Language value has changed from "+arg0.getOldValue()+" to "+arg0.getNewValue()); String articlePath = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getArticlePath"... | 3,227,329 |
public void processValueChange(ValueChangeEvent arg0) throws AbortProcessingException { if(arg0.getOldValue()==null) { return; } System.out.println("Language value has changed from "+arg0.getOldValue()+" to "+arg0.getNewValue()); String articlePath = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getArticlePath"... | public void processValueChange(ValueChangeEvent arg0) throws AbortProcessingException { if(arg0.getOldValue()==null) { return; } System.out.println("Language value has changed from "+arg0.getOldValue()+" to "+arg0.getNewValue()); String articlePath = (String)WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "getArticlePath"... | 3,227,330 |
public void storeArticle() { String bref = WFPage.CONTENT_BUNDLE + "."; //boolean storeOk = ((Boolean) WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "storeArticle")).booleanValue(); boolean storeOk = getArticleItemBean().storeArticle().booleanValue(); if (!storeOk) { //List errorKeys = (List) WFUtil.getValue(ARTICLE_ITEM_... | public void storeArticle() { String bref = WFPage.CONTENT_BUNDLE + "."; //boolean storeOk = ((Boolean) WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "storeArticle")).booleanValue(); boolean storeOk = getArticleItemBean().storeArticle().booleanValue(); if (!storeOk) { //List errorKeys = (List) WFUtil.getValue(ARTICLE_ITEM_... | 3,227,331 |
public void storeArticle() { String bref = WFPage.CONTENT_BUNDLE + "."; //boolean storeOk = ((Boolean) WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "storeArticle")).booleanValue(); boolean storeOk = getArticleItemBean().storeArticle().booleanValue(); if (!storeOk) { //List errorKeys = (List) WFUtil.getValue(ARTICLE_ITEM_... | public void storeArticle() { String bref = WFPage.CONTENT_BUNDLE + "."; //boolean storeOk = ((Boolean) WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "storeArticle")).booleanValue(); boolean storeOk = getArticleItemBean().storeArticle().booleanValue(); if (!storeOk) { //List errorKeys = (List) WFUtil.getValue(ARTICLE_ITEM_... | 3,227,332 |
public void registerDirective(String name, String clazz) throws Exception { DirectiveProvider dp = (DirectiveProvider) _wm.getBroker().getProvider(DirectiveProvider.DIRECTIVE_KEY); dp.register(clazz, name); } | public void registerDirective(String name, String clazz) throws Exception { DirectiveProvider dp = (DirectiveProvider) _wm.getBroker().getProvider(DirectiveProvider.DIRECTIVE_KEY); dp.registerDirective(clazz, name); } | 3,227,333 |
public void assertStringTemplateThrows (String templateText, Class exceptionClass) throws Exception { assertStringTemplateThrows(templateText, exceptionClass, null); } | public void assertStringTemplateThrows (String templateText, Class exceptionClass, String messageMatchText) throws Exception { assertStringTemplateThrows(templateText, exceptionClass, null); } | 3,227,334 |
public void assertStringTemplateThrows (String templateText, Class exceptionClass) throws Exception { assertStringTemplateThrows(templateText, exceptionClass, null); } | public void assertStringTemplateThrows (String templateText, Class exceptionClass) throws Exception { String result = null; Exception caught = null; try { result = executeStringTemplate(templateText); } catch (Exception e) { caught = e; } if (caught =... | 3,227,335 |
public void assertStringTemplateEquals (String templateText, String resultText) { String result = null; try { result = executeStringTemplate(templateText); } catch (Exception e) { System.err.println("Execut... | public void assertStringTemplateEquals (String templateText, String resultText) { String result = null; try { result = executeStringTemplate(templateText); } catch (Exception e) { System.err.println("Execut... | 3,227,336 |
public MappingMetaData(Properties properties) { this.properties = properties; this.packageName = properties.getProperty("package", ""); } | public MappingMetaData(Properties properties) { this.properties = properties; this.packageName = properties.getProperty("package", ""); } | 3,227,337 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.