bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,815 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,816 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,817 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,818 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,819 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,820 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,821 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,822 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,823 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,824 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,825 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,826 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,827 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,828 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,829 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,830 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,831 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,832 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,833 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,834 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,835 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,836 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,837 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,838 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,839 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,840 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,841 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,842 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,843 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,844 |
private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | private void parse(final URL url) throws IOException { logger.log (Component.POLICY, "reading policy file from {0}", url); final StreamTokenizer in = new StreamTokenizer(new InputStreamReader(url.openStream())); in.resetSyntax(); in.slashSlashComments(true); in.slashStarComments(true); ... | 52,845 |
public Object run() throws Exception { String allow = Security.getProperty ("policy.allowSystemProperty"); if (allow == null || Boolean.getBoolean (allow)) { String s = SystemProperties.getProperty ("java.security.policy"); ... | public Object run() throws Exception { String allow = Security.getProperty ("policy.allowSystemProperty"); if (allow == null || Boolean.getBoolean (allow)) { String s = SystemProperties.getProperty ("java.security.policy"); ... | 52,846 |
public String toString() { return super.toString() + " [ " + cs2pc.toString() + " ]"; } | public String toString() { return super.toString() + " [ " + cs2pc.toString() + " ]"; } | 52,847 |
public Object invoke(InvocationRequest invocation) throws Throwable { log.info("Received request"); ServerRequest request = (ServerRequest)invocation.getParameter(); return request.execute(); } | public Object invoke(InvocationRequest invocation) throws Throwable { log.trace("Received request"); ServerRequest request = (ServerRequest)invocation.getParameter(); return request.execute(); } | 52,848 |
public ConfigConditionDescriptor getResultCondition(String name) { if(name == null) { return null; } for(int i = 0; i < joinList.size(); i++) { ConfigConditionDescriptor result = (ConfigConditionDescriptor)resultList.get(i); if(name.equals(result.getName())) { return result;... | public ConfigConditionDescriptor getResultCondition(String name) { if(name == null) { return null; } for(int i = 0; i < resultList.size(); i++) { ConfigConditionDescriptor result = (ConfigConditionDescriptor)resultList.get(i); if(name.equals(result.getName())) { return resul... | 52,849 |
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { // build the invocation long hash = MethodHashing.calculateHash(method); MethodJoinPoint info = new MethodJoinPoint(); info.hash = hash; info.advisedMethod = method; info.unadvisedMethod = method; ... | public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { // build the invocation long hash = MethodHashing.calculateHash(method); MethodJoinPoint info = new MethodJoinPoint(); info.hash = hash; info.advisedMethod = method; info.unadvisedMethod = method; ... | 52,850 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if ("createConnectionDelegate".equals(methodName)) { if (log... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if ("createConnectionDelegate".equals(methodName)) { if (log... | 52,851 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if ("createConnectionDelegate".equals(methodName)) { if (log... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if ("createConnectionDelegate".equals(methodName)) { if (log... | 52,852 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if ("createConnectionDelegate".equals(methodName)) { if (log... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if ("createConnectionDelegate".equals(methodName)) { if (log... | 52,853 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if ("createConnectionDelegate".equals(methodName)) { if (log... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if ("createConnectionDelegate".equals(methodName)) { if (log... | 52,854 |
public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if ("createConnectionDelegate".equals(methodName)) { if (log... | public Object invoke(Invocation invocation) throws Throwable { if (invocation instanceof MethodInvocation) { MethodInvocation mi = (MethodInvocation)invocation; String methodName = mi.getMethod().getName(); if ("createConnectionDelegate".equals(methodName)) { if (log... | 52,855 |
public QueueConnection createQueueConnection() throws JMSException { return (QueueConnection)createConnection(null, null); } | public QueueConnection createQueueConnection() throws JMSException { return createQueueConnection(null, null); } | 52,856 |
public TopicConnection createTopicConnection() throws JMSException { return (TopicConnection)createConnection(null, null); } | public TopicConnection createTopicConnection() throws JMSException { return createTopicConnection(null, null); } | 52,857 |
public XAQueueConnection createXAQueueConnection() throws JMSException { return (XAQueueConnection)createXAConnection(null, null); } | public XAQueueConnection createXAQueueConnection() throws JMSException { return createXAQueueConnection(null, null); } | 52,858 |
public XATopicConnection createXATopicConnection() throws JMSException { return (XATopicConnection)createXAConnection(null, null); } | public XATopicConnection createXATopicConnection() throws JMSException { return createXATopicConnection(null, null); } | 52,859 |
public static void replaceUIActionMap(JComponent component, ActionMap uiActionMap) { ActionMap child = component.getActionMap(); if (child == null) component.setActionMap(uiActionMap); else { ActionMap parent = child.getParent(); while(parent !... | public static void replaceUIActionMap(JComponent component, ActionMap uiActionMap) { ActionMap child = component.getActionMap(); if (child == null) component.setActionMap(uiActionMap); else { ActionMap parent = child.getParent(); while (parent ... | 52,861 |
public static void replaceUIActionMap(JComponent component, ActionMap uiActionMap) { ActionMap child = component.getActionMap(); if (child == null) component.setActionMap(uiActionMap); else { ActionMap parent = child.getParent(); while(parent !... | public static void replaceUIActionMap(JComponent component, ActionMap uiActionMap) { ActionMap child = component.getActionMap(); if (child == null) component.setActionMap(uiActionMap); else { ActionMap parent = child.getParent(); while(parent !... | 52,862 |
public static void replaceUIInputMap(JComponent component, int condition, InputMap uiInputMap) { InputMap child = component.getInputMap(condition); if (child == null) component.setInputMap(condition, uiInputMap); else { ... | public static void replaceUIInputMap(JComponent component, int condition, InputMap uiInputMap) { InputMap child = component.getInputMap(condition); if (child == null) component.setInputMap(condition, uiInputMap); else { ... | 52,863 |
protected String paramString() { return "JSplitPane"; } | protected String paramString() { String superParamStr = ""; StringBuffer sb = new StringBuffer(); sb.append(",continuousLayout=").append(isContinuousLayout()); sb.append(",dividerSize=").append(getDividerSize()); sb.append(",lastDividerLocation=").append(getLastDividerLocation()); sb.append(",oneTouchExpandable=... | 52,864 |
public ConnectionDelegate createConnectionDelegate(String username, String password, String clientConnectionID) throws JMSException { throw new IllegalStateException("This invocation should not be handled here!"); } | public ConnectionDelegate createConnectionDelegate(String username, String password) throws JMSException { throw new IllegalStateException("This invocation should not be handled here!"); } | 52,866 |
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | 52,867 |
public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, ... | public Object invoke(Invocation invocation) throws Throwable { if (log.isTraceEnabled()) { log.trace("invoking " + ((MethodInvocation)invocation).getMethod().getName() + " on server"); } invocation.getMetaData().addMetaData(Dispatcher.DISPATCHER, Dispatcher.OID, new Integer(id), PayloadKey.AS_IS); St... | 52,868 |
public void writeXML(PrintWriter out, int indent) { ConditionsDescriptor conditions = getConditionsDescriptor(); List list = conditions.getConditions(); if (list.size() == 0) { return; } XMLUtil.printIndent(out, indent++); out.println("<restrict-to>"); con... | public void writeXML(PrintWriter out, int indent) { ConditionsDescriptor conditions = getConditionsDescriptor(); List list = conditions.getConditions(); if (list.size() == 0) { return; } XMLUtil.printIndent(out, indent++); out.println("<restrict-to>"); con... | 52,869 |
protected void init() { deques = new DoubleLinkedDeque[priorities]; for (int i = 0; i < priorities; i++) { deques[i] = new DoubleLinkedDeque(); } lookUp = new HashMap(); } | protected void init() { deques = new DoubleLinkedDeque[priorities]; for (int i = 0; i < priorities; i++) { deques[i] = new DoubleLinkedDeque(); } } | 52,871 |
public Message createMessage() throws JMSException { throw new JMSException("We don't create messages on the server"); } | public Message createMessage() throws JBossJMSException { throw new JMSException("We don't create messages on the server"); } | 52,872 |
public Message createMessage() throws JMSException { throw new JMSException("We don't create messages on the server"); } | public Message createMessage() throws JMSException { throw new JBossJMSException("We don't create messages on the server"); } | 52,873 |
public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JBossJMSException { // look-up destination DestinationManager dm = serverPeer.getDestinationManager(); AbstractDestination destination = null; try { destination = dm.getDestination(jmsDestinat... | public ProducerDelegate createProducerDelegate(Destination jmsDestination) throws JBossJMSException { // look-up destination DestinationManager dm = serverPeer.getDestinationManager(); AbstractDestination destination = null; try { destination = dm.getDestination(jmsDestinat... | 52,874 |
public Class getCategory() { return PrintQuality.class; } | public final Class getCategory() { return PrintQuality.class; } | 52,875 |
public String getName() { return "print-quality"; } | public final String getName() { return "print-quality"; } | 52,876 |
protected List sendMessages(String condition, boolean persistent, PostOffice office, int num, Transaction tx) throws Exception { List list = new ArrayList(); for (int i = 0; i < num; i++) { Message msg = CoreMessageFactory.createCoreMessage(msgCount++, persistent, null); ... | protected List sendMessages(String condition, boolean persistent, PostOffice office, int num, Transaction tx) throws Exception { List list = new ArrayList(); for (int i = 0; i < num; i++) { Message msg = CoreMessageFactory.createCoreMessage(msgCount++, persistent, null); ... | 52,877 |
public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.... | public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, false, true, 100); pm... | 52,878 |
public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.... | public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.... | 52,879 |
public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.... | public void setUp() throws Exception { super.setUp(); sc = new ServiceContainer("all"); sc.start(); pm = new JDBCPersistenceManager(sc.getDataSource(), sc.getTransactionManager(), null, true, true, true, 100); pm.... | 52,880 |
public void addValue(String fieldName, String value) { try { writer.write(value); writer.write(","); } catch (IOException e) { log.error("Failed to write field", e); } } | public void addValue(String fieldName, String value) { try { if (value != null) { writer.write(value); } writer.write(","); } catch (IOException e) { log.error("Failed to write field", e); } } | 52,882 |
public void tearDown() throws Exception { //ServerManagement.deInit(); super.tearDown(); } | public void tearDown() throws Exception { //ServerManagement.deInit(); super.tearDown(); } | 52,883 |
public Style(CalculatedStyle calculatedStyle, float parentWidth, CssContext cssContext) { this.calculatedStyle = calculatedStyle; this.parentWidth = parentWidth; } | public Style(CalculatedStyle calculatedStyle, float parentWidth, CssContext cssContext) { this.calculatedStyle = calculatedStyle; this.parentWidth = parentWidth; } | 52,884 |
public RectPropertySet getMarginWidth(CssContext cssContext) { RectPropertySet rect = calculatedStyle.getMarginRect(parentWidth, parentWidth, cssContext).copyOf(); // TODO: this is bad for cached rects... if (this.marginTopOverrideSet) { rect.setTop((int) this.marginTopOverride); ... | public RectPropertySet getMarginWidth(CssContext cssContext) { RectPropertySet rect = calculatedStyle.getMarginRect(parentWidth, parentWidth, cssContext).copyOf(); // TODO: this is bad for cached rects... if (this.marginTopOverrideSet) { rect.setTop((int) this.marginTopOverride); ... | 52,885 |
public void execute() throws BuildException { Ivy ivy = getIvyInstance(); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = ivy.getDefaultCache(); } _conf... | public void execute() throws BuildException { Ivy ivy = getIvyInstance(); _organisation = getProperty(_organisation, ivy, "ivy.organisation"); _module = getProperty(_module, ivy, "ivy.module"); if (_cache == null) { _cache = ivy.getDefaultCache(); } _conf... | 52,886 |
private void gengraph(Ivy ivy, File cache, String organisation, String module, String conf) throws IOException { // process the report with xslt to generate graphml XSLTProcess xslt = new XSLTProcess(); xslt.setTaskName(getTaskName()); xslt.setProject(getProject()); xslt.s... | private void gengraph(Ivy ivy, File cache, String organisation, String module, String conf) throws IOException { // process the report with xslt to generate graphml XSLTProcess xslt = new XSLTProcess(); xslt.setTaskName(getTaskName()); xslt.setProject(getProject()); xslt.s... | 52,887 |
public static Font getFont(Context c) { CalculatedStyle style = c.getCurrentStyle(); // CalculatedStyle should take care of all iheritance and default values // if a change is made to the basic font (by user action, for example), restyle /*CHECK: do we need this? Font f = c.getGra... | public static Font getFont(Context c) { CalculatedStyle style = c.getCurrentStyle(); // CalculatedStyle should take care of all iheritance and default values // if a change is made to the basic font (by user action, for example), restyle /*CHECK: do we need this? Font f = c.getGra... | 52,888 |
public static PropertyDeclarationFactory newFactory( CSSName cssName ) { PropertyDeclarationFactory pdf = PROPERTY_FACTORIES[cssName.getAssignedID()]; if ( pdf == null ) { pdf = DEFAULT_PD_FACTORY; } return pdf; } | public static PropertyDeclarationFactory newFactory( CSSName cssName ) { PropertyDeclarationFactory pdf = PROPERTY_FACTORIES[cssName.getAssignedID()]; if ( pdf == null ) { pdf = DEFAULT_PD_FACTORY; } return pdf; } | 52,890 |
private void startRemoting(boolean multiplex) throws Exception { RemotingJMXWrapper mbean; String params = "/?datatype=invocation&" + "marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&" + "unmarshaller=org.jboss.invocation.unified.marsh... | private void startRemoting(boolean multiplex) throws Exception { RemotingJMXWrapper mbean; String params = "/?datatype=invocation&" + "marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&" + "unmarshaller=org.jboss.invocation.unified.marsh... | 52,892 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | 52,893 |
public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | public Object handleSend(Invocation invocation) throws Throwable { MethodInvocation mi = (MethodInvocation)invocation; Object[] args = mi.getArguments(); Destination destination = (Destination)args[0]; Message m = (Message)args[1]; int deliveryMode = ((Integer)args[2]).intValu... | 52,894 |
public JBossConnectionConsumer(ConnectionDelegate conn, Destination dest, String subName, String messageSelector, ServerSessionPool sessPool, int maxMessages) throws JMSException { trace = log.isTraceEnabled(); //this.connection = c... | public JBossConnectionConsumer(ConnectionDelegate conn, Destination dest, String subName, String messageSelector, ServerSessionPool sessPool, int maxMessages) throws JMSException { trace = log.isTraceEnabled(); //this.connection = c... | 52,895 |
public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | 52,896 |
public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | 52,897 |
public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | 52,898 |
public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | 52,899 |
public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | public void close() throws JMSException { try { synchronized (mainLock) { if (closed) { return; } closing = true; //We wait for any activation in progress to complete and the resulting message ... | 52,900 |
public MessageReference copy() { return new SimpleMessageReference(this); } | public MessageReference copy() { SimpleMessageReference ref = new SimpleMessageReference(this); ref.holder.incrementInMemoryChannelCount(); return ref; } | 52,902 |
public static void layoutContent(final LayoutContext c, final Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); Boxing.StyleSetList... | public static void layoutContent(final LayoutContext c, final Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); Boxing.StyleSetList... | 52,903 |
public static void layoutContent(final LayoutContext c, final Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); Boxing.StyleSetList... | public static void layoutContent(final LayoutContext c, final Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); Boxing.StyleSetList... | 52,904 |
public static void layoutContent(final LayoutContext c, final Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); Boxing.StyleSetList... | public static void layoutContent(final LayoutContext c, final Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); Boxing.StyleSetList... | 52,905 |
public static void layoutContent(final LayoutContext c, final Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); Boxing.StyleSetList... | public static void layoutContent(final LayoutContext c, final Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); Boxing.StyleSetList... | 52,906 |
public static void layoutContent(final LayoutContext c, final Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); Boxing.StyleSetList... | public static void layoutContent(final LayoutContext c, final Box box, List contentList, Box block) { // prepare for the list items int old_counter = c.getListCounter(); c.setListCounter(0); Iterator contentIterator = contentList.iterator(); Boxing.StyleSetList... | 52,907 |
public XHTMLPanel() { fontScalingFactor = 1.2F; minFontScale = 0.50F; maxFontScale = 3.0F; setupListeners(); } | public XHTMLPanel() { fontScalingFactor = 1.2F; minFontScale = 0.50F; maxFontScale = 3.0F; setupListeners(); } | 52,908 |
public void incrementFontSize() { System.out.println("font scaling factor = " + fontScalingFactor); scaleFont(fontScalingFactor); } | public void incrementFontSize() { scaleFont(fontScalingFactor); } | 52,909 |
public void resetFontSize() { System.out.println("factor = " + fontScalingFactor); RenderingContext rc = getRenderingContext(); rc.getTextRenderer().setFontScale(1.0F); System.out.println("reset to " + rc.getTextRenderer().getFontScale()); relayout(); repaint(); } | public void resetFontSize() { RenderingContext rc = getRenderingContext(); rc.getTextRenderer().setFontScale(1.0F); System.out.println("reset to " + rc.getTextRenderer().getFontScale()); relayout(); repaint(); } | 52,910 |
public void resetFontSize() { System.out.println("factor = " + fontScalingFactor); RenderingContext rc = getRenderingContext(); rc.getTextRenderer().setFontScale(1.0F); System.out.println("reset to " + rc.getTextRenderer().getFontScale()); relayout(); repaint(); } | public void resetFontSize() { System.out.println("factor = " + fontScalingFactor); RenderingContext rc = getRenderingContext(); rc.getTextRenderer().setFontScale(1.0F); relayout(); repaint(); } | 52,911 |
private void scaleFont(float scaleBy) { System.out.println("scaling to: " + scaleBy); RenderingContext rc = getRenderingContext(); float fs = rc.getTextRenderer().getFontScale() * scaleBy; if ( fs < minFontScale || fs > maxFontScale ) return; rc.getTextRenderer().setFontScale(fs); ... | private void scaleFont(float scaleBy) { RenderingContext rc = getRenderingContext(); float fs = rc.getTextRenderer().getFontScale() * scaleBy; if ( fs < minFontScale || fs > maxFontScale ) return; rc.getTextRenderer().setFontScale(fs); relayout(); repaint(); } | 52,912 |
public void setFontScalingFactor(float scaling) { fontScalingFactor = scaling; System.out.println("now set to factor = " + fontScalingFactor); } | public void setFontScalingFactor(float scaling) { fontScalingFactor = scaling; } | 52,913 |
public static boolean isNotInFlow(Object target) { return target instanceof AbsolutelyPositionedContent || target instanceof FloatedBlockContent; } | public static boolean isNotInFlow(Object target) { return target instanceof AbsolutelyPositionedContent || target instanceof FloatedBlockContent; } | 52,915 |
public void doRender() { /* //u.p("graphics clip = " + g.getClip()); if(enclosingScrollPane != null) { //u.p("this = " + this); //u.p("viewport = " + enclosingScrollPane.getViewportBorderBounds()); Graphics g = getRenderingContext().getContext().getGraphics(); ... | public void doRender() { /* //u.p("graphics clip = " + g.getClip()); if(enclosingScrollPane != null) { //u.p("this = " + this); //u.p("viewport = " + enclosingScrollPane.getViewportBorderBounds()); Graphics g = getRenderingContext().getContext().getGraphics(); ... | 52,916 |
static List resolveBlockContent(List pendingInlines, Element parentElement, Context c) { //return new LinkedList(pendingInlines);//pendingInlines.clone(); List inline = new LinkedList(); List block = new LinkedList(); for (Iterator i = pendingInlines.iterator(); i.hasNext();) { ... | static List resolveBlockContent(List pendingInlines, Element parentElement, Context c) { //return new LinkedList(pendingInlines);//pendingInlines.clone(); List inline = new LinkedList(); List block = new LinkedList(); for (Iterator i = pendingInlines.iterator(); i.hasNext();) { ... | 52,919 |
public void processJoinChangeEvent(JoinCell cell) { JoinDescriptor join = cell.getJoinDescriptor(); List list = join.getConditions(); for(int i = 0; i < list.size(); i++) { ConditionDescriptor cond = (ConditionDescriptor)list.get(i); if(cond.getType().equals("class")) { String clazz... | public void processJoinChangeEvent(JoinCell cell) { JoinDescriptor join = cell.getJoinDescriptor(); List list = ((ConditionsDescriptor)join.getConditions().get(0)).getConditions(); for(int i = 0; i < list.size(); i++) { ConditionDescriptor cond = (ConditionDescriptor)list.get(i); if(cond.getTyp... | 52,920 |
public InlineBox createInline(Context c, Node node, String text, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.setNode(node); CalculatedStyle style = c.css.getStyle(node); inline.whitespace = getWhitespace(style); ... | public static InlineBox createInline(Context c, TextContent content, InlineBox prev, InlineBox prev_align, int avail, int max, Font font, CascadedStyle firstLineStyle) { InlineBox inline = new InlineBox(); inline.setNode(node); CalculatedStyle style = c.css.getStyle(node); inline.whitesp... | 52,921 |
public InlineBox createInline(Context c, Node node, String text, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.setNode(node); CalculatedStyle style = c.css.getStyle(node); inline.whitespace = getWhitespace(style); ... | public InlineBox createInline(Context c, Node node, String text, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.setNode(node); CalculatedStyle style = c.css.getStyle(node); inline.whitespace = getWhitespace(style); ... | 52,922 |
public InlineBox createInline(Context c, Node node, String text, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.setNode(node); CalculatedStyle style = c.css.getStyle(node); inline.whitespace = getWhitespace(style); ... | public InlineBox createInline(Context c, Node node, String text, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.setNode(node); CalculatedStyle style = c.css.getStyle(node); inline.whitespace = getWhitespace(style); ... | 52,923 |
public InlineBox createInline(Context c, Node node, String text, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.setNode(node); CalculatedStyle style = c.css.getStyle(node); inline.whitespace = getWhitespace(style); ... | public InlineBox createInline(Context c, Node node, String text, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) { InlineBox inline = new InlineBox(); inline.setNode(node); CalculatedStyle style = c.css.getStyle(node); inline.whitespace = getWhitespace(style); ... | 52,924 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.