bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public static final synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // This implementation searches the bundle in the reverse direction // and builds the parent chain on the fly. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefa... | public static final synchronized ResourceBundle getBundle (String baseName, Locale locale, ClassLoader classLoader) { // This implementation searches the bundle in the reverse direction // and builds the parent chain on the fly. Locale defaultLocale = Locale.getDefault(); if (defaultLocale != lastDefa... | 28,240 |
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | 28,241 |
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | 28,242 |
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | 28,243 |
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | 28,244 |
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | 28,245 |
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | 28,246 |
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | 28,247 |
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | 28,248 |
protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | protected void init(Element root) { // joinconditions Element s = XMLUtil.getChildElement(root, "statusvalues"); defaultNextStatus = s.getAttribute("default-next"); defaultOldStatus = s.getAttribute("default-old"); NodeList l = s.getElementsByTagName("status"); for(int i = 0; i < l.getLength(); i++... | 28,249 |
public boolean saveWorkflow(String name, WorkflowDescriptor descriptor, WorkflowGraph graph, boolean replace) throws FactoryException { Object obj = layouts.get(name); if(obj instanceof Layout) { Layout layout = (Layout)obj; try { WorkflowConfig config = (WorkflowConfig)workflows.get(n... | public boolean saveWorkflow(String name, WorkflowDescriptor descriptor, WorkflowGraph graph, boolean replace) throws FactoryException { Object obj = layouts.get(name); if(obj instanceof Layout) { Layout layout = (Layout)obj; try { WorkflowConfig config = (WorkflowConfig)workflows.get(n... | 28,250 |
public boolean saveWorkflow(String name, WorkflowDescriptor descriptor, WorkflowGraph graph, boolean replace) throws Exception { String layoutBuffer = ""; String workflowBuffer; Object obj = layouts.get(name); if(obj instanceof Layout) { Layout layout = (Layout)obj; try { HTT... | public boolean saveWorkflow(String name, WorkflowDescriptor descriptor, WorkflowGraph graph, boolean replace) throws Exception { String layoutBuffer = ""; String workflowBuffer; Object obj = layouts.get(name); if(obj instanceof Layout) { Layout layout = (Layout)obj; try { HTT... | 28,251 |
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex... | protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex... | 28,252 |
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex... | protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex... | 28,253 |
protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex... | protected List getAvailableActionsForStep(WorkflowDescriptor wf, Step step, Map transientVars, PropertySet ps) throws WorkflowException { List l = new ArrayList(); StepDescriptor s = wf.getStep(step.getStepId()); if (s == null) { log.warn("getAvailableActionsForStep called for non-ex... | 28,254 |
public List getSecurityPermissions(long id) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); ... | public List getSecurityPermissions(long id) { try { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); PropertySet ps = store.getPropertySet(id); ... | 28,255 |
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); List conditions = null; if (restrictio... | private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); ConditionsDescriptor conditions = null; ... | 28,256 |
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); List conditions = null; if (restrictio... | private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); List conditions = null; if (restrictio... | 28,257 |
private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); List conditions = null; if (restrictio... | private boolean isActionAvailable(ActionDescriptor action, Map transientVars, PropertySet ps, int stepId) throws WorkflowException { if (action == null) { return false; } RestrictionDescriptor restriction = action.getRestriction(); List conditions = null; if (restrictio... | 28,258 |
public void pushLayer(Box master) { Layer layer = null; if (rootLayer == null) { layer = new Layer(master); rootLayer = layer; } else { Layer parent = this.layer; while (! parent.isStackingContext()) { parent = parent.getParent(... | public void pushLayer(Box master) { Layer layer = null; if (rootLayer == null) { layer = new Layer(master); rootLayer = layer; } else { Layer parent = this.layer; while (! parent.isStackingContext()) { parent = parent.getParent(... | 28,259 |
public boolean selfTest() { if (valid == null) { boolean result = super.selfTest(); // do symmetry tests if (result) { result = testKat(KAT_KEY, KAT_CT); } valid = new Boolean(result); } return valid.booleanValue(); } | public boolean selfTest() { if (valid == null) { boolean result = super.selfTest(); // do symmetry tests if (result) { result = testKat(KAT_KEY, KAT_CT); } valid = Boolean.valueOf(result); } return valid.booleanValue(); } | 28,260 |
protected void removeUpdate(DefaultDocumentEvent event) { super.removeUpdate(event); int p0 = event.getOffset(); int len = event.getLength(); int p1 = len + p0; // check if we must collapse some elements int i1 = rootElement.getElementIndex(p0); int i2 = rootElement.getElementIndex(p1); if (i... | protected void removeUpdate(DefaultDocumentEvent event) { super.removeUpdate(event); int p0 = event.getOffset(); int len = event.getLength(); int p1 = len + p0; // check if we must collapse some elements int i1 = rootElement.getElementIndex(p0); int i2 = rootElement.getElementIndex(p1); if (i... | 28,261 |
public void startRepaintLoop() { //Uu.sleep(2000); while (true) { //Uu.sleep(1000); // wait for a repaint event ReflowEvent evt = root.queue.waitForNextRepaintEvent(); if (evt == null) { // we're being shutdown return; ... | public void startRepaintLoop() { //Uu.sleep(2000); while (true) { //Uu.sleep(1000); // wait for a repaint event ReflowEvent evt = root.queue.waitForNextRepaintEvent(); if (evt == null) { // we're being shutdown return; ... | 28,262 |
protected void setUp() throws Exception { rs = (MessageSupport)MessageFactory.createJBossMessage(0, false, 0, 0, (byte)4, null, null, 0, JBossMessage.TYPE, null, null, null, null, null, null... | protected void setUp() throws Exception { rs = (MessageSupport)MessageFactory.createJBossMessage(0, false, 0, 0, (byte)4, null, null, 0, JBossMessage.TYPE, null, null, null, null, null, null... | 28,263 |
public final int[] getBandOffsets() { return bandOffsets; } | public final int[] getBandOffsets() { return (int[]) bandOffsets.clone(); } | 28,264 |
public final int[] getBankIndices() { return bankIndices; } | public final int[] getBankIndices() { return (int[]) bankIndices.clone(); } | 28,265 |
public SampleModel(int dataType, int w, int h, int numBands) { if ((w <= 0) || (h <= 0)) throw new IllegalArgumentException((w <= 0 ? " width<=0" : " width is ok") +(h <= 0 ? " height<=0" : " height is ok")); // FIXME: How can an int be greater than Integer.MAX_VALUE? ... | public SampleModel(int dataType, int w, int h, int numBands) { if ((w <= 0) || (h <= 0)) throw new IllegalArgumentException((w <= 0 ? " width<=0" : " width is ok") + (h <= 0 ? " height<=0" : " height is ok")); long area = (long) w * (long) h; if (area > Integer.MAX_VALU... | 28,266 |
public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { int size = w*h; int numDataElements = getNumDataElements(); int dataSize = numDataElements*size; Object pixelData; switch (getTransferType()) { case DataBuffer.TYPE_BYTE: pixelData = new byte[numDat... | public void setDataElements(int x, int y, int w, int h, Object obj, DataBuffer data) { int size = w*h; int numDataElements = getNumDataElements(); int dataSize = numDataElements*size; Object pixelData; switch (getTransferType()) { case DataBuffer.TYPE_BYTE: pixelData = new byte[numDat... | 28,268 |
public void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); } ca... | public final void readLock() { if (currentWriter != null && currentWriter.equals(Thread.currentThread())) return; synchronized (documentCV) { while (currentWriter != null || numWritersWaiting > 0) { try { documentCV.wait(); } ... | 28,269 |
public void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { // ... | public final void readUnlock() { // Note we could have a problem here if readUnlock was called without a // prior call to readLock but the specs simply warn users to ensure that // balance by using a finally block: // readLock() // try // { // doSomethingHere // } // finally // { ... | 28,270 |
public int getIndex(); | int getIndex(); | 28,271 |
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(graph.getModel().isEdge(cell)) ... | public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(graph.getModel().isEdge(cell)) ... | 28,272 |
public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(graph.getModel().isEdge(cell)) ... | public void actionPerformed(ActionEvent e) { Object cell = graph.getFirstCellForLocation(location.x, location.y); if(cell == null) { return; } else { CellView view = (graph.getGraphLayoutCache().getMapping(cell, false)); if(graph.getModel().isEdge(cell)) ... | 28,273 |
public File getArchiveFileInCache(File cache, String organisation, String module, String revision, String artifact, String type, String ext) { return new File(cache, getArchivePathInCache(organisation, module, revision, artifact, type, ext)); } | public File getArchiveFileInCache(File cache, String organisation, String module, String revision, String artifact, String type, String ext) { return new File(cache, getArchivePathInCache(organisation, module, revision, artifact, type, ext)); } | 28,274 |
public static String getReportFileName(ModuleId mid, String conf) { return mid.getOrganisation() + "-" + mid.getName() + "-" + conf+".xml"; } | public static String getReportFileName(ModuleId mid, String conf) { return mid.getOrganisation() + "-" + mid.getName() + "-" + conf+".xml"; } | 28,275 |
public DependencyResolver getResolver(String resolverName) { if (_dictatorResolver != null) { return _dictatorResolver; } DependencyResolver resolver = (DependencyResolver)_resolversMap.get(resolverName); if (resolver == null) { Message.error("unknown resolver "+res... | public DependencyResolver getResolver(ModuleId moduleId) { if (_dictatorResolver != null) { return _dictatorResolver; } DependencyResolver resolver = (DependencyResolver)_resolversMap.get(resolverName); if (resolver == null) { Message.error("unknown resolver "+resol... | 28,276 |
public DependencyResolver getResolver(String resolverName) { if (_dictatorResolver != null) { return _dictatorResolver; } DependencyResolver resolver = (DependencyResolver)_resolversMap.get(resolverName); if (resolver == null) { Message.error("unknown resolver "+res... | public DependencyResolver getResolver(String resolverName) { if (_dictatorResolver != null) { return _dictatorResolver; } DependencyResolver resolver = (DependencyResolver)_resolversMap.get(resolverName); if (resolver == null) { Message.error("unknown resolver "+res... | 28,277 |
protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st... | protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st... | 28,278 |
protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st... | protected void checkImplicitFinish(ActionDescriptor action, long id) throws WorkflowException { WorkflowStore store = getPersistence(); WorkflowEntry entry = store.findEntry(id); WorkflowDescriptor wf = getConfiguration().getWorkflow(entry.getWorkflowName()); Collection currentSteps = st... | 28,279 |
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | 28,280 |
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | 28,281 |
public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | public static void breakText(Context c, InlineTextBox inline, InlineBox prev_align, int avail, Font font) { boolean db = false; if (db) { Uu.p("========================="); Uu.p("breaking: " + inline); //Uu.p("breaking : '" + inline.getSubstring() + "'"); //... | 28,282 |
protected void doRender( Context c ) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if ( !( g instanceof PrinterGraphics ) ) { g.setColor( getBackground() ); g.fillRect( 0, 0, getWidth(), getHeight() ); ... | protected void doRender( Context c ) { // paint the normal swing background first // but only if we aren't printing. Graphics g = c.getGraphics(); if ( !( g instanceof PrinterGraphics ) ) { g.setColor( getBackground() ); g.fillRect( 0, 0, getWidth(), getHeight() ); ... | 28,283 |
public JBossXAResource(ResourceManager rm) { trace = log.isTraceEnabled(); this.rm = rm; //this.session = session; } | public JBossXAResource(ResourceManager rm, SessionDelegate session) { trace = log.isTraceEnabled(); this.rm = rm; //this.session = session; } | 28,284 |
private void unsetCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) log.trace("Unsetting current tx xid=" + xid + " previous: " + this.currentTxID + " " + this); // Don't unset the xid if it has previously been s... | private void unsetCurrentTransactionId(final Xid xid) { if (xid == null) throw new org.jboss.util.NullArgumentException("xid"); if (trace) log.trace("Unsetting current tx xid=" + xid + " previous: " + this.currentTxID + " " + this); // Don't unset the xid if it has previously been s... | 28,287 |
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U... | private List getStylesheets() { java.io.InputStream stream; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetI... | 28,288 |
private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U... | private List getStylesheets() { java.io.Reader reader; List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.U... | 28,289 |
public String toString() { return "Context: extents = " + extents //" cursor = " + cursor + //"\n color = " + color + " background color = " + background_color; + " offset = " + xoff + "," + yoff ; } | public String toString() { return "Context: extents = " + "("+extents.x+","+extents.y+") -> ("+extents.width+"x"+extents.height+")" //" cursor = " + cursor + //"\n color = " + color + " background color = " + background_color; + " offset = " + xoff + "," + yoff ; ... | 28,290 |
public ReceiverJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, int ackMode, String subName, String selector, boolean noLocal, boolea... | public ReceiverJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, long timeToStart, int ackMode, String subName, String selector, boole... | 28,291 |
public ReceiverJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, int ackMode, String subName, String selector, boolean noLocal, boolea... | public ReceiverJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, int ackMode, String subName, String selector, boolean noLocal, boolea... | 28,292 |
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, boolean anon, int messageSize, MessageFactory messageFactory, int deli... | public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, long timeToStart, boolean anon, int messageSize, MessageFactory messag... | 28,293 |
public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, boolean anon, int messageSize, MessageFactory messageFactory, int deli... | public SenderJob(String slaveURL, Properties jndiProperties, String destinationName, String connectionFactoryJndiName, int numConnections, int numSessions, boolean transacted, int transactionSize, int numMessages, boolean anon, int messageSize, MessageFactory messageFactory, int deli... | 28,294 |
public String toString() { return "FloatedBlock: " + _elem.getNodeName(); } | public String toString() { return "InlineBlock: " + _elem.getNodeName(); } | 28,296 |
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | 28,298 |
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | 28,299 |
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | 28,300 |
public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | public static InlineBox generateReplacedInlineBox(Context c, Content content, int avail, InlineBox prev_align, LineBox curr_line) { //Uu.p("generating replaced Inline Box"); Rectangle bounds = null; BlockBox block = null; JComponent cc = c.getNamespaceHandler().getCustomComponent(content... | 28,301 |
public String getNodeId(); | public int getNodeId(); | 28,302 |
private TableModel tableModel(Node node) throws Exception { if (node.getNodeType() != Node.ELEMENT_NODE) { Toolkit.getDefaultToolkit().beep(); return _defaultTableModel; } Map props = _sr.getCascadedPropertiesMap((Element) node); return new PropertiesTabl... | private TableModel tableModel(Node node) throws Exception { if (node.getNodeType() != Node.ELEMENT_NODE) { Toolkit.getDefaultToolkit().beep(); return _defaultTableModel; } Map props = _sr.getCascadedPropertiesMap((Element) node); return new PropertiesTabl... | 28,303 |
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | 28,304 |
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | 28,305 |
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | 28,306 |
public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | public static Box layout(Context c, BlockBox outerBox, Content content) { boolean set_bfc = false; if (content instanceof TableContent) { // install a block formatting context for the body, // ie. if it's null. // set up the outtermost bfc if (c.getBlockForm... | 28,307 |
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | 28,308 |
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | 28,309 |
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | 28,310 |
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | 28,311 |
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | 28,312 |
private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | private static CellBox layoutCell(Context c, CellBox cell, Content content, boolean fixed, TableBox table, int col) { //OK, first set up the current style. All depends on this... CascadedStyle pushed = content.getStyle(); if (pushed != null) { c.pushStyle(pushed); } if ... | 28,313 |
private static RowBox layoutRow(Context c, TableRowContent tableRowContent, TableBox table, boolean fixed, int borderSpacingHorizontal, int borderSpacingVertical) { // copy the extents Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); RowBox row = new RowBox(); row.s... | private static RowBox layoutRow(Context c, TableRowContent tableRowContent, TableBox table, boolean fixed, int borderSpacingHorizontal, int borderSpacingVertical) { // copy the extents Rectangle oe = c.getExtents(); c.setExtents(new Rectangle(oe)); RowBox row = new RowBox(); ... | 28,314 |
public void tearDown() throws Exception { ServerManagement.stopServerPeer(); super.tearDown(); } | public void tearDown() throws Exception { super.tearDown(); } | 28,318 |
public void testNonContextAlreadyBound() throws Exception { ServerManagement.stopServerPeer(); initialContext.bind("/some-new-context", new Object()); try { ServerManagement.startServerPeer("0", "/some-new-context", null); fail("should throw exception"); } catch(JBossJ... | public void testNonContextAlreadyBound() throws Exception { ServerManagement.stopServerPeer(); initialContext.bind("/some-new-context", new Object()); try { ServerManagement.startServerPeer("0", "/some-new-context", null); fail("should throw exception"); } catch(Messag... | 28,319 |
public Object getContent(Context c) { return _inline; } | public List getContent(Context c) { return _inline; } | 28,320 |
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);... | public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);... | 28,321 |
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);... | public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);... | 28,322 |
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);... | public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);... | 28,323 |
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);... | public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);... | 28,324 |
public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);... | public void testCancelDeliveries() throws Exception { long methodHash = 62365354; int objectId = 54321; List cancels = new ArrayList(); Cancel cancel1 = new Cancel(65654, 43); Cancel cancel2 = new Cancel(65765, 2);... | 28,325 |
public void testSendTransaction() throws Exception { JBossMessage m = new JBossMessage(123); MessageTest.configureMessage(m); long deliveryId = 89281389; int deliveryCount = 12; MessageProxy proxy = JBossMessage.createThinDelegate(deli... | public void testSendTransaction() throws Exception { JBossMessage m = new JBossMessage(123); MessageTest.configureMessage(m); long deliveryId = 89281389; int deliveryCount = 12; MessageProxy proxy = JBossMessage.createThinDelegate(deli... | 28,326 |
public void setUp() throws Exception { super.setUp(); wf = new TestWireFormat(); Class sessionDelegate = SessionDelegate.class; Class consumerDelegate = ConsumerDelegate.class; Class connectionDelegate = ConnectionDelegate.class; //Session send... | public void setUp() throws Exception { super.setUp(); wf = new TestWireFormat(); Class sessionDelegate = SessionDelegate.class; Class consumerDelegate = ConsumerDelegate.class; Class connectionDelegate = ConnectionDelegate.class; //Session send... | 28,327 |
public void setUp() throws Exception { super.setUp(); wf = new TestWireFormat(); Class sessionDelegate = SessionDelegate.class; Class consumerDelegate = ConsumerDelegate.class; Class connectionDelegate = ConnectionDelegate.class; //Session send... | public void setUp() throws Exception { super.setUp(); wf = new TestWireFormat(); Class sessionDelegate = SessionDelegate.class; Class consumerDelegate = ConsumerDelegate.class; Class connectionDelegate = ConnectionDelegate.class; //Session send... | 28,328 |
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h... | public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h... | 28,330 |
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h... | public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h... | 28,331 |
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h... | public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h... | 28,332 |
public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h... | public void write(Object obj, OutputStream out) throws IOException { DataOutputStream dos; if (out instanceof DataOutputStream) { dos = (DataOutputStream)out; } else { //TODO - We should get remoting to pass in a DataOutputStream //So we don't h... | 28,333 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (in instanceof JBossObjectInputStream) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader()); ... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (!(in instanceof MessagingObjectInputStream)) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader(... | 28,334 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (in instanceof JBossObjectInputStream) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader()); ... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (in instanceof JBossObjectInputStream) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader()); ... | 28,335 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (in instanceof JBossObjectInputStream) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader()); ... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (in instanceof JBossObjectInputStream) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader()); ... | 28,336 |
public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (in instanceof JBossObjectInputStream) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader()); ... | public Object read(InputStream in, Map map) throws IOException, ClassNotFoundException { if (in instanceof JBossObjectInputStream) { // Need to explicitly set the classloader ((JBossObjectInputStream)in). setClassLoader(Thread.currentThread().getContextClassLoader()); ... | 28,337 |
public ClientDelivery(List msgs, int consumerID) { this.msgs = msgs; this.consumerID = consumerID; } | public ClientDelivery(List msgs, int consumerID) { this.msgs = msgs; this.consumerID = consumerID; } | 28,338 |
public IdBlock(long low, long high) { this.low = low; this.high = high; } | public IdBlock(long low, long high) { this.low = low; this.high = high; } | 28,339 |
public Collection getSessionStates() { if (sessionStatesList != null) { return sessionStatesList; } else { return sessionStatesMap.values(); } } | public Collection getSessionStates() { if (sessionStatesList != null) { return sessionStatesList; } else { return sessionStatesMap == null ? Collections.emptySet() : sessionStatesMap.values(); } } | 28,340 |
private void doFetchDependencies(IvyNode node, String conf) { Configuration c = node.getConfiguration(conf); if (c == null) { Message.warn("configuration not found '"+conf+"' in "+node.getResolvedId()+": ignoring"); if (node.getParent() != null) { Message.warn("it ... | private void doFetchDependencies(IvyNode node, String conf) { Configuration c = node.getConfiguration(conf); if (c == null) { Message.warn("configuration not found '"+conf+"' in "+node.getResolvedId()+": ignoring"); if (node.getParent() != null) { Message.warn("it ... | 28,341 |
public DependencyDescriptor getDependencyDescriptor() { return _dd; } | public DependencyDescriptor getDependencyDescriptor() { return _dd; } | 28,342 |
public void paintPage(Graphics2D g, int pageNo) { Layer root = getRootLayer(); if (root == null) { throw new RuntimeException("Document needs layout"); } if (pageNo < 0 || pageNo >= root.getPages().size()) { throw new IllegalArgumentException("Page " + pageN... | public void paintPage(Graphics2D g, int pageNo) { Layer root = getRootLayer(); if (root == null) { throw new RuntimeException("Document needs layout"); } if (pageNo < 0 || pageNo >= root.getPages().size()) { throw new IllegalArgumentException("Page " + pageN... | 28,343 |
private void paintPagedView(RenderingContext c, Layer root) { if (root.getLastPage() == null) { return; } root.assignPagePaintingPositions( c, Layer.PAGED_MODE_SCREEN, PAGE_PAINTING_CLEARANCE); setPreferredSize(new Dimension( root.getMaxPa... | private void paintPagedView(RenderingContext c, Layer root) { if (root.getLastPage() == null) { return; } root.assignPagePaintingPositions( c, Layer.PAGED_MODE_SCREEN, PAGE_PAINTING_CLEARANCE); setPreferredSize(new Dimension( root.getMaxPa... | 28,344 |
public void read(DataInputStream in) throws Exception { nodeId = in.readUTF(); queueName = in.readUTF(); condition = in.readUTF(); filterString = (String)StreamUtils.readObject(in, false); channelId = in.readLong(); durable = in.readBoolean(); } | public void read(DataInputStream in) throws Exception { nodeId = in.readInt(); queueName = in.readUTF(); condition = in.readUTF(); filterString = (String)StreamUtils.readObject(in, false); channelId = in.readLong(); durable = in.readBoolean(); } | 28,345 |
public void write(DataOutputStream out) throws Exception { out.writeUTF(nodeId); out.writeUTF(queueName); out.writeUTF(condition); StreamUtils.writeObject(out, filterString, false, false); out.writeLong(channelId); out.writeBoolean(durable); } | public void write(DataOutputStream out) throws Exception { out.writeInt(nodeId); out.writeUTF(queueName); out.writeUTF(condition); StreamUtils.writeObject(out, filterString, false, false); out.writeLong(channelId); out.writeBoolean(durable); } | 28,346 |
private void initBlinkTimer() { // Setup the blink timer. blinkTimer = new Timer(getBlinkRate(), new BlinkTimerListener()); blinkTimer.setRepeats(true); } | private void initBlinkTimer() { // Setup the blink timer. blinkListener = new BlinkTimerListener(); blinkTimer = new Timer(getBlinkRate(), blinkListener); blinkTimer.setRepeats(true); } | 28,348 |
public void moveDot(int dot) { this.dot = dot; handleHighlight(); adjustVisibility(this); repaint(); } | public void moveDot(int dot) { this.dot = dot; handleHighlight(); adjustVisibility(this); appear(); } } | 28,349 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.