bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public static ObjectName getServerPeerObjectName() throws Exception { insureStarted(); return servers[0].getServerPeerObjectName(); } | public static ObjectName getServerPeerObjectName() throws Exception { insureStarted(); return servers[0].getServer().getServerPeerObjectName(); } | 31,962 |
public static UserTransaction getUserTransaction() throws Exception { insureStarted(); return servers[0].getUserTransaction(); } | public static UserTransaction getUserTransaction() throws Exception { insureStarted(); return servers[0].getServer().getUserTransaction(); } | 31,963 |
public static Object invoke(ObjectName on, String operationName, Object[] params, String[] signature) throws Exception { insureStarted(); return servers[0].invoke(on, operationName, params, signature); } | public static Object invoke(ObjectName on, String operationName, Object[] params, String[] signature) throws Exception { insureStarted(); return servers[0].getServer().invoke(on, operationName, params, signature); } | 31,964 |
public static boolean isServerPeerStarted() throws Exception { insureStarted(); return servers[0].isServerPeerStarted(); } | public static boolean isServerPeerStarted() throws Exception { insureStarted(); return servers[0].getServer().isServerPeerStarted(); } | 31,965 |
public static synchronized boolean isStarted(int index) { Server s = servers[index]; if (s == null) { return false; } try { return s.isStarted(); } catch(Exception e) { return false; } } | public static synchronized boolean isStarted(int i) { Server s = servers[index]; if (s == null) { return false; } try { return s.isStarted(); } catch(Exception e) { return false; } } | 31,966 |
public static synchronized boolean isStarted(int index) { Server s = servers[index]; if (s == null) { return false; } try { return s.isStarted(); } catch(Exception e) { return false; } } | public static synchronized boolean isStarted(int index) { Server s = servers[index]; if (s == null) { return false; } try { return s.isStarted(); } catch(Exception e) { return false; } } | 31,967 |
public static synchronized boolean isStarted(int index) { Server s = servers[index]; if (s == null) { return false; } try { return s.isStarted(); } catch(Exception e) { return false; } } | public static synchronized boolean isStarted(int index) { Server s = servers[index]; if (s == null) { return false; } try { return servers[i].getServer().isStarted(); } catch(Exception e) { return false; } } | 31,968 |
public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | public static synchronized void kill(int i) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = null; ... | 31,969 |
public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | public static synchronized void kill(int index) throws Exception { if (servers[i] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = null; ... | 31,970 |
public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | 31,971 |
public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | public static synchronized void kill(int index) throws Exception { if (servers[index] == null) { log.warn("Server " + index + " has not been created, so it cannot be killed"); return; } servers[index].kill(); log.info("Server " + index + " killed"); servers[index] = nu... | 31,972 |
public static Set query(ObjectName pattern) throws Exception { insureStarted(); return servers[0].query(pattern); } | public static Set query(ObjectName pattern) throws Exception { insureStarted(); return servers[0].getServer().query(pattern); } | 31,973 |
public static void removeNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot removeNotificationListener it has been killed"); ... | public static void removeNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot removeNotificationListener it has been killed"); ... | 31,974 |
public static void removeNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot removeNotificationListener it has been killed"); ... | public static void removeNotificationListener(int serverIndex, ObjectName on, NotificationListener listener) throws Exception { if (killed[serverIndex]) { log.warn("Server " + serverIndex + " cannot removeNotificationListener it has been killed"); ... | 31,975 |
public static void removeServerInvocationHandler(String subsystem) throws Exception { insureStarted(); servers[0].removeServerInvocationHandler(subsystem); } | public static void removeServerInvocationHandler(String subsystem) throws Exception { insureStarted(); servers[0].getServer().removeServerInvocationHandler(subsystem); } | 31,976 |
public static void setAttribute(ObjectName on, String name, String valueAsString) throws Exception { insureStarted(); servers[0].setAttribute(on, name, valueAsString); } | public static void setAttribute(ObjectName on, String name, String valueAsString) throws Exception { insureStarted(); servers[0].getServer().setAttribute(on, name, valueAsString); } | 31,977 |
public static void setDefaultSecurityConfig(String config) throws Exception { insureStarted(); servers[0].setDefaultSecurityConfig(config); } | public static void setDefaultSecurityConfig(String config) throws Exception { insureStarted(); servers[0].getServer().setDefaultSecurityConfig(config); } | 31,978 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | private static synchronized Server spawn(final int i) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquir... | 31,979 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if(isLocal()) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemote(3, index) !... | 31,980 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { return null; } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemote(3, index) != null) { throw new Exception("The ... | 31,981 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 31,982 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 31,983 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 31,984 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 31,985 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 31,986 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 31,988 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 31,989 |
public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | public static synchronized void spawn(int index) throws Exception { if (servers[index] != null) { throw new Exception("The server " + index + " has been created already!"); } // in the remote case, make sure the VM with the given index isn't already up if (isRemote() && acquireRemo... | 31,990 |
public static synchronized void start(String config) throws Exception { start(config, 0); } | public static synchronized void start(String config) throws Exception { start(0, config); } | 31,991 |
public static void stopServerPeer() throws Exception { insureStarted(); servers[0].stopServerPeer(); } | public static void stopServerPeer() throws Exception { insureStarted(); servers[0].getServer().stopServerPeer(); } | 31,992 |
public static void undeploy(ObjectName on) throws Exception { insureStarted(); servers[0].undeploy(on); } | public static void undeploy(ObjectName on) throws Exception { insureStarted(); servers[0].getServer().undeploy(on); } | 31,993 |
public static void undeployConnectionFactory(ObjectName objectName) throws Exception { servers[0].undeployConnectionFactory(objectName); } | public static void undeployConnectionFactory(ObjectName objectName) throws Exception { servers[0].getServer().undeployConnectionFactory(objectName); } | 31,994 |
private static void undeployDestination(boolean isQueue, String name) throws Exception { insureStarted(); servers[0].undeployDestination(isQueue, name); } | private static void undeployDestination(boolean isQueue, String name) throws Exception { insureStarted(); servers[0].getServer().undeployDestination(isQueue, name); } | 31,995 |
public void paintInline(RenderingContext c) { if (getStyle().isHidden()) { return; } getContainingLayer().paintAsLayer(c, this); } | public void paintInline(RenderingContext c) { if (! getStyle().isVisible()) { return; } getContainingLayer().paintAsLayer(c, this); } | 31,996 |
public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | public ConsumerDelegate createConsumerDelegate(JBossDestination jmsDestination, String selector, boolean noLocal, String subscriptionName, ... | 31,997 |
public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args) { String workflowname = "unknown"; long workflow_id = -1; if (entry != null) { workflowname = entry.getWorkflowName(); workflow_id = entry.getId(); } boolean groupByInstanc... | public Object registerVariable(WorkflowContext context, WorkflowEntry entry, Map args, PropertySet ps) { String workflowname = "unknown"; long workflow_id = -1; if (entry != null) { workflowname = entry.getWorkflowName(); workflow_id = entry.getId(); } boolea... | 31,998 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isRemote()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 seconds .... | 31,999 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in remote mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 seconds .... | 32,000 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } try { ServerManagement.start(1, "all"); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 ... | 32,001 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die Thread.sleep(10000); ... | 32,002 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | 32,003 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | 32,005 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | 32,006 |
public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | public void testRessurect() throws Exception { if (!ServerManagement.isClustered()) { fail("This test must be run in clustered mode!"); } ServerManagement.start("all", 1); ServerManagement.kill(1); // wait a bit for the server to die log.info("Sleeping for 10 second... | 32,007 |
public void testSimpleSpawn() throws Exception { try { ServerManagement.spawn(7); ServerManagement.start("all", 7); Integer index = (Integer)ServerManagement. getAttribute(7, new ObjectName("jboss.messaging:service=ServerPeer"), "serverPeerID"); assertEquals(7, ... | public void testSimpleSpawn() throws Exception { try { log.info("Waiting for server 7 to start ..."); ServerManagement.start("all", 7); Integer index = (Integer)ServerManagement. getAttribute(7, new ObjectName("jboss.messaging:service=ServerPeer"), "serverPeerID"); ... | 32,008 |
public void testSimpleSpawn() throws Exception { try { ServerManagement.spawn(7); ServerManagement.start("all", 7); Integer index = (Integer)ServerManagement. getAttribute(7, new ObjectName("jboss.messaging:service=ServerPeer"), "serverPeerID"); assertEquals(7, ... | public void testSimpleSpawn() throws Exception { try { ServerManagement.spawn(7); ServerManagement.start(7, "all"); log.info("Server 7 started"); Integer index = (Integer)ServerManagement. getAttribute(7, new ObjectName("jboss.messaging:service=ServerPeer"), "serverPee... | 32,009 |
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | 32,012 |
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | 32,013 |
public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | public void doAction(long id, int actionId, Map inputs) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getWorkflow(entry.getWorkflowName()); List currentSteps = store.findCurrentSteps(id); Actio... | 32,014 |
private void addChainedSelector( net.homelinux.tobe.css.Selector s, Selector selector ) { int axis = 0; SimpleSelector simple = null; switch ( selector.getSelectorType() ) { case Selector.SAC_DIRECT_ADJACENT_SELECTOR: axis = net.homelinux.tobe.css.Selector.IMMEDIATE_SI... | private void addChainedSelector( net.homelinux.tobe.css.Selector s, Selector selector ) { int axis = 0; SimpleSelector simple = null; switch ( selector.getSelectorType() ) { case Selector.SAC_DIRECT_ADJACENT_SELECTOR: axis = net.homelinux.tobe.css.Selector.IMMEDIATE_SI... | 32,016 |
private void addChainedSelector( net.homelinux.tobe.css.Selector s, Selector selector ) { int axis = 0; SimpleSelector simple = null; switch ( selector.getSelectorType() ) { case Selector.SAC_DIRECT_ADJACENT_SELECTOR: axis = net.homelinux.tobe.css.Selector.IMMEDIATE_SI... | private void addChainedSelector( net.homelinux.tobe.css.Selector s, Selector selector ) { int axis = 0; SimpleSelector simple = null; switch ( selector.getSelectorType() ) { case Selector.SAC_DIRECT_ADJACENT_SELECTOR: axis = net.homelinux.tobe.css.Selector.IMMEDIATE_SI... | 32,017 |
protected String paramString() { return "JRadioButtonMenuItem"; } | protected String paramString() { return super.paramString(); } | 32,020 |
public synchronized void startService() throws Exception { try { started = true; if (serviceName != null) { name = serviceName.getKeyProperty("name"); } if (name == null || name.length() == 0) { throw new IllegalStateException( "... | public synchronized void startService() throws Exception { try { started = true; if (serviceName != null) { name = serviceName.getKeyProperty("name"); } if (name == null || name.length() == 0) { throw new IllegalStateException( "... | 32,021 |
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... | 32,022 |
private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i... | private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i... | 32,024 |
private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i... | private void layoutAbsoluteChildren(LayoutContext c) { List children = getChildren(); if (children.size() > 0) { LayoutState state = c.captureLayoutState(); for (int i = 0; i < children.size(); i++) { Layer child = (Layer)children.get(i); if (child.i... | 32,025 |
private void position(LayoutContext c) { if (getMaster().getStyle().isAbsolute() && ! c.isPrint()) { getMaster().positionAbsolute(c); } else if (getMaster().getStyle().isRelative() && isInline()) { getMaster().positionRelative(c); } } | private void position(LayoutContext c) { if (getMaster().getStyle().isAbsolute() && ! c.isPrint()) { ((BlockBox)getMaster()).positionAbsolute(c); } else if (getMaster().getStyle().isRelative() && isInline()) { getMaster().positionRelative(c); } } | 32,026 |
private void positionFixedLayer(RenderingContext c) { Rectangle rect = c.getFixedRectangle(); rect.translate(-1, -1); Box fixed = getMaster(); fixed.x = 0; fixed.y = -rect.y; fixed.setAbsX(0); fixed.setAbsY(0); fixed.setContainingBlock(new ViewportBox(rect)); ... | private void positionFixedLayer(RenderingContext c) { Rectangle rect = c.getFixedRectangle(); rect.translate(-1, -1); Box fixed = getMaster(); fixed.x = 0; fixed.y = 0; fixed.setAbsX(0); fixed.setAbsY(0); fixed.setContainingBlock(new ViewportBox(rect)); ... | 32,027 |
private void positionFixedLayer(RenderingContext c) { Rectangle rect = c.getFixedRectangle(); rect.translate(-1, -1); Box fixed = getMaster(); fixed.x = 0; fixed.y = -rect.y; fixed.setAbsX(0); fixed.setAbsY(0); fixed.setContainingBlock(new ViewportBox(rect)); ... | private void positionFixedLayer(RenderingContext c) { Rectangle rect = c.getFixedRectangle(); rect.translate(-1, -1); Box fixed = getMaster(); fixed.x = 0; fixed.y = -rect.y; fixed.setAbsX(0); fixed.setAbsY(0); fixed.setContainingBlock(new ViewportBox(rect)); ... | 32,028 |
public FontResolverTest() { GraphicsEnvironment gfx = GraphicsEnvironment.getLocalGraphicsEnvironment(); String[] available_fonts = gfx.getAvailableFontFamilyNames(); //u.p("available fonts ="); //u.p(available_fonts); instance_hash = new HashMap(); // preload the f... | public FontResolverTest() { GraphicsEnvironment gfx = GraphicsEnvironment.getLocalGraphicsEnvironment(); String[] available_fonts = gfx.getAvailableFontFamilyNames(); //u.p("available fonts ="); //u.p(available_fonts); instance_hash = new HashMap(); // preload the f... | 32,030 |
public void setUp() throws Exception { if (ServerManagement.isRemote()) { fail("this test is not supposed to run in a remote configuration!"); } super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = ... | public void setUp() throws Exception { if (ServerManagement.isRemote()) { fail("this test is not supposed to run in a remote configuration!"); } super.setUp(); ServerManagement.start("all"); initialContext = new InitialContext(ServerManagement.getJNDIEnvironment()); cf = ... | 32,031 |
public void init() { logger.info("creating UI"); actions = new BrowserActions(this); actions.init(); panel = new BrowserPanel(this, new FrameBrowserPanelListener()); panel.init(); panel.createLayout(); panel.createActions(); menu = new BrowserMenuBar(this); ... | public void init() { logger.info("creating UI"); actions = new BrowserActions(this); actions.init(); panel = new BrowserPanel(this, new FrameBrowserPanelListener()); panel.init(); panel.createLayout(); panel.createActions(); menu = new BrowserMenuBar(this); ... | 32,033 |
public static void main(String[] args) { if (GeneralUtil.isMacOSX()) { try { System.setProperty("apple.laf.useScreenMenuBar", "true"); System.setProperty("com.apple.mrj.application.apple.menu.about.name", "FS Browser"); } catch (Exception ex) { try {... | public static void main(String[] args) { if (GeneralUtil.isMacOSX()) { try { System.setProperty("apple.laf.useScreenMenuBar", "true"); System.setProperty("com.apple.mrj.application.apple.menu.about.name", "FS Browser"); } catch (Exception ex) { try {... | 32,034 |
public EtchedBorder(int etchType) { if ((etchType != RAISED) && (etchType != LOWERED)) throw new IllegalArgumentException(); this.etchType = etchType; /* The highlight and shadow fields already have a null value * when the constructor gets called, so there is no need to * assign a value here. ... | public EtchedBorder() { if ((etchType != RAISED) && (etchType != LOWERED)) throw new IllegalArgumentException(); this.etchType = etchType; /* The highlight and shadow fields already have a null value * when the constructor gets called, so there is no need to * assign a value here. */ } | 32,035 |
public EtchedBorder(int etchType) { if ((etchType != RAISED) && (etchType != LOWERED)) throw new IllegalArgumentException(); this.etchType = etchType; /* The highlight and shadow fields already have a null value * when the constructor gets called, so there is no need to * assign a value here. ... | public EtchedBorder(int etchType) { if ((etchType != RAISED) && (etchType != LOWERED)) throw new IllegalArgumentException(); this.etchType = etchType; /* The highlight and shadow fields already have a null value * when the constructor gets called, so there is no need to * assign a value here. ... | 32,036 |
private static int[] extractLeftTopRelative(Context c) { CalculatedStyle style = c.getCurrentStyle(); int top = 0; int left = 0; int topLeft[] = null; if (style.isIdent(CSSName.POSITION, IdentValue.RELATIVE)) { if (!style.isIdent(CSSName.RIGHT, IdentValue.AUTO)) { ... | private static int[] extractLeftTopRelative(Context c) { CalculatedStyle style = c.getCurrentStyle(); int top = 0; int left = 0; int topLeft[] = null; if (style.isIdent(CSSName.POSITION, IdentValue.RELATIVE)) { if (!style.isIdent(CSSName.RIGHT, IdentValue.AUTO)) { ... | 32,037 |
public static void translateRelative(Context c, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(left, top); ... | public static void translateRelative(Context c, CalculatedStyle activeStyle, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.tr... | 32,038 |
public static void translateRelative(Context c, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(left, top); ... | public static void translateRelative(Context c, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c, activeStyle); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(left, to... | 32,039 |
public static void untranslateRelative(Context c, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(-left, -top); ... | public static void untranslateRelative(Context c, CalculatedStyle activeStyle, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.... | 32,040 |
public static void untranslateRelative(Context c, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(-left, -top); ... | public static void untranslateRelative(Context c, boolean rendering) { int top = 0; int left = 0; int topLeft[] = null; topLeft = extractLeftTopRelative(c, activeStyle); if (topLeft != null) { top = topLeft[0]; left = topLeft[1]; c.translate(-left,... | 32,041 |
public void run() { while ((channel != null) && channel.isOpen()) { try { buf.rewind(); if (channel.read(buf) != 1) { continue; } final byte scancode = buf.get(0); if (interpreter != null) { final PointerEvent event = interpreter.handleScancode(scancode & 0xff); if (event != nu... | public void run() { while ((channel != null) && channel.isOpen()) { try { buf.rewind(); if (channel.read(buf) != 1) { continue; } final byte scancode = buf.get(0); if (interpreter != null) { final PointerEvent event = interpreter.handleScancode(scancode & 0xff); if (event != nu... | 32,042 |
public char[] getPassword() { return new char[0]; // TODO } | public char[] getPassword() { return getText().toCharArray(); // TODO } | 32,044 |
public void testCallback() throws Exception { int consumerID = 12345678; JBossMessage m = new JBossMessage(new GUID().toString()); MessageDelegate del = JBossMessage.createThinDelegate(m, 7); MessageTest.configureMessage(m); Delivery... | public void testCallback() throws Exception { int consumerID = 12345678; JBossMessage m = new JBossMessage(new GUID().toString()); MessageDelegate del = JBossMessage.createThinDelegate(m, 7); MessageTest.configureMessage(m); Delivery... | 32,047 |
void add(Delivery d) throws Throwable; | void add(MessageReference ref, Transaction tx) throws Throwable; | 32,048 |
boolean remove(Delivery d, Transaction tx) throws Throwable; | boolean remove(MessageReference ref) throws Throwable; | 32,049 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 32,050 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 32,051 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 32,052 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 32,053 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 32,054 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 32,055 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 32,056 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 32,057 |
private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | private InlineBox calculateInline(Context c, Node node, int avail, int max_width, LineBox line, InlineBox prev, Element containing_block, InlineBox prev_align) { // calculate the starting index int start = 0; // if this is another box from the same node as t... | 32,058 |
public boolean isEndOfBlock(Context c, Node current_node, InlineBox prev_inline) { // replaced elements aren't split, so done with this one if (LayoutUtil.isReplaced(c, current_node)) {//if(content instanceof ReplacedContent) return true; } if (LayoutUtil.isFloatedBlock(curren... | private boolean isEndOfBlock(InlineBox prev_inline, Content content) { // replaced elements aren't split, so done with this one if (LayoutUtil.isReplaced(c, current_node)) {//if(content instanceof ReplacedContent) return true; } if (LayoutUtil.isFloatedBlock(current_node, c)) ... | 32,059 |
public boolean isEndOfBlock(Context c, Node current_node, InlineBox prev_inline) { // replaced elements aren't split, so done with this one if (LayoutUtil.isReplaced(c, current_node)) {//if(content instanceof ReplacedContent) return true; } if (LayoutUtil.isFloatedBlock(curren... | public boolean isEndOfBlock(Context c, Node current_node, InlineBox prev_inline) { // replaced elements aren't split, so done with this one if (content instanceof ReplacedContent) {//if(content instanceof ReplacedContent) return true; } if (LayoutUtil.isFloatedBlock(current_no... | 32,060 |
public boolean isEndOfBlock(Context c, Node current_node, InlineBox prev_inline) { // replaced elements aren't split, so done with this one if (LayoutUtil.isReplaced(c, current_node)) {//if(content instanceof ReplacedContent) return true; } if (LayoutUtil.isFloatedBlock(curren... | public boolean isEndOfBlock(Context c, Node current_node, InlineBox prev_inline) { // replaced elements aren't split, so done with this one if (LayoutUtil.isReplaced(c, current_node)) {//if(content instanceof ReplacedContent) return true; } if (content instanceof FloatedBlockC... | 32,061 |
public boolean isEndOfBlock(Context c, Node current_node, InlineBox prev_inline) { // replaced elements aren't split, so done with this one if (LayoutUtil.isReplaced(c, current_node)) {//if(content instanceof ReplacedContent) return true; } if (LayoutUtil.isFloatedBlock(curren... | public boolean isEndOfBlock(Context c, Node current_node, InlineBox prev_inline) { // replaced elements aren't split, so done with this one if (LayoutUtil.isReplaced(c, current_node)) {//if(content instanceof ReplacedContent) return true; } if (LayoutUtil.isFloatedBlock(curren... | 32,062 |
public boolean isEndOfBlock(Context c, Node current_node, InlineBox prev_inline) { // replaced elements aren't split, so done with this one if (LayoutUtil.isReplaced(c, current_node)) {//if(content instanceof ReplacedContent) return true; } if (LayoutUtil.isFloatedBlock(curren... | public boolean isEndOfBlock(Context c, Node current_node, InlineBox prev_inline) { // replaced elements aren't split, so done with this one if (LayoutUtil.isReplaced(c, current_node)) {//if(content instanceof ReplacedContent) return true; }*/ if (LayoutUtil.isFloatedBlock(curr... | 32,063 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); /* resolved by ContentUtil if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called in... | 32,064 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; }*/ //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List content... | 32,065 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,066 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,067 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,068 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,069 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,070 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,072 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,074 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,075 |
public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | public Box layoutChildren(Context c, Box box) { //u.p("starting to lay out the children"); if (LayoutUtil.isHiddenNode(box.getElement(), c)) { return box; } //TODO: probably a temporary hack, may have a Content-object in the box that can be called instead List contentLi... | 32,076 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.