rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
static private Settings urlSettings(URL u, ClassLoader cl) throws InitException | static private Settings urlSettings(URL u) throws InitException | static private Settings urlSettings(URL u, ClassLoader cl) throws InitException { try { Settings s = initSettings(cl); s.load(u); return s; } catch (IOException e) { throw new InitException("Error reading from " + u.toString(), e); } } |
Settings s = initSettings(cl); | Settings s = initSettings(); | static private Settings urlSettings(URL u, ClassLoader cl) throws InitException { try { Settings s = initSettings(cl); s.load(u); return s; } catch (IOException e) { throw new InitException("Error reading from " + u.toString(), e); } } |
Class cl = Class.forName("org.springframework.beans.factory.xml.BeanDefinitionParserDelegate"); | private static String getVersion() { if (version == null) { try { Class cl = Class.forName("org.springframework.beans.factory.xml.BeanDefinitionParserDelegate"); try { cl.getMethod("parsePropertyElements", new Class[] { Element.class, BeanDefinition... | |
cl.getMethod("parsePropertyElements", new Class[] { Element.class, BeanDefinition.class }); version = "v2b"; } catch (NoSuchMethodException e) { version = "v2a"; | Class.forName("org.springframework.beans.factory.parsing.BeanComponentDefinition"); version = "v2c"; } catch (ClassNotFoundException e) { Class cl = Class.forName("org.springframework.beans.factory.xml.BeanDefinitionParserDelegate"); try { cl.getMethod("parsePropertyElements", new Class[] { Element.class, BeanDefinitio... | private static String getVersion() { if (version == null) { try { Class cl = Class.forName("org.springframework.beans.factory.xml.BeanDefinitionParserDelegate"); try { cl.getMethod("parsePropertyElements", new Class[] { Element.class, BeanDefinition... |
} catch (Exception e) { throw new IOException("Unicode conversion error: " + e); | private void writeChars(char[] cbuf, int offset, int len) throws IOException { try { if (_asciiHack) { // cheat while (len > 0) { int max = (len < _BSIZE) ? len : _BSIZE; for (int i = 0; i < max; i++) { _bbuf[i] = (byte) cbuf[i +... | |
File file = new File(baseDirectory.toURI().resolve(configurationFile)); | File file = new File(configurationFile); if (!file.isAbsolute()) { file = new File(baseDirectory.toURI().resolve(configurationFile)); } | public Main loadMain() { if (serverBaseDirectory == null) { throw new NullPointerException("serverBaseDirectory is null"); } File baseDirectory = new File(serverBaseDirectory); if (!baseDirectory.isDirectory()) { throw new IllegalArgumentException("serverBaseDirecto... |
case WS: case NEWLINE: | final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: ... | |
key = Expression(); | jj_consume_token(COLON); | final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: ... |
jj_consume_token(COLON); | value = Expression(); | final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: ... |
value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } swi... | map.put(key, value); label_8: | final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: ... |
break label_9; } jj_consume_token(COMMA); | ; } key = Expression(); | final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: ... |
value = Expression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: case NEWLINE: label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case WS: jj_consume_token(WS); break; case NEWLINE: jj_consume_token(NEWLINE); break; default: jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } sw... | final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: ... | |
jj_la1[63] = jj_gen; | jj_la1[60] = jj_gen; | final public MapBuilder MapArgList() throws ParseException { MapBuilder map = new MapBuilder(); Object key, value; switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: case DOLLAR: case QUOTE: case SQUOTE: case NULL: case TRUE: case FALSE: case UNDEFINED: case WS: case NEWLINE: ... |
jj_la1_0 = new int[] {0x40000000,0xc0000000,0x40000000,0x80000000,0x40000000,0x80000000,0x40000000,0xc0000000,0xc0000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0... | jj_la1_0 = new int[] {0x40000000,0xc0000000,0x40000000,0x80000000,0x40000000,0x80000000,0x40000000,0xc0000000,0xc0000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0... | private static void jj_la1_0() { jj_la1_0 = new int[] {0x40000000,0xc0000000,0x40000000,0x80000000,0x40000000,0x80000000,0x40000000,0xc0000000,0xc0000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40000000,0x40... |
jj_la1_1 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x400000,0x1,0x0,0x400001,0x2000000,0x2000000,0x4000000,0x4000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x100000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x88400... | jj_la1_1 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x400000,0x1,0x0,0x400001,0x2000000,0x2000000,0x4000000,0x4000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x100000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x884005,0x0,0x0,0x... | private static void jj_la1_1() { jj_la1_1 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x400000,0x1,0x0,0x400001,0x2000000,0x2000000,0x4000000,0x4000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x100000,0x0,0x0,0x0,0x... |
_log = _broker.getLog("directive"); | public Object build(DirectiveBuilder builder, BuildContext bc) throws BuildException { _broker = bc.getBroker(); // BeanConf object is created by the init method when this directive // is registered by the DirectiveProvider beanConf = (BeanConf)_broker.getBrokerLocal("... | |
if (DEBUG) System.err.println("DBG: #bean, target="+target +", className="+_className+", scope="+scope +", isStaticClass="+isStaticClass+", initArgs="+initArgObj); | _log.debug("BeanDirective, target="+target +", className="+_className+", scope="+scope +", isStaticClass="+isStaticClass+", initArgs="+initArgObj); | public Object build(DirectiveBuilder builder, BuildContext bc) throws BuildException { _broker = bc.getBroker(); // BeanConf object is created by the init method when this directive // is registered by the DirectiveProvider beanConf = (BeanConf)_broker.getBrokerLocal("... |
if (DEBUG){ System.err.println("DBG: #bean - impliedPackages: " + bCfg.impliedPackages); System.err.println("DBG: #bean - allowedPackages: " + bCfg.allowedPackages); } | Log log = b.getLog("directive"); log.debug("BeanDirective initialization - impliedPackages: " + bCfg.impliedPackages); log.debug("BeanDirective initialization - allowedPackages: " + bCfg.allowedPackages); | public static void init(Broker b){ // get configuration parameters synchronized (b){ BeanConf bCfg = new BeanConf(b); b.setBrokerLocal("BeanDirective.Conf", bCfg); if (DEBUG){ System.err.println("DBG: #bean - impliedPackages: " + bCfg.impliedPackages); ... |
throw new PropertyException("#bean usage error: session scope is only valid with servlets!"); | PropertyException e = new PropertyException( "#bean usage error: session scope is only valid with servlets!"); _broker.getEvaluationExceptionHandler().evaluate( target, context, e); | public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro... |
if (DEBUG) System.err.println("#bean: Class " + _className + " loaded."); | _log.debug("BeanDirective: Class " + _className + " loaded."); | public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro... |
if (DEBUG) System.err.println("#bean: Class " + _className + " failed: " + e); this._log.error("#bean: Class " + _className + " failed.", e); throw e; | this._broker.getEvaluationExceptionHandler().evaluate(target, context, e); | public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro... |
String errorText = "#bean: Unable to load bean " + target + " of type " + _className; context.getBroker().getLog("engine").error(errorText, e); | String errorText = "BeanDirective: Unable to load bean " + target + " of type " + _className; _log.error(errorText, e); | public void write(FastWriter out, Context context) throws PropertyException, IOException { Map globalBeans = BeanConf.globalBeans; Map appBeans = beanConf.appBeans; boolean isNew = false; try { while (initArgObj instanceof Macro) initArgObj = ((Macro... |
SparkManager.getConnection().addPacketListener(new PacketListener() { public void processPacket(final Packet packet) { try { if (customList.contains(StringUtils.parseBareAddress(packet.getFrom()))) { cancelledNotification(packet.getFrom(), ""); } } catch (Exception e) { Log.error(e); } } }, new PacketTypeFilter(Message... | MessageEventRequestListener messageEventRequestListener = new ChatMessageEventRequestListener(); SparkManager.getMessageEventManager(). addMessageEventRequestListener(messageEventRequestListener); | private ChatManager() { chatContainer = new ChatContainer(); // Add a Message Handler SparkManager.getMessageEventManager().addMessageEventNotificationListener(this); SparkManager.getConnection().addPacketListener(new PacketListener() { public void processPacket(final Packet p... |
final ContactList contactList = SparkManager.getWorkspace().getContactList(); | ContactList contactList = SparkManager.getWorkspace().getContactList(); | public void run() { final ContactList contactList = SparkManager.getWorkspace().getContactList(); ChatRoom chatRoom = null; try { chatRoom = getChatContainer().getChatRoom(StringUtils.parseBareAddress(from)); if (chatRoom != ... |
((ChatRoomImpl)chatRoom).showTyping(true); | ((ChatRoomImpl)chatRoom).showTyping(false); | public void run() { final ContactList contactList = SparkManager.getWorkspace().getContactList(); ChatRoom chatRoom = null; try { chatRoom = getChatContainer().getChatRoom(StringUtils.parseBareAddress(from)); if (chatRoom != ... |
contactList.setIconFor(from, SparkRes.getImageIcon(SparkRes.SMALL_MESSAGE_EDIT_IMAGE)); customList.add(StringUtils.parseBareAddress(from)); | contactList.useDefaults(from); customList.remove(StringUtils.parseBareAddress(from)); | public void run() { final ContactList contactList = SparkManager.getWorkspace().getContactList(); ChatRoom chatRoom = null; try { chatRoom = getChatContainer().getChatRoom(StringUtils.parseBareAddress(from)); if (chatRoom != ... |
c._locale = _locale; | protected Object clone() { Context c = null; try { c = (Context) super.clone(); } catch (CloneNotSupportedException e) { // Object supports clone } c._localState = null; c._beanState = null; c._state = 0; c._locals = null; c._bean = null; return c; ... | |
Thread.currentThread().setContextClassLoader(classLoader); | public void preprocess(SpringApplicationContext applicationContext, XmlBeanDefinitionReader reader, Document document) { // determine the classLoader ClassLoader classLoader; NodeList classpathElements = document.getDocumentElement().getElementsByTagName("classpath"); if (classpathElemen... | |
out.println(namespace.replace(":", "\\:") + "=" + NAMESPACE_HANDLER); | out.println(namespace.replaceAll(":", "\\\\:") + "=" + NAMESPACE_HANDLER); | public void generate(NamespaceMapping namespaceMapping) throws IOException { String namespace = namespaceMapping.getNamespace(); if (namespace == null) { return; } File file = new File(metaInfDir, NamespaceHelper.createDiscoveryPathName(namespace)); file.getParentFile()... |
if(con != null){ con.connect(); } | private XMPPConnection getConnection() throws XMPPException { LocalPreferences localPref = SettingsManager.getLocalPreferences(); XMPPConnection con; // Get connection int port = localPref.getXmppPort(); String serverName = getServer(); int checkForPort = serverName.indexOf... | |
cancelButton.setFont(new Font("Dialog", Font.BOLD, 10)); | cancelButton.setFont(new Font("Dialog", Font.BOLD, 11)); | private void decorateCancelButton() { cancelButton.setVisible(false); ResourceUtils.resButton(cancelButton, Res.getString("cancel")); cancelButton.setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, new Color(73, 113, 196))); cancelButton.setForeground(new Color(73, 113, 196)); ... |
openFileButton.setFont(new Font("Dialog", Font.BOLD, 10)); | openFileButton.setFont(new Font("Dialog", Font.BOLD, 11)); | private void transferDone(final FileTransferRequest request, FileTransfer transfer) { cancelButton.setVisible(false); showAlert(true); String bareJID = StringUtils.parseBareAddress(request.getRequestor()); ContactList contactList = SparkManager.getWorkspace().getContactList(); Con... |
openFolderButton.setFont(new Font("Dialog", Font.BOLD, 10)); | openFolderButton.setFont(new Font("Dialog", Font.BOLD, 11)); | private void transferDone(final FileTransferRequest request, FileTransfer transfer) { cancelButton.setVisible(false); showAlert(true); String bareJID = StringUtils.parseBareAddress(request.getRequestor()); ContactList contactList = SparkManager.getWorkspace().getContactList(); Con... |
ChatPreferences chatPref = (ChatPreferences)SparkManager.getPreferenceManager().getPreferenceData(ChatPreference.NAMESPACE); final String nickname = chatPref.getNickname().trim(); | LocalPreferences pref = SettingsManager.getLocalPreferences(); final String nickname = pref.getNickname().trim(); | public static void autoJoinConferenceRoom(final String roomName, String roomJID, String password) { ChatManager chatManager = SparkManager.getChatManager(); final MultiUserChat groupChat = new MultiUserChat(SparkManager.getConnection(), roomJID); ChatPreferences chatPref = (ChatPreferences)Spar... |
ChatPreferences chatPref = (ChatPreferences)SparkManager.getPreferenceManager().getPreferenceData(ChatPreference.NAMESPACE); chatRoom.create(chatPref.getNickname()); | LocalPreferences pref = SettingsManager.getLocalPreferences(); chatRoom.create(pref.getNickname()); | public static void createPrivateConference(String serviceName, String message, String roomName, Collection jids) { final MultiUserChat chatRoom = new MultiUserChat(SparkManager.getConnection(), roomName + "@" + serviceName); final GroupChatRoom room = new GroupChatRoom(chatRoom); try { ... |
ChatPreferences chatPref = (ChatPreferences)SparkManager.getPreferenceManager().getPreferenceData(ChatPreference.NAMESPACE); final String nickname = chatPref.getNickname().trim(); | final LocalPreferences pref = SettingsManager.getLocalPreferences(); final String nickname = pref.getNickname().trim(); | public static GroupChatRoom enterRoomOnSameThread(final String roomName, String roomJID, String password) { ChatManager chatManager = SparkManager.getChatManager(); final MultiUserChat groupChat = new MultiUserChat(SparkManager.getConnection(), roomJID); ChatPreferences chatPref = (ChatPreferen... |
final ChatPreferences pref = (ChatPreferences)SparkManager.getPreferenceManager().getPreferenceData(ChatPreference.NAMESPACE); | final LocalPreferences pref = SettingsManager.getLocalPreferences(); | public void joinRoom(final String roomJID, final String roomName) { final ChatPreferences pref = (ChatPreferences)SparkManager.getPreferenceManager().getPreferenceData(ChatPreference.NAMESPACE); // Set default nickname nicknameField.setText(pref.getNickname()); // Enable password field i... |
String prop; Object nextProp = null; | String propName; Object nextPropValue = null; | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
prop = (String) names[start]; | propName = (String) names[start]; | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
prop = pm.getName(); acc = (Accessor) _directAccessors.get(prop); | propName = pm.getName(); acc = (Accessor) _directAccessors.get(propName); | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
if (isMethodRestricted(instance.getClass(), prop)) | if (isMethodRestricted(instance.getClass(), propName)) | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
nextProp = acc.get(instance, args); | nextPropValue = acc.get(instance, args); | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
prop = names[start].toString(); | propName = names[start].toString(); | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
acc = (Accessor) _unaryAccessors.get(prop); | acc = (Accessor) _unaryAccessors.get(propName); | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
nextProp = acc.get(instance); | nextPropValue = acc.get(instance); | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
acc = (Accessor) _binaryAccessors.get(prop); if ((acc != null) && ((start + 1) <= end)) | acc = (Accessor) _binaryAccessors.get(propName); if ((acc != null) && ((start + 1) <= names.length)) | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
nextProp = acc.get(instance, (String) names[start + 1]); | nextPropValue = acc.get(instance, (String) names[start + 1]); | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
nextProp = acc.get(instance, prop); | nextPropValue = acc.get(instance, propName); | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
if (isMethodRestricted(instance.getClass(), "get" + prop) || isMethodRestricted(instance.getClass(), "set" + prop)) | if (isMethodRestricted(instance.getClass(), "get" + propName) || isMethodRestricted(instance.getClass(), "set" + propName)) | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
prop, fillInName(names, start), | propName, fillInName(names, start), | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
return _cache.getOperator(nextProp) .getProperty(context, nextProp, names, start, end); | return _cache.getOperator(nextPropValue) .getProperty(context, nextPropValue, names, start, end); | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
return nextProp; | return nextPropValue; | public Object getProperty (final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc... |
int parentPos = names.length - 1; int binPos = parentPos - 1; | int binPos = names.length - 2; | public boolean setProperty (Context context, Object instance, Object[] names, Object value, int pos) throws PropertyException, NoSuchMethodException { // names[pos] is wha... |
window.setVisible(false); | window.dispose(); | public void mouseMoved(MouseEvent e) { if(e != null){ mouseEvent = e; } if(!canShowPopup){ return; } int loc = list.locationToIndex(e.getPoint()); Point point = list.indexToLocation(loc); ContactItem item ... |
generateIDAttributeMapping(out, namespaceMapping, element); | private void generateElementMapping(PrintWriter out, NamespaceMapping namespaceMapping, ElementMapping element) { out.println(); out.println(" <!-- element for type: " + element.getClassName() + " -->"); String localName = element.getElementName(); out.println(" <xs:element name='" + l... | |
} public void mouseReleased(MouseEvent e) { if (transcriptWindow.getSelectedText() == null) { getChatInputEditor().requestFocus(); } | protected ChatRoom() { chatPanel = new JPanel(new GridBagLayout()); transcriptWindow = new TranscriptWindow(); splitPane = new JSplitPane(); packetIDList = new ArrayList(); notificationLabel = new JLabel(); toolbar = new ChatToolBar(); bottomPanel = new JPanel(); ... | |
FastWriter fw = new FastWriter(os, "UTF8"); | FastWriter fw = new FastWriter(os, data.getEncoding()); | public final Object evaluate(Context data) { try { ByteArrayOutputStream os = new ByteArrayOutputStream(512); FastWriter fw = new FastWriter(os, "UTF8"); write(fw,data); fw.flush(); return os.toString("UTF8"); } catch (IOException e) { _log.exception(e); _log... |
return os.toString("UTF8"); | return os.toString(data.getEncoding()); | public final Object evaluate(Context data) { try { ByteArrayOutputStream os = new ByteArrayOutputStream(512); FastWriter fw = new FastWriter(os, "UTF8"); write(fw,data); fw.flush(); return os.toString("UTF8"); } catch (IOException e) { _log.exception(e); _log... |
globalProjectData = new ProjectData(); | public static ProjectData getGlobalProjectData() { if (globalProjectData != null) return globalProjectData; initialize(); globalProjectData = new ProjectData(); return globalProjectData; } | |
assertStringTemplateEquals(tmpl, ""); | public void testBinarySetBoolean() throws Exception { String tmpl = "#set $TestObject.Bool=true"; assertTrue(to.bool); } | |
public JContactItemField(List items, Window parentWindow) { | public JContactItemField(List items) { | public JContactItemField(List items, Window parentWindow) { setLayout(new BorderLayout()); this.items = items; add(textField, BorderLayout.CENTER); textField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { char ch = keyEvent.getKey... |
list.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyCode() == KeyEvent.VK_ESCAPE) { textField.requestFocus(); } } }); popup = new JWindow(parentWindow); | popup = new JWindow(); | public JContactItemField(List items, Window parentWindow) { setLayout(new BorderLayout()); this.items = items; add(textField, BorderLayout.CENTER); textField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { char ch = keyEvent.getKey... |
case 0: jj_consume_token(0); {if (true) throw new ParseException("Encountered EOF, expecting #end at " + token.beginLine + "." + token.beginColumn);} break; | final public BlockBuilder Block(Subdirective[] subdirectives) throws ParseException { ParserBlockBuilder block = new ParserBlockBuilder(templateName); Token t; blockStack.push(subdirectives); if (jj_2_23(2147483647)) { jj_consume_token(LBRACE); EatWsNlIfNl(block); label_13: while (true) { ... | |
if (jj_3R_44()) { jj_scanpos = xsp; | final private boolean jj_3R_23() { Token xsp; xsp = jj_scanpos; if (jj_3R_44()) { jj_scanpos = xsp; if (jj_3R_45()) { jj_scanpos = xsp; if (jj_3R_46()) { jj_scanpos = xsp; if (jj_3R_47()) { jj_scanpos = xsp; if (jj_3R_48()) { jj_scanpos = xsp; if (jj_3R_49()) { jj_scanpos = x... | |
if (jj_3R_54()) return true; | if (jj_3R_54()) { jj_scanpos = xsp; if (jj_3R_55()) return true; | final private boolean jj_3R_23() { Token xsp; xsp = jj_scanpos; if (jj_3R_44()) { jj_scanpos = xsp; if (jj_3R_45()) { jj_scanpos = xsp; if (jj_3R_46()) { jj_scanpos = xsp; if (jj_3R_47()) { jj_scanpos = xsp; if (jj_3R_48()) { jj_scanpos = xsp; if (jj_3R_49()) { jj_scanpos = x... |
if (jj_3R_55()) { jj_scanpos = xsp; | final private boolean jj_3R_30() { Token xsp; xsp = jj_scanpos; if (jj_3R_55()) { jj_scanpos = xsp; if (jj_3R_56()) { jj_scanpos = xsp; if (jj_3R_57()) { jj_scanpos = xsp; if (jj_3R_58()) { jj_scanpos = xsp; if (jj_3R_59()) { jj_scanpos = xsp; if (jj_3R_60()) { jj_scanpos = x... | |
if (jj_3R_61()) return true; | if (jj_3R_61()) { jj_scanpos = xsp; if (jj_3R_62()) return true; | final private boolean jj_3R_30() { Token xsp; xsp = jj_scanpos; if (jj_3R_55()) { jj_scanpos = xsp; if (jj_3R_56()) { jj_scanpos = xsp; if (jj_3R_57()) { jj_scanpos = xsp; if (jj_3R_58()) { jj_scanpos = xsp; if (jj_3R_59()) { jj_scanpos = xsp; if (jj_3R_60()) { jj_scanpos = x... |
if (jj_3R_62()) return true; | if (jj_3R_63()) return true; | final private boolean jj_3R_41() { if (jj_3R_62()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
Token xsp; xsp = jj_scanpos; if (jj_3R_63()) { jj_scanpos = xsp; if (jj_3R_64()) return true; | if (jj_scan_token(0)) return true; | final private boolean jj_3R_42() { Token xsp; xsp = jj_scanpos; if (jj_3R_63()) { jj_scanpos = xsp; if (jj_3R_64()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_42() { Token xsp; xsp = jj_scanpos; if (jj_3R_63()) { jj_scanpos = xsp; if (jj_3R_64()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_43() { if (jj_3R_65()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | |
if (jj_scan_token(LPAREN)) return true; | if (jj_3R_67()) return true; | final private boolean jj_3R_45() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_3R_67()) return true; | if (jj_scan_token(LPAREN)) return true; | final private boolean jj_3R_46() { if (jj_3R_67()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(NULL)) return true; | if (jj_3R_69()) return true; | final private boolean jj_3R_48() { if (jj_scan_token(NULL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(TRUE)) return true; | if (jj_scan_token(NULL)) return true; | final private boolean jj_3R_49() { if (jj_scan_token(TRUE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(FALSE)) return true; | if (jj_scan_token(TRUE)) return true; | final private boolean jj_3R_50() { if (jj_scan_token(FALSE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(UNDEFINED)) return true; | if (jj_scan_token(FALSE)) return true; | final private boolean jj_3R_51() { if (jj_scan_token(UNDEFINED)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_NOT)) return true; | if (jj_scan_token(UNDEFINED)) return true; | final private boolean jj_3R_52() { if (jj_scan_token(OP_NOT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(NUMBER)) return true; | if (jj_scan_token(OP_NOT)) return true; | final private boolean jj_3R_53() { if (jj_scan_token(NUMBER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_MINUS)) return true; | if (jj_scan_token(NUMBER)) return true; | final private boolean jj_3R_54() { if (jj_scan_token(OP_MINUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_EQ)) return true; | if (jj_scan_token(OP_MINUS)) return true; | final private boolean jj_3R_55() { if (jj_scan_token(OP_EQ)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_SET)) return true; | if (jj_scan_token(OP_EQ)) return true; | final private boolean jj_3R_56() { if (jj_scan_token(OP_SET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_NE)) return true; | if (jj_scan_token(OP_SET)) return true; | final private boolean jj_3R_57() { if (jj_scan_token(OP_NE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_GT)) return true; | if (jj_scan_token(OP_NE)) return true; | final private boolean jj_3R_58() { if (jj_scan_token(OP_GT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_GE)) return true; | if (jj_scan_token(OP_GT)) return true; | final private boolean jj_3R_59() { if (jj_scan_token(OP_GE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_LE)) return true; | if (jj_scan_token(OP_GE)) return true; | final private boolean jj_3R_60() { if (jj_scan_token(OP_LE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(OP_LT)) return true; | if (jj_scan_token(OP_LE)) return true; | final private boolean jj_3R_61() { if (jj_scan_token(OP_LT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
Token xsp; xsp = jj_scanpos; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) { jj_scanpos = xsp; if (jj_3R_71()) { jj_scanpos = xsp; if (jj_3R_72()) { jj_scanpos = xsp; if (jj_3R_73()) return true; | if (jj_scan_token(OP_LT)) return true; | final private boolean jj_3R_62() { Token xsp; xsp = jj_scanpos; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) { jj_scanpos = xsp; if (jj_3R_71()) { jj_scanpos = xsp; if (jj_3R_72()) { jj_scanpos = xsp; if (jj_3R_73()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) r... |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_62() { Token xsp; xsp = jj_scanpos; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) { jj_scanpos = xsp; if (jj_3R_71()) { jj_scanpos = xsp; if (jj_3R_72()) { jj_scanpos = xsp; if (jj_3R_73()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) r... | |
if (jj_scan_token(LBRACE)) return true; | Token xsp; xsp = jj_scanpos; if (jj_3R_70()) { jj_scanpos = xsp; if (jj_3R_71()) { jj_scanpos = xsp; if (jj_3R_72()) { jj_scanpos = xsp; if (jj_3R_73()) { jj_scanpos = xsp; if (jj_3R_74()) return true; | final private boolean jj_3R_63() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_63() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | |
if (jj_scan_token(RBRACE)) return true; | if (jj_scan_token(LBRACE)) return true; | final private boolean jj_3R_64() { if (jj_scan_token(RBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(POUND)) return true; | if (jj_scan_token(RBRACE)) return true; | final private boolean jj_3R_65() { if (jj_scan_token(POUND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(DOLLAR)) return true; | if (jj_scan_token(POUND)) return true; | final private boolean jj_3R_66() { if (jj_scan_token(DOLLAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
Token xsp; xsp = jj_scanpos; if (jj_3R_74()) { jj_scanpos = xsp; if (jj_3R_75()) return true; | if (jj_scan_token(DOLLAR)) return true; | final private boolean jj_3R_67() { Token xsp; xsp = jj_scanpos; if (jj_3R_74()) { jj_scanpos = xsp; if (jj_3R_75()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_67() { Token xsp; xsp = jj_scanpos; if (jj_3R_74()) { jj_scanpos = xsp; if (jj_3R_75()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | |
if (jj_scan_token(LBRACKET)) return true; | Token xsp; xsp = jj_scanpos; if (jj_3R_75()) { jj_scanpos = xsp; if (jj_3R_76()) return true; | final private boolean jj_3R_68() { if (jj_scan_token(LBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; | final private boolean jj_3R_68() { if (jj_scan_token(LBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } | |
if (jj_scan_token(STUFF)) return true; | if (jj_scan_token(LBRACKET)) return true; | final private boolean jj_3R_69() { if (jj_scan_token(STUFF)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
if (jj_scan_token(QCHAR)) return true; | if (jj_scan_token(STUFF)) return true; | final private boolean jj_3R_70() { if (jj_scan_token(QCHAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.