rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
Iterator links = bookmarkedLinks.iterator(); while (links.hasNext()) { final BookmarkedURL bookmarkedLink = (BookmarkedURL)links.next(); bookmarkUI.addURL(bookmarkedLink); | Action urlAction = new AbstractAction() { public void actionPerformed(ActionEvent actionEvent) { try { BrowserLauncher.openURL(link.getURL()); } catch (IOException e) { Log.error(e); } } }; urlAction.putValue(Action.NAME, link.getName()); urlAction.putValue(Action.SMALL_ICON, SparkRes.getImageIcon(SparkRes.LINK_16x16)... | public void initialize() { final SwingWorker bookmarkThreadWorker = new SwingWorker() { public Object construct() { // Register own provider for simpler implementation. PrivateDataManager.addPrivateDataProvider("storage", "storage:bookmarks", new Bookmarks.Provider())... |
ContactList contactList = SparkManager.getWorkspace().getContactList(); contactList.getMainPanel().add(bookmarkUI); | public void initialize() { final SwingWorker bookmarkThreadWorker = new SwingWorker() { public Object construct() { // Register own provider for simpler implementation. PrivateDataManager.addPrivateDataProvider("storage", "storage:bookmarks", new Bookmarks.Provider())... | |
Iterator conferences = bookmarkedConferences.iterator(); while (conferences.hasNext()) { final BookmarkedConference bookmarkedConference = (BookmarkedConference)conferences.next(); bookmarkUI.addConference(bookmarkedConference); | final Iterator bookmarkConferences = bookmarkedConferences.iterator(); while (bookmarkConferences.hasNext()) { final BookmarkedConference conferences = (BookmarkedConference)bookmarkConferences.next(); Action conferenceAction = new AbstractAction() { public void actionPerformed(ActionEvent actionEvent) { SwingWorker w... | public void initialize() { final SwingWorker bookmarkThreadWorker = new SwingWorker() { public Object construct() { // Register own provider for simpler implementation. PrivateDataManager.addPrivateDataProvider("storage", "storage:bookmarks", new Bookmarks.Provider())... |
BookmarkUI bookmarkUI = new BookmarkUI(); | final Iterator bookmarkLinks = bookmarkedLinks.iterator(); while (bookmarkLinks.hasNext()) { final BookmarkedURL link = (BookmarkedURL)bookmarkLinks.next(); | public void finished() { final Bookmarks bookmarks = (Bookmarks)get(); if (bookmarks != null) { Collection bookmarkedConferences = bookmarks.getBookmarkedConferences(); final Collection bookmarkedLinks = bookmarks.getBookmarkedURLS(); ... |
Iterator links = bookmarkedLinks.iterator(); while (links.hasNext()) { final BookmarkedURL bookmarkedLink = (BookmarkedURL)links.next(); bookmarkUI.addURL(bookmarkedLink); | Action urlAction = new AbstractAction() { public void actionPerformed(ActionEvent actionEvent) { try { BrowserLauncher.openURL(link.getURL()); } catch (IOException e) { Log.error(e); } } }; urlAction.putValue(Action.NAME, link.getName()); urlAction.putValue(Action.SMALL_ICON, SparkRes.getImageIcon(SparkRes.LINK_16x16)... | public void finished() { final Bookmarks bookmarks = (Bookmarks)get(); if (bookmarks != null) { Collection bookmarkedConferences = bookmarks.getBookmarkedConferences(); final Collection bookmarkedLinks = bookmarks.getBookmarkedURLS(); ... |
ContactList contactList = SparkManager.getWorkspace().getContactList(); contactList.getMainPanel().add(bookmarkUI); | public void finished() { final Bookmarks bookmarks = (Bookmarks)get(); if (bookmarks != null) { Collection bookmarkedConferences = bookmarks.getBookmarkedConferences(); final Collection bookmarkedLinks = bookmarks.getBookmarkedURLS(); ... | |
Iterator conferences = bookmarkedConferences.iterator(); while (conferences.hasNext()) { final BookmarkedConference bookmarkedConference = (BookmarkedConference)conferences.next(); bookmarkUI.addConference(bookmarkedConference); | final Iterator bookmarkConferences = bookmarkedConferences.iterator(); while (bookmarkConferences.hasNext()) { final BookmarkedConference conferences = (BookmarkedConference)bookmarkConferences.next(); Action conferenceAction = new AbstractAction() { public void actionPerformed(ActionEvent actionEvent) { SwingWorker w... | public void finished() { final Bookmarks bookmarks = (Bookmarks)get(); if (bookmarks != null) { Collection bookmarkedConferences = bookmarks.getBookmarkedConferences(); final Collection bookmarkedLinks = bookmarks.getBookmarkedURLS(); ... |
System.setProperty("org.webmacro.LogLevel", "DEBUG"); | public TestIf (String name) { super (name); } | |
for (int j=0; j<arg.subordinateArgs; j++) { ArgDescriptor child = args[arg.children[j]]; if (lookahead_keyword(args[child.children[0]].keyword)) parse_arg_group(descriptor, args, arg.children[j], da); | for (boolean more=true; more; ) { for (int j=0; j<arg.subordinateArgs; j++) { more = false; ArgDescriptor child = args[arg.children[j]]; if (lookahead_keyword(args[child.children[0]].keyword)) { parse_arg_group(descriptor, args, arg.children[j], da); more = true; break; } } | void parse_args(DirectiveDescriptor descriptor, ArgDescriptor[] args, DirectiveArgs da) throws ParseException { try { for (int i=0; i < args.length; ) { ArgDescriptor arg = args[i]; if (arg.type == Directive.ArgType_GROUP) parse_arg_group(descriptor, args, i, da); else if (arg... |
QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE, new File[] { new File("src/test")}); | String basedir = System.getProperties().getProperty("basedir", "."); QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE, new File[] { new File(basedir, "/src/test")}); | public void testQdox() throws Exception{ QdoxMappingLoader mappingLoader = new QdoxMappingLoader(DEFAULT_NAMESPACE, new File[] { new File("src/test")}); Set namespaces = mappingLoader.loadNamespaces(); validateModel(namespaces); } |
newData(); _currentData.setType (WikiDataTypes.INDENT); _currentData.setData (""+many); | if (!_list) { newData(); _currentData.setType (WikiDataTypes.INDENT); _currentData.setData (""+many); } | public void indent(int many) { newData(); _currentData.setType (WikiDataTypes.INDENT); _currentData.setData (""+many); } |
if (_list) { newData(); _currentData.setType(WikiDataTypes.END_LIST); _list = false; } | public void paragraph() { finishFormatting (); newData (); _currentData.setType (WikiDataTypes.PARAGRAPH_BREAK); } | |
public Collection getLines(String methodNameAndDescriptor) | public SortedSet getLines() | public Collection getLines(String methodNameAndDescriptor) { Collection lines = new HashSet(); Iterator iter = children.values().iterator(); while (iter.hasNext()) { LineData next = (LineData)iter.next(); if (methodNameAndDescriptor.equals(next.getMethodName() + next.getMethodDescriptor())) { lines.ad... |
Collection lines = new HashSet(); Iterator iter = children.values().iterator(); while (iter.hasNext()) { LineData next = (LineData)iter.next(); if (methodNameAndDescriptor.equals(next.getMethodName() + next.getMethodDescriptor())) { lines.add(next); } } return lines; | return new TreeSet(this.children.values()); | public Collection getLines(String methodNameAndDescriptor) { Collection lines = new HashSet(); Iterator iter = children.values().iterator(); while (iter.hasNext()) { LineData next = (LineData)iter.next(); if (methodNameAndDescriptor.equals(next.getMethodName() + next.getMethodDescriptor())) { lines.ad... |
Copyright.print(System.out); | Header.print(System.out); | void coverage(String[] filenames) { if (filenames.length == 0) { return; } for (int i = 0; i < filenames.length; i++) { getProject().log("Adding " + filenames[i] + " to list", Project.MSG_VERBOSE); addArg(filenames[i]); } saveArgs(); Copyright.print(System.out); System.out.println("instrumenting " +... |
ListArticlesBean bean = new ListArticlesBean(articleItemBean[i].getHeadline(), articleItemBean[i].getHeadline(), ""); | String id = articleItemBean[i].getMainCategory()+"/"+articleItemBean[i].getHeadline()+".xml"; ListArticlesBean bean = new ListArticlesBean(id, articleItemBean[i].getHeadline(), ""); | public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } try { ArticleItemBean[] articleItemBean = (ArticleItemBean[]) ArticleListBean.loadAllArticlesInFolder("/files/content").toArray(new ArticleItemBean[0]); int availableRows = articleItemBean.le... |
WFTabBar tb = new WFTabBar(); | WFTabbedPane tb = new WFTabbedPane(); | protected UIComponent getMainTaskbar() { String bref = WFPage.CONTENT_BUNDLE + "."; WFTabBar tb = new WFTabBar(); tb.setMainAreaStyleClass(null); tb.setId(MAIN_TASKBAR_ID); WFTab buttonContent = tb.addButtonVB(TASK_ID_CONTENT, bref + "content", getContentPerspective()); buttonContent.addActionListener(this); WF... |
tb.addTaskbarListener(this); | tb.addTabListener(this); | protected UIComponent getMainTaskbar() { String bref = WFPage.CONTENT_BUNDLE + "."; WFTabBar tb = new WFTabBar(); tb.setMainAreaStyleClass(null); tb.setId(MAIN_TASKBAR_ID); WFTab buttonContent = tb.addButtonVB(TASK_ID_CONTENT, bref + "content", getContentPerspective()); buttonContent.addActionListener(this); WF... |
WFTabBar tb = (WFTabBar) link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); | WFTabbedPane tb = (WFTabbedPane) link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); | public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); String id = WFUtil.getParameter(link, "id"); WFTabBar tb = (WFTabBar) link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); tb.setSelectedButtonId(TASK_ID_EDIT); ArticleBlock ab = (ArticleBlock) tb.findCompo... |
tb.setSelectedButtonId(TASK_ID_EDIT); | tb.setSelectedMenuItemId(TASK_ID_EDIT); | public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); String id = WFUtil.getParameter(link, "id"); WFTabBar tb = (WFTabBar) link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); tb.setSelectedButtonId(TASK_ID_EDIT); ArticleBlock ab = (ArticleBlock) tb.findCompo... |
WFTabBar t = e.getTaskbar(); | WFTabbedPane t = e.getTaskbar(); | public void tabPressed(WFTabEvent e) { WFTabBar t = e.getTaskbar(); UIComponent articleVersionBlock = t.findComponent(ArticleVersionBlock.ARTICLE_VERSION_BLOCK_ID); if (t.getSelectedButtonId().equals(ArticleBlock.TASK_ID_PREVIEW)) { articleVersionBlock.setRendered(true); } else { articleVersionBlock.setRendere... |
if (t.getSelectedButtonId().equals(ArticleBlock.TASK_ID_PREVIEW)) { | if (t.getSelectedMenuItemId().equals(ArticleBlock.TASK_ID_PREVIEW)) { | public void tabPressed(WFTabEvent e) { WFTabBar t = e.getTaskbar(); UIComponent articleVersionBlock = t.findComponent(ArticleVersionBlock.ARTICLE_VERSION_BLOCK_ID); if (t.getSelectedButtonId().equals(ArticleBlock.TASK_ID_PREVIEW)) { articleVersionBlock.setRendered(true); } else { articleVersionBlock.setRendere... |
public static BeanDefinitionHolder createBeanDefinition(String propertyName, Set patterns, String referenceType) { | public static BeanDefinitionHolder createBeanDefinition(String name, Set patterns, String referenceType) { | public static BeanDefinitionHolder createBeanDefinition(String propertyName, Set patterns, String referenceType) { RootBeanDefinition beanDefinition = new RootBeanDefinition(SingletonReference.class, 0); ConstructorArgumentValues args = beanDefinition.getConstructorArgumentValues(); args.addInd... |
ConstructorArgumentValues args = beanDefinition.getConstructorArgumentValues(); args.addIndexedArgumentValue(0, propertyName, String.class.getName()); args.addIndexedArgumentValue(1, patterns, Set.class.getName()); args.addIndexedArgumentValue(2, referenceType, String.class.getName()); | MutablePropertyValues propertyValues = beanDefinition.getPropertyValues(); propertyValues.addPropertyValue("name", name); propertyValues.addPropertyValue("patterns", patterns); propertyValues.addPropertyValue("referenceType", referenceType); | public static BeanDefinitionHolder createBeanDefinition(String propertyName, Set patterns, String referenceType) { RootBeanDefinition beanDefinition = new RootBeanDefinition(SingletonReference.class, 0); ConstructorArgumentValues args = beanDefinition.getConstructorArgumentValues(); args.addInd... |
if (userVCard.getError() != null) { | if (userVCard.getError() != null || userVCard == null) { | public void viewProfile(final String jid, final JComponent parent) { SwingWorker worker = new SwingWorker() { VCard userVCard = new VCard(); public Object construct() { userVCard = getVCard(jid); return vcard; } public void finished() ... |
if (userVCard.getError() != null) { | if (userVCard.getError() != null || userVCard == null) { | public void finished() { if (userVCard.getError() != null) { // Show vcard not found JOptionPane.showMessageDialog(parent, "Unable to locate a profile for " + jid, "Profile Not Found", JOptionPane.ERROR_MESSAGE); return; ... |
stuffContext (wc, wikiPage, user); | stuffContext (wc, wikiPage, user, pageName); | public final Template handle(WebContext wc) throws HandlerException { String pageName = null; WikiPage wikiPage = null; // who is trying to do something? WikiUser user = getUser (wc); // which action wants to respond to this request? PageAction action = _actionManag... |
private void stuffContext (WebContext wc, WikiPage page, WikiUser user) { | private void stuffContext (WebContext wc, WikiPage page, WikiUser user, String pageName) { | private void stuffContext (WebContext wc, WikiPage page, WikiUser user) { wc.put ("Wiki", _wiki); wc.put ("WikiUtil", WikiUtil.getInstance()); wc.put ("Renderer", _wiki.getPageRenderer()); wc.put ("Page", page); wc.put ("User", user); } |
wc.put ("PageName", pageName); | private void stuffContext (WebContext wc, WikiPage page, WikiUser user) { wc.put ("Wiki", _wiki); wc.put ("WikiUtil", WikiUtil.getInstance()); wc.put ("Renderer", _wiki.getPageRenderer()); wc.put ("Page", page); wc.put ("User", user); } | |
ArticleItemBean[] articleItemBean = (ArticleItemBean[]) ArticleListBean.loadAllArticlesInFolder(new File("/Test/article/")).toArray(new ArticleItemBean[0]); | ArticleItemBean[] articleItemBean = (ArticleItemBean[]) ArticleListBean.loadAllArticlesInFolder("/files/content").toArray(new ArticleItemBean[0]); | public void updateDataModel(Integer start, Integer rows) { if (_dataModel == null) { _dataModel = new WFDataModel(); } try { ArticleItemBean[] articleItemBean = (ArticleItemBean[]) ArticleListBean.loadAllArticlesInFolder(new File("/Test/article/")).toArray(new ArticleItemBean[0]); int availableRows = articleI... |
catch (XMPPException e) { return; | catch (Exception e) { | private void bookmarkRoom(String serviceName, Tree serviceTree) { int selectedRow = roomsTable.getSelectedRow(); if (-1 == selectedRow) { JOptionPane.showMessageDialog(dlg, Res.getString("message.select.add.room.to.add"), Res.getString("title.group.chat"), JOptionPane.INFORMATION_MESSAGE); ... |
public void testXMLReportValidity() throws Exception { String[] args; ProjectData.saveGlobalProjectData(); String dataFileName = CoverageDataFileHandler.getDefaultDataFile() .getAbsolutePath(); args = new String[] { "-f", "xml", "--datafile", dataFileName, "-o", pathToTestOutput, "-s", pathToSourceCode }; net.sourc... | public void testXMLReportValidity() throws Exception { | public void testXMLReportValidity() throws Exception { String[] args; // Serialize the current coverage data to disk ProjectData.saveGlobalProjectData(); String dataFileName = CoverageDataFileHandler.getDefaultDataFile() .getAbsolutePath(); // Then we need to generate the XML report args = new String[] { "-f"... |
_tl.interrupt(); | public void destroy() { // @@@ We should shut down TimeLoop too somehow _cache = null; } | |
super.init(b,config); | public void init(Broker b, Properties config) throws InitException { _broker = b; _log = b.getLog("resource"); try { try { String cacheStr = config.getProperty("TemplateExpireTime"); _cacheDuration = Integer.valueOf(cacheStr).intValue(); } catch (Exception ee) {... | |
Object locale = null; try { Field f = Locale.class.getField(field); locale = f.get(null); } catch (Exception ne) { StringTokenizer st = new StringTokenizer(field,"_"); String[] parts = new String[] {"","",""}; try { for (int i=0; i<3; i++) { parts[i] = st.nextToken(); } } catch (NoSuchElementException e) {} locale =... | return buildLocale(field); | final public Object get(String field) { Object locale = null; try { Field f = Locale.class.getField(field); locale = f.get(null); } catch (Exception ne) { StringTokenizer st = new StringTokenizer(field,"_"); String[] parts = n... |
if (coberturaFile.isClass() && shouldInstrument(coberturaFile.pathname)) | if (coberturaFile.isClass() && shouldInstrument(coberturaFile.getPathname())) | private void addInstrumentation(CoberturaFile coberturaFile) { if (coberturaFile.isClass() && shouldInstrument(coberturaFile.pathname)) { addInstrumentationToSingleClass(coberturaFile); } else if (coberturaFile.isDirectory()) { String[] contents = coberturaFile.list(); for (int i = 0; i < contents.length; i... |
File relativeFile = new File(coberturaFile.pathname, contents[i]); CoberturaFile relativeCoberturaFile = new CoberturaFile(coberturaFile.baseDir, | File relativeFile = new File(coberturaFile.getPathname(), contents[i]); CoberturaFile relativeCoberturaFile = new CoberturaFile(coberturaFile.getBaseDir(), | private void addInstrumentation(CoberturaFile coberturaFile) { if (coberturaFile.isClass() && shouldInstrument(coberturaFile.pathname)) { addInstrumentationToSingleClass(coberturaFile); } else if (coberturaFile.isDirectory()) { String[] contents = coberturaFile.list(); for (int i = 0; i < contents.length; i... |
return getTemplate(name); | return getResource(name); | public URL getTemplate(String name) { if (_templatePrefix == null) return getTemplate(name); else { URL u = getResource(_templatePrefix + name); return (u != null) ? u : getResource(name); } } |
String errorText = "Set: Unable to set value: " + target; | String errorText = "#set: Unable to set value: " + target; | public void write(FastWriter out, Context context) throws ContextException, IOException { boolean done=false; try { if (result instanceof Macro) target.setValue(context, ((Macro) result).evaluate(context)); else target.setValue(context, result); } catch (ContextException e) { ... |
String jid = ((ChatRoomImpl)chatRoom).getParticipantJID(); Presence presence = SparkManager.getConnection().getRoster().getPresence(jid); | if (chatRoom instanceof ChatRoomImpl) { String jid = ((ChatRoomImpl)chatRoom).getParticipantJID(); Presence presence = SparkManager.getConnection().getRoster().getPresence(jid); | private void checkForStaleRooms() { int delay = 1000; // delay for 1 minute int period = 60000; // repeat every 30 seconds. Timer timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { public void run() { for (ChatRoom chatRoom : getStaleChatRooms()... |
if (presence == null || presence.getType() == Presence.Type.unavailable) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_UNAVAILABLE_STALE_IMAGE)); } else if (presence != null) { Presence.Mode mode = presence.getMode(); if (mode == Presence.Mode.available) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_AVAILABLE_STALE... | if (presence == null || presence.getType() == Presence.Type.unavailable) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_UNAVAILABLE_STALE_IMAGE)); | private void checkForStaleRooms() { int delay = 1000; // delay for 1 minute int period = 60000; // repeat every 30 seconds. Timer timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { public void run() { for (ChatRoom chatRoom : getStaleChatRooms()... |
else if (mode == Presence.Mode.away) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_AWAY_STALE_IMAGE)); } else if (mode == Presence.Mode.chat) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_FREE_CHAT_STALE_IMAGE)); } else if (mode == Presence.Mode.dnd) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_DND_STALE_IMAGE))... | else if (presence != null) { Presence.Mode mode = presence.getMode(); if (mode == Presence.Mode.available) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_AVAILABLE_STALE_IMAGE)); } else if (mode == Presence.Mode.away) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_AWAY_STALE_IMAGE)); } else if (mode == Presence.Mode.... | private void checkForStaleRooms() { int delay = 1000; // delay for 1 minute int period = 60000; // repeat every 30 seconds. Timer timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { public void run() { for (ChatRoom chatRoom : getStaleChatRooms()... |
String jid = ((ChatRoomImpl)chatRoom).getParticipantJID(); Presence presence = SparkManager.getConnection().getRoster().getPresence(jid); | if (chatRoom instanceof ChatRoomImpl) { String jid = ((ChatRoomImpl)chatRoom).getParticipantJID(); Presence presence = SparkManager.getConnection().getRoster().getPresence(jid); | public void run() { for (ChatRoom chatRoom : getStaleChatRooms()) { // Turn tab gray int index = indexOfComponent(chatRoom); if (index == -1) { return; } SparkTab tab = getTab... |
if (presence == null || presence.getType() == Presence.Type.unavailable) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_UNAVAILABLE_STALE_IMAGE)); } else if (presence != null) { Presence.Mode mode = presence.getMode(); if (mode == Presence.Mode.available) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_AVAILABLE_STALE... | if (presence == null || presence.getType() == Presence.Type.unavailable) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_UNAVAILABLE_STALE_IMAGE)); | public void run() { for (ChatRoom chatRoom : getStaleChatRooms()) { // Turn tab gray int index = indexOfComponent(chatRoom); if (index == -1) { return; } SparkTab tab = getTab... |
else if (mode == Presence.Mode.away) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_AWAY_STALE_IMAGE)); } else if (mode == Presence.Mode.chat) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_FREE_CHAT_STALE_IMAGE)); } else if (mode == Presence.Mode.dnd) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_DND_STALE_IMAGE))... | else if (presence != null) { Presence.Mode mode = presence.getMode(); if (mode == Presence.Mode.available) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_AVAILABLE_STALE_IMAGE)); } else if (mode == Presence.Mode.away) { tab.setIcon(SparkRes.getImageIcon(SparkRes.IM_AWAY_STALE_IMAGE)); } else if (mode == Presence.Mode.... | public void run() { for (ChatRoom chatRoom : getStaleChatRooms()) { // Turn tab gray int index = indexOfComponent(chatRoom); if (index == -1) { return; } SparkTab tab = getTab... |
setSelectedIndex(tabLocation); | if (tabLocation != -1) { setSelectedIndex(tabLocation); } | private void checkNotificationPreferences(final ChatRoom room) { LocalPreferences pref = SettingsManager.getLocalPreferences(); if (pref.getWindowTakesFocus()) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); int tabLocation = indexOfComponent(room); ... |
setSelectedIndex(tabLocation); | if (tabLocation != -1) { setSelectedIndex(tabLocation); } | public void actionPerformed(ActionEvent actionEvent) { chatFrame.setState(Frame.NORMAL); chatFrame.setVisible(true); int tabLocation = indexOfComponent(room); setSelectedIndex(tabLocation); } |
String dotPrefix = (prefix == null) ? "" : prefix + "."; while (e.hasMoreElements()) { String key = (String) e.nextElement(); if (prefix == null) p.setProperty(key, _servletContext.getInitParameter(key)); else if (key.startsWith(dotPrefix)) p.setProperty(key, _servletContext.getInitParameter(key) | if (e != null) { String dotPrefix = (prefix == null) ? "" : prefix + "."; while (e.hasMoreElements()) { String key = (String) e.nextElement(); if (prefix == null) p.setProperty(key, _servletContext.getInitParameter(key)); else if (key.startsWith(dotPrefix)) p.setProperty(key, _servletContext.getInitParameter(key) | protected void loadServletSettings(String prefix) throws InitException { Properties p = new Properties(); Enumeration e = _servletContext.getInitParameterNames(); String dotPrefix = (prefix == null) ? "" : prefix + "."; while (e.hasMoreElements()) { String key = (String) e.nextEleme... |
_log.debug("Looking for template: " + tFile); | final public Template getTemplate(String fileName) { for (int i=0; i < _templateDirectory.length; i++) { Template t; String dir = _templateDirectory[i]; File tFile = new File(dir,fileName); if (tFile.canRead()) { try { t = new FileTemplate(_broker,tFile)... | |
_log.info("Loading template: " + name); | final public TimedReference load(String name) throws NotFoundException { Template t = getTemplate(name); if (t == null) { throw new NotFoundException( this + " could not locate " + name + " on path " + _templatePath); } return new TimedReference(t, _cacheDuration); } | |
private void addInstrumentation(File baseDir, String filename) { logger.debug("filename: " + filename); File file; if (baseDir == null) file = new File(filename); else file = new File(baseDir, filename); addInstrumentation(file); } | private void addInstrumentation(File file) { if (isClass(file)) { addInstrumentationToSingleClass(file); } else if (file.isDirectory()) { File[] contents = file.listFiles(); for (int i = 0; i < contents.length; i++) addInstrumentation(contents[i]); } else if (isArchive(file)) { addInstrumentationToArchive(file); } } | private void addInstrumentation(File baseDir, String filename) { logger.debug("filename: " + filename); File file; if (baseDir == null) file = new File(filename); else file = new File(baseDir, filename); addInstrumentation(file); } |
private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); | private void addInstrumentationToArchive(ZipInputStream archive, ZipOutputStream output) throws Exception { ZipEntry entry; while ((entry = archive.getNextEntry()) != null) { try { ZipEntry outputEntry = new ZipEntry(entry.getName()); output.putNextEntry(outputEntry); | private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat... |
File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { try { input = new ZipInputStream(new FileInputStream(archive)); } catch (FileNotFoundException e) { logger.warn("Cannot open archive file: " + archive.getAbsolutePath(), e); return; } | byte[] entryBytes = IOUtil .createByteArrayFromInputStream(archive); | private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat... |
try { if (destinationDirectory != null) { outputFile = new File(destinationDirectory, archive .getName()); } else { outputFile = File.createTempFile( "CoberturaInstrumentedArchive", "jar"); outputFile.deleteOnExit(); } output = new ZipOutputStream(new FileOutputStream(outputFile)); } catch (IOException e) { logger.w... | if (isClass(entry)) { ClassReader cr = new ClassReader(entryBytes); ClassWriter cw = new ClassWriter(true); ClassInstrumenter cv = new ClassInstrumenter(projectData, cw, ignoreRegexes); cr.accept(cv, false); | private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat... |
try { addInstrumentationToArchive(input, output); } catch (Exception e) { logger.warn("Cannot instrument archive: " + archive.getAbsolutePath(), e); return; } } finally { if (input != null) { try { input.close(); } catch (IOException e) { } } if (output != null) { try { output.close(); } catch (IOException e) { } } } | if (cv.isInstrumented()) { logger.debug("Putting instrumeted entry: " + entry.getName()); entryBytes = cw.toByteArray(); } } | private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat... |
if (destinationDirectory == null) { try { IOUtil.moveFile(outputFile, archive); } catch (IOException e) { logger.warn("Cannot instrument archive: " + archive.getAbsolutePath(), e); return; } } } | output.write(entryBytes); output.closeEntry(); archive.closeEntry(); } catch (Exception e) { logger.warn("Problems with archive entry: " + entry); throw e; } output.flush(); } } | private void addInstrumentationToArchive(File archive) { logger.debug("Instrumenting archive " + archive.getAbsolutePath()); File outputFile = null; ZipInputStream input = null; ZipOutputStream output = null; try { // Open archive try { input = new ZipInputStream(new FileInputStream(archive)); } cat... |
InputStream inputStream = null; ClassWriter cw; ClassInstrumenter cv; try { inputStream = new FileInputStream(file); ClassReader cr = new ClassReader(inputStream); cw = new ClassWriter(true); cv = new ClassInstrumenter(this.projectData, cw, this.ignoreRegexs); cr.accept(cv, false); } catch (Throwable t) { logger.warn("... | InputStream inputStream = null; ClassWriter cw; ClassInstrumenter cv; try { inputStream = new FileInputStream(file); ClassReader cr = new ClassReader(inputStream); cw = new ClassWriter(true); cv = new ClassInstrumenter(projectData, cw, ignoreRegexes); cr.accept(cv, false); } catch (Throwable t) { logger.warn("Unable to... | private void addInstrumentationToSingleClass(File file) { logger.debug("Instrumenting class " + file.getAbsolutePath()); InputStream inputStream = null; ClassWriter cw; ClassInstrumenter cv; try { inputStream = new FileInputStream(file); ClassReader cr = new ClassReader(inputStream); cw = new ClassWriter(t... |
boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } | Main main = new Main(); | public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm... |
if (hasCommandsFile) { List arglist = new ArrayList(); BufferedReader bufferedReader = null; | boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } | public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm... |
try { bufferedReader = new BufferedReader(new FileReader( commandsFileName)); String line; | if (hasCommandsFile) { List arglist = new ArrayList(); BufferedReader bufferedReader = null; | public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm... |
while ((line = bufferedReader.readLine()) != null) arglist.add(line); | try { bufferedReader = new BufferedReader(new FileReader( commandsFileName)); String line; | public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm... |
} catch (IOException e) { logger.fatal("Unable to read temporary commands file " + commandsFileName + "."); logger.info(e); } finally { if (bufferedReader != null) { try { bufferedReader.close(); } catch (IOException e) { } } } | while ((line = bufferedReader.readLine()) != null) arglist.add(line); | public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm... |
args = (String[])arglist.toArray(new String[arglist.size()]); } | } catch (IOException e) { logger.fatal("Unable to read temporary commands file " + commandsFileName + "."); logger.info(e); } finally { if (bufferedReader != null) { try { bufferedReader.close(); } catch (IOException e) { } } } | public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm... |
new Main(args); | args = (String[])arglist.toArray(new String[arglist.size()]); } | public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm... |
long stopTime = System.currentTimeMillis(); System.out.println("Instrument time: " + (stopTime - startTime) + "ms"); } | main.parseArguments(args); long stopTime = System.currentTimeMillis(); System.out.println("Instrument time: " + (stopTime - startTime) + "ms"); } | public static void main(String[] args) { long startTime = System.currentTimeMillis(); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("--commandsfile")) { hasCommandsFile = true; commandsFileName = args[++i]; } } if (hasComm... |
list.add(name); | list.add(name.image); | final public Object[] FormalArgList() throws ParseException { ArrayList list=new ArrayList(); Token name; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LPAREN: jj_consume_token(LPAREN); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOLLAR: case WS: switch ((jj_ntk==-1)?jj_ntk():jj_ntk... |
Object res = get(names[0]); if (names.length == 1) { return res; } | public final Object getProperty(final Object[] names) throws PropertyException, InvalidContextException { if (names.length == 0) { return null; } else if (_bean == null) { return PropertyOperator.getProperty(this,get(names[0]),names,1); } else { return PropertyOperator.... | |
if (names.length == 1) { put(names[0], value); return true; } | final public boolean setProperty(final Object[] names, final Object value) throws PropertyException, InvalidContextException { if (names.length == 0) { return false; } else if (_bean == null) { return PropertyOperator.setProperty(this,get(names[0]),names,1,value); } else { ... | |
if(e.isPopupTrigger()){ return; } | public void mousePressed(MouseEvent e) { if (e.getSource() instanceof SparkTab) { SparkTab tab = (SparkTab)e.getSource(); setSelectedTab(tab); } } | |
return "1.1.9.3"; | return "1.1.9.4"; | public static String getVersion() { return "1.1.9.3"; } |
getJava().createArg().setValue("-i"); | getJava().createArg().setValue("--datafile"); | public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se... |
getJava().createArg().setValue("-s"); | getJava().createArg().setValue("--source"); | public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se... |
getJava().createArg().setValue("-o"); | getJava().createArg().setValue("--output"); | public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se... |
getJava().createArg().setValue("-f"); | getJava().createArg().setValue("--format"); | public void execute() throws BuildException { Header.print(System.out); getJava().createArg().setValue("-i"); getJava().createArg().setValue(coverageDataFileName); getJava().createArg().setValue("-s"); getJava().createArg().setValue(src.toString()); getJava().createArg().setValue("-o"); getJava().createArg().se... |
props.put("J2EEApplication", applicationName); | props.put("J2EEApplication", "null"); props.put("J2EEModule", moduleName); | private ObjectName createObjectName(String name, String type) { Properties props = new Properties(); if (type != null) { props.put("j2eeType", type); } props.put("name", name); props.put("J2EEApplication", applicationName); props.put("J2EEServer", serverName); ... |
synchronized (this) { _pageTree = null; } | public void deletePage(String title) { // backup page we're about to remove WikiPage oldPage = getPage(title); if (oldPage != null) { oldPage.setTitle(".DELETED-" + oldPage.getTitle()); _pageStore.put(".DELETED-" + oldPage.getTitle(), oldPage); } // remove th... | |
if (chatFrame.isVisible() && (chatFrame.getState() == Frame.ICONIFIED || chatFrame.getInactiveTime() > 60000)) { | if (chatFrame.isVisible() && (chatFrame.getState() == Frame.ICONIFIED || !chatFrame.isInFocus())) { | public void fireNotifyOnMessage(final ChatRoom chatRoom) { ChatRoom activeChatRoom = null; try { activeChatRoom = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { Log.error(e1); } if (chatFrame.isVisible() && (chatFrame.getState() == Frame... |
add(workspacePane, new GridBagConstraints(0, 9, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(4, 4, 4, 4), 0, 0)); add(statusBox, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(4, 4, 4, 4), 0, 0)); add(alerts, new GridBagCon... | add(workspacePane, new GridBagConstraints(0, 9, 1, 1, 1.0, 1.0, GridBagConstraints.WEST, GridBagConstraints.BOTH, new Insets(2, 4, 4, 4), 0, 0)); add(statusBox, new GridBagConstraints(0, 0, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(2, 4, 4, 4), 0, 0)); add(alerts, new GridBagCon... | private Workspace() { MainWindow mainWindow = SparkManager.getMainWindow(); // Add MainWindow listener mainWindow.addMainWindowListener(new MainWindowListener() { public void shutdown() { // Close all Chats. final Iterator chatRooms = SparkManager.getCha... |
alerts.setVisible(true); | public void addAlert(Component comp) { alertPanel.add(comp); int comps = alertPanel.getComponentCount(); alerts.getTitlePane().setVisible(true); alerts.setTitle("Alerts (" + comps + ")"); alertPanel.invalidate(); alertPanel.validate(); alertPanel.repaint(); } | |
alerts.setVisible(false); | public void removeAlert(Component comp) { alertPanel.remove(comp); int comps = alertPanel.getComponentCount(); if (comps == 0) { alerts.getTitlePane().setVisible(false); } else { alerts.setTitle("Alerts (" + comps + ")"); } invalidate(); ... | |
listenAction.putValue(Action.NAME, "Notify when available"); | listenAction.putValue(Action.NAME, Res.getString("menuitem.alert.when.online")); | 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... |
removeAction.putValue(Action.NAME, "Remove notification when available"); | removeAction.putValue(Action.NAME, Res.getString("menuitem.remove.alert.when.online")); | 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... |
String infoText = "**" + item.getNickname() + " is now available to chat. **"; | String time = SparkManager.DATE_SECOND_FORMATTER.format(new Date()); String infoText = Res.getString("message.user.now.available.to.chat", item.getNickname(), time); | 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... |
String infoText = "**" + item.getNickname() + " is now available to chat. **"; | String time = SparkManager.DATE_SECOND_FORMATTER.format(new Date()); String infoText = Res.getString("message.user.now.available.to.chat", item.getNickname(), time); | 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... |
for (i = 48; i-- > 0;) | for (i = 53; i-- > 0;) | private final void ReInitRounds(){ int i; jjround = 0x80000001; for (i = 48; i-- > 0;) jjrounds[i] = 0x80000000;} |
jjnewStateCnt = 48; | jjnewStateCnt = 53; | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
if (kind > 15) kind = 15; | if (kind > 17) kind = 17; | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
if (kind > 32) kind = 32; | if (kind > 34) kind = 34; | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
jjCheckNAddStates(0, 3); if ((0x3ff000000000000L & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } | jjCheckNAddStates(3, 6); if ((0x3ff600000000000L & l) != 0L) jjCheckNAddTwoStates(13, 14); | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
} else if (curChar == 13) jjAddStates(9, 10); else if (curChar == 10) | jjCheckNAddStates(10, 14); } if ((0x3ff000000000000L & l) != 0L) | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
jjCheckNAddTwoStates(42, 44); } | jjCheckNAddStates(15, 17); } else if (curChar == 32) jjstateSet[jjnewStateCnt++] = 20; break; case 53: jjCheckNAddStates(0, 2); break; case 3: jjCheckNAddStates(18, 20); break; case 6: jjCheckNAddStates(21, 24); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 18) kind = 18; jjstateSet[jjnewStateCn... | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
jjstateSet[jjnewStateCnt++] = 14; break; case 49: case 1: jjCheckNAddStates(11, 13); break; case 48: jjCheckNAddStates(11, 13); break; case 3: jjCheckNAddStates(14, 16); break; case 6: jjCheckNAddStates(17, 20); break; case 11: if ((0x3ff000000000000L & l) == 0L) | jjstateSet[jjnewStateCnt++] = 20; break; case 20: if (curChar == 32 && kind > 28) kind = 28; break; case 21: if ((0x100000200L & l) != 0L && kind > 29) kind = 29; break; case 22: if ((0xfc00ffffffffffffL & l) != 0L && kind > 34) kind = 34; break; case 23: if (curChar != 10) break; if (kind > 27) kind = 27; jjCheckNAddS... | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 32) jjstateSet[jjnewStateCnt++] = 14; break; case 14: if (curChar == 32 && kind > 26) | jjCheckNAdd(28); break; case 29: case 30: if (curChar == 10 && kind > 26) | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
case 15: if ((0x100000200L & l) != 0L && kind > 27) | case 31: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 30; break; case 32: if (curChar == 13) jjCheckNAddStates(7, 9); break; case 33: if (curChar == 10) jjCheckNAddTwoStates(29, 31); break; case 34: if (curChar == 10 && kind > 27) | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
case 16: if ((0xfc00ffffffffffffL & l) != 0L && kind > 32) kind = 32; break; case 17: | case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); break; case 36: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(36, 37); break; case 37: if (curChar == 58) jjstateSet[jjnewStateCnt++] = 38; break; case 38: if ((0xa7ffe06000000000L & l) == 0L) break; if (... | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
jjCheckNAddStates(4, 8); break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(18, 19); break; case 20: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(20, 21); break; case 21: if (curChar == 46) jjstateSet[jjnewStateCnt++] = 22; break; case 22: if ((0x3ff000000000000L & l) == 0L) break; if ... | jjCheckNAddTwoStates(47, 48); break; case 48: | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
jjCheckNAdd(32); break; case 33: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(0, 3); break; case 34: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(34, 35); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 21) kind = 21; jjCheckNAddTwoStates(35, 36); break; case 36: if ((0x3ff000... | jjCheckNAddStates(34, 36); break; case 49: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(49, 50); break; case 50: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(37, 39); break; case 52: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(40, 43); | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
if (kind > 16) kind = 16; | if (kind > 18) kind = 18; | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 23) kind = 23; jjCheckNAddStates(4, 8); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 32) kind = 32; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(0, 3); | if ((0x7fffffe87fffffeL & l) != 0L) jjCheckNAddTwoStates(13, 14); | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
if (curChar == 94) | if ((0x7fffffe07fffffeL & l) != 0L) { if (kind > 25) kind = 25; jjCheckNAddStates(15, 17); } else if ((0xf8000001f8000001L & l) != 0L) { if (kind > 34) kind = 34; } if ((0x7fffffeL & l) != 0L) jjCheckNAddStates(3, 6); else if (curChar == 94) | private final int jjMoveNfa_0(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 48; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << cu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.