bugged stringlengths 6 599k | fixed stringlengths 6 40.8M | __index_level_0__ int64 0 3.24M |
|---|---|---|
public static StepCell createStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { Map viewMap = new Hashtable(); // create new step String name = JOptionPane.showInputDialog(ResourceManager.getString("step.add.name")); if (name == null || name.trim().length() == 0) return nu... | public static StepCell createStep(WorkflowDescriptor workflow, WorkflowGraphModel model, Point location) { Map viewMap = new Hashtable(); // create new step String name = JOptionPane.showInputDialog(ResourceManager.getString("step.add.name")); if (name == null || name.trim().length() == 0) return nu... | 51,482 |
public static CoreMessage createCoreMessage(long messageID) { return createCoreMessage(messageID, false, 0, 0, (byte)4, null, null); } | public static CoreMessage createCoreMessage(long messageID) { return createCoreMessage(messageID, false, 0, 0, (byte)4, null, null, 0); } | 51,483 |
public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | 51,484 |
public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | 51,485 |
public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | 51,486 |
public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | 51,487 |
public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | 51,488 |
public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | 51,489 |
public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | public static Message createJBossMessage(long messageID, boolean reliable, long expiration, long timestamp, byte priority, ... | 51,490 |
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); //BoxRendering.paint(c, box, false, restyle); //return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", fal... | public static void paintChild(Context c, Box box, boolean restyle) { if (!canBeSkipped(c, box)) { BoxRendering.paint(c, box, false, restyle); //Uu.p("box children exceed: " + box); //BoxRendering.paint(c, box, false, restyle); //return; } if (Configuration.isTrue("... | 51,491 |
public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); //BoxRendering.paint(c, box, false, restyle); //return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", fal... | public static void paintChild(Context c, Box box, boolean restyle) { if (box.isChildrenExceedBounds()) { //Uu.p("box children exceed: " + box); //BoxRendering.paint(c, box, false, restyle); //return; } if (Configuration.isTrue("xr.renderer.viewport-repaint", fal... | 51,492 |
private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = c.getCurrentStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) { Tex... | private static int handleInlineElementEnd(Context c, LinkedList decorations, InlineBox ib, int padX, LineBox line, LinkedList pushedStyles) { //end text decoration? IdentValue decoration = c.getCurrentStyle().getIdent(CSSName.TEXT_DECORATION); if (decoration != IdentValue.NONE) { Tex... | 51,494 |
private static int handleInlineElementStart(Context c, CascadedStyle cascaded, LineBox line, InlineBox ib, int padX, LinkedList decorations) { CalculatedStyle style = c.getCurrentStyle(); int parent_width = line.getParent().getWidth(); //Border border = style.getBorderWidth(c.getCtx()); ... | private static int handleInlineElementStart(Context c, CascadedStyle cascaded, LineBox line, InlineBox ib, int padX, LinkedList decorations) { CalculatedStyle style = c.getCurrentStyle(); int parent_width = line.getParent().getWidth(); //Border border = style.getBorderWidth(c.getCtx()); ... | 51,495 |
protected void propertyChange(PropertyChangeEvent event) { if (event.getPropertyName().equals("editable")) { boolean editable = ((Boolean) event.getNewValue()).booleanValue(); if (editable) textComponent.setBackground(background); else textComponent.setBackground(inact... | protected void propertyChange(PropertyChangeEvent event) { if (event.getPropertyName().equals("editable")) { boolean editable = ((Boolean) event.getNewValue()).booleanValue(); if (editable) textComponent.setBackground(background); else textComponent.setBackground(inact... | 51,496 |
public void requestTopDownLeftRightResend(ImageConsumer consumer) throws NotImplementedException { } | public void requestTopDownLeftRightResend(ImageConsumer consumer) { } | 51,497 |
public void run() throws NotImplementedException { } | public void run() { } | 51,499 |
public InternalFrameUI() { // TODO } // InternalFrameUI() | public InternalFrameUI() { // TODO } // InternalFrameUI() | 51,504 |
private void saveLine(LineBox line_to_save, LineBox prev_line, Element containing_block, int width, int x, Context c, BlockBox block) { //line_to_save.x = x; // account for text-align String text_align = c.css.getStringProperty(containing_block,"text-align"); //u.p("text-align = " + text_align); if(t... | private void saveLine(LineBox line_to_save, LineBox prev_line, Element containing_block, int width, int x, Context c, BlockBox block) { //line_to_save.x = x; // account for text-align String text_align = c.css.getStringProperty(containing_block,"text-align",true); //u.p("text-align = " + text_align); ... | 51,505 |
private FSDerivedValue deriveValue(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) { // Start assuming our computed value is the same as the specified value RGBColor rgb = (value.getPrimitiveType() == CSSPrimitiveValue.CSS_RGBCOLOR ? value.getRGBColorValue() : null); String s = (value... | private FSDerivedValue deriveValue(CSSName cssName, org.w3c.dom.css.CSSPrimitiveValue value) { // Start assuming our computed value is the same as the specified value RGBColor rgb = (value.getPrimitiveType() == CSSPrimitiveValue.CSS_RGBCOLOR ? value.getRGBColorValue() : null); String s = (value... | 51,506 |
public static Element getDefaultSecurityConfig() throws Exception { insureStarted(); return server.getDefaultSecurityConfig(); } | public static String getDefaultSecurityConfig() throws Exception { insureStarted(); return server.getDefaultSecurityConfig(); } | 51,507 |
public static void setDefaultSecurityConfig(Element config) throws Exception { insureStarted(); server.setDefaultSecurityConfig(config); } | public static void setDefaultSecurityConfig(String config) throws Exception { insureStarted(); server.setDefaultSecurityConfig(config); } | 51,508 |
public static void setSecurityConfig(String destName, Element config) throws Exception { insureStarted(); server.setSecurityConfig(destName, config); } | public static void setSecurityConfig(String destName, String config) throws Exception { insureStarted(); server.setSecurityConfig(destName, config); } | 51,509 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 51,510 |
public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | public static void layoutContent(Context c, Box box, List contentList) { //Here we should always be inside something that corresponds to a block-level element //for formatting purposes Rectangle bounds = new Rectangle(); bounds.width = c.getExtents().width; validateBounds(bounds);... | 51,511 |
private List getStylesheets() { List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.USER_AGENT); info.setMed... | private List getStylesheets() { List infos = new LinkedList(); long st = System.currentTimeMillis(); String uri = _nsh.getNamespace(); StylesheetInfo info = new StylesheetInfo(); info.setUri(_nsh.getNamespace()); info.setOrigin(StylesheetInfo.USER_AGENT); info.setMed... | 51,512 |
public void testSetClientIDFail() throws Exception { final String clientID = "my-test-client-id"; //Setting a client id must be the first thing done to the connection //otherwise a javax.jms.IllegalStateException must be thrown Connection connection = cf.createConnection(); connection.crea... | public void testSetClientIDFail() throws Exception { final String clientID = "my-test-client-id"; //Setting a client id must be the first thing done to the connection //otherwise a javax.jms.IllegalStateException must be thrown Connection connection = cf.createConnection(); connection.crea... | 51,514 |
public void tearDown() throws Exception { ServerManagement.undeployQueue("Queue"); ServerManagement.deInit(); super.tearDown(); } | public void tearDown() throws Exception { ServerManagement.undeployQueue("Queue"); super.tearDown(); } | 51,516 |
public synchronized void close() { closed = true; stopReceiver(); //There may still be pending calls to activateConsumer - we wait for them to complete (or fail) while (activationCount.get() != 0) { Thread.yield(); } // TODO Get rid of this (h... | public synchronized void close() { closed = true; stopReceiver(); //There may still be pending calls to activateConsumer - we wait for them to complete (or fail) while (activationCount.get() != 0) { Thread.yield(); } // TODO Get rid of this (h... | 51,518 |
public int getCurrentMessageCount() { return state.messageAmount(); } | public int getCurrentMessageCount() { return state.messageCount(); } | 51,519 |
protected void addTXRecord(Connection conn, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("logging " + tx);} PreparedStatement ps = null; String statement = "UNDEFINED"; ResultSet rs = null; boolean xa = false; int rows = -1; int formatID = -1; Str... | protected void addTXRecord(Connection conn, Transaction tx) throws Exception { if (trace) { log.trace("logging " + tx);} PreparedStatement ps = null; String statement = "UNDEFINED"; ResultSet rs = null; boolean xa = false; int rows = -1; int formatID = -1; String txID = null... | 51,520 |
protected void addTXRecord(Connection conn, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("logging " + tx);} PreparedStatement ps = null; String statement = "UNDEFINED"; ResultSet rs = null; boolean xa = false; int rows = -1; int formatID = -1; Str... | protected void addTXRecord(Connection conn, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("logging " + tx);} PreparedStatement ps = null; String statement = "UNDEFINED"; ResultSet rs = null; boolean xa = false; int rows = -1; int formatID = -1; Str... | 51,521 |
protected void addTXRecord(Connection conn, Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("logging " + tx);} PreparedStatement ps = null; String statement = "UNDEFINED"; ResultSet rs = null; boolean xa = false; int rows = -1; int formatID = -1; Str... | protected void addTXRecord(Connection conn, Transaction tx) throws Exception { if (trace) { log.trace("logging " + tx);} PreparedStatement ps = null; String statement = "UNDEFINED"; ResultSet rs = null; boolean xa = false; int rows = -1; int formatID = -1; String txID = null... | 51,522 |
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("updating database for committing transaction " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds... | public void commitTx(Transaction tx) throws Exception { if (trace) { log.trace("updating database for committing transaction " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(... | 51,523 |
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("updating database for committing transaction " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds... | public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("updating database for committing transaction " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds... | 51,524 |
public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("updating database for committing transaction " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds... | public void commitTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("updating database for committing transaction " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds... | 51,525 |
protected void createSchema() throws Exception { Connection conn = null; TransactionWrapper tx = new TransactionWrapper(); try { conn = ds.getConnection(); try { conn.createStatement().executeUpdate(createTransaction); if (log.isTraceEnable... | protected void createSchema() throws Exception { Connection conn = null; TransactionWrapper tx = new TransactionWrapper(); try { conn = ds.getConnection(); try { conn.createStatement().executeUpdate(createTransaction); if (trace) { log.trac... | 51,526 |
protected void createSchema() throws Exception { Connection conn = null; TransactionWrapper tx = new TransactionWrapper(); try { conn = ds.getConnection(); try { conn.createStatement().executeUpdate(createTransaction); if (log.isTraceEnable... | protected void createSchema() throws Exception { Connection conn = null; TransactionWrapper tx = new TransactionWrapper(); try { conn = ds.getConnection(); try { conn.createStatement().executeUpdate(createTransaction); if (log.isTraceEnable... | 51,527 |
protected void createSchema() throws Exception { Connection conn = null; TransactionWrapper tx = new TransactionWrapper(); try { conn = ds.getConnection(); try { conn.createStatement().executeUpdate(createTransaction); if (log.isTraceEnable... | protected void createSchema() throws Exception { Connection conn = null; TransactionWrapper tx = new TransactionWrapper(); try { conn = ds.getConnection(); try { conn.createStatement().executeUpdate(createTransaction); if (log.isTraceEnable... | 51,528 |
public List messageRefs(Serializable storeID, Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("getting message references for channel " + channelID + " and store " + storeID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; Trans... | public List messageRefs(Serializable storeID, Serializable channelID) throws Exception { if (trace) { log.trace("getting message references for channel " + channelID + " and store " + storeID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; TransactionWrapper w... | 51,529 |
public List messageRefs(Serializable storeID, Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("getting message references for channel " + channelID + " and store " + storeID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; Trans... | public List messageRefs(Serializable storeID, Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("getting message references for channel " + channelID + " and store " + storeID); } Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; Trans... | 51,530 |
public void prepareTx(Transaction tx) throws Exception { if (!storeXid || tx.getXid() == null) { return; } if (log.isTraceEnabled()) { log.trace("writing prepared flag for " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap ... | public void prepareTx(Transaction tx) throws Exception { if (!storeXid || tx.getXid() == null) { return; } if (trace) { log.trace("writing prepared flag for " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new Transacti... | 51,531 |
public void prepareTx(Transaction tx) throws Exception { if (!storeXid || tx.getXid() == null) { return; } if (log.isTraceEnabled()) { log.trace("writing prepared flag for " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap ... | public void prepareTx(Transaction tx) throws Exception { if (!storeXid || tx.getXid() == null) { return; } if (log.isTraceEnabled()) { log.trace("writing prepared flag for " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap ... | 51,532 |
public void removeAllMessageData(Serializable channelID) throws Exception { if (log.isTraceEnabled()) { log.trace("removing all message data for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); boolean succes... | public void removeAllMessageData(Serializable channelID) throws Exception { if (trace) { log.trace("removing all message data for channel " + channelID); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); boolean success = false; ... | 51,533 |
protected void removeTXRecord(Connection conn, Transaction tx) throws SQLException { PreparedStatement ps = null; try { ps = conn.prepareStatement(deleteTransaction); if (tx.getGuidTxId() != null) { ps.setString(1, tx.getGuidTxId()); } else ... | protected void removeTXRecord(Connection conn, Transaction tx) throws SQLException { PreparedStatement ps = null; try { ps = conn.prepareStatement(deleteTransaction); if (tx.getGuidTxId() != null) { ps.setString(1, tx.getGuidTxId()); } else ... | 51,534 |
public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("rolling back " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps =... | public void rollbackTx(Transaction tx) throws Exception { if (trace) { log.trace("rolling back " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps = conn.prepareSt... | 51,535 |
public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("rolling back " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps =... | public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("rolling back " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps =... | 51,536 |
public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("rolling back " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps =... | public void rollbackTx(Transaction tx) throws Exception { if (log.isTraceEnabled()) { log.trace("rolling back " + tx); } Connection conn = null; PreparedStatement ps = null; TransactionWrapper wrap = new TransactionWrapper(); try { conn = ds.getConnection(); ps =... | 51,537 |
public BoxView(Element element) { super(element); } | public BoxView(Element element, int axis) { super(element); } | 51,538 |
protected void childAllocation(int index, Rectangle a) { // TODO: Implement this properly. } | if (! isAllocationValid()) layout(a.width, a.height); a.x += offsetsX[index]; a.y += offsetsY[index]; a.width = spansX[index]; a.height = spansY[index]; if (! isAllocationValid()) layout(a.width, a.height); a.x += offsetsX[index]; a.y += offsetsY[index]; a.width = spansX[index]; a.height = spansY[index]; protectedif ... | 51,540 |
public float getPreferredSpan(int axis) { // TODO: Implement me. return 0F; } | public float getPreferredSpan(int axis) { // TODO: Implement me. SizeRequirements sr = new SizeRequirements(); int pref = baselineRequirements(axis, sr).preferred; return (float) pref; } | 51,541 |
protected View getViewAtPoint(int x, int y, Rectangle r) { // TODO: Implement this properly. return null; } | protected View getViewAtPoint(int x, int y, Rectangle r) { // TODO: Implement this properly. View result = null; int count = getViewCount(); Rectangle copy = new Rectangle(r); for (int i = 0; i < count; ++i) { copy.setBounds(r); childAllocation(i, r); if (copy.contains(x, y)) { result = getView(i); break; } }... | 51,542 |
protected boolean isAfter(int x, int y, Rectangle r) { // TODO: Implement this properly. return false; } | protected boolean isAfter(int x, int y, Rectangle r) { // TODO: Implement this properly. boolean result = false; if (myAxis == X_AXIS) result = x > r.x; else result = y > r.y; return result; } | 51,543 |
protected boolean isBefore(int x, int y, Rectangle r) { // TODO: Implement this properly. return false; } | protected boolean isBefore(int x, int y, Rectangle r) { // TODO: Implement this properly. boolean result = false; if (myAxis == X_AXIS) result = x < r.x; else result = y < r.y; return result; } | 51,544 |
public void paint(Graphics g, Shape a) { // TODO: Implement me. } | Rectangle bounds = a.getBounds(); if (bounds.width != getWidth() || bounds.height != getHeight()) setSize(bounds.width, bounds.height); Rectangle inside = getInsideAllocation(a); Rectangle copy = new Rectangle(inside); int count = getViewCount(); for (int i = 0; i < count; ++i) { copy.setBounds(inside); paintC... | 51,545 |
public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | public static void paint(Context c, Box block) { // don't draw if the backgrounds are turned off if (!Configuration.isTrue("xr.renderer.draw.backgrounds", true)) { return; } int width = block.getWidth(); int height = block.getHeight(); Border border = c.getCurren... | 51,546 |
private void startInVMDatabase() throws Exception { HsqlProperties props = new HsqlProperties(); props.setProperty("server.database.0", "mem:test"); props.setProperty("server.dbname.0", "memtest"); props.setProperty("server.trace", "false"); props.setProperty("server.silent", "true"); ... | privatevoidstartInVMDatabase()throwsException{HsqlPropertiesprops=newHsqlProperties();props.setProperty("server.database.0","mem:test");props.setProperty("server.dbname.0","memtest");props.setProperty("server.trace","false");props.setProperty("server.silent","true");props.setProperty("server.no_system_exit","true");pro... | 51,547 |
public void stop() throws Exception { unloadJNDIContexts(); stopService(REMOTING_OBJECT_NAME); stopService(DEFAULTDS_WRAPPER_DATA_SOURCE_SERVICE_OBJECT_NAME); stopService(DEFAULTDS_CONNECTION_MANAGER_OBJECT_NAME); stopService(DEFAULTDS_MANAGED_CONNECTION_POOL_OBJECT_NAME); stopService... | public void stop() throws Exception { unloadJNDIContexts(); stopService(REMOTING_OBJECT_NAME); stopService(DEFAULTDS_WRAPPER_DATA_SOURCE_SERVICE_OBJECT_NAME); stopService(DEFAULTDS_CONNECTION_MANAGER_OBJECT_NAME); stopService(DEFAULTDS_MANAGED_CONNECTION_POOL_OBJECT_NAME); stopService... | 51,548 |
public void stop() throws Exception { unloadJNDIContexts(); stopService(REMOTING_OBJECT_NAME); stopService(DEFAULTDS_WRAPPER_DATA_SOURCE_SERVICE_OBJECT_NAME); stopService(DEFAULTDS_CONNECTION_MANAGER_OBJECT_NAME); stopService(DEFAULTDS_MANAGED_CONNECTION_POOL_OBJECT_NAME); stopService... | public void stop() throws Exception { unloadJNDIContexts(); stopService(REMOTING_OBJECT_NAME); stopService(DEFAULTDS_WRAPPER_DATA_SOURCE_SERVICE_OBJECT_NAME); stopService(DEFAULTDS_CONNECTION_MANAGER_OBJECT_NAME); stopService(DEFAULTDS_MANAGED_CONNECTION_POOL_OBJECT_NAME); stopService... | 51,549 |
public void unbindDefaultJMSProvider() throws Exception { //initialContext.unbind("java:/DefaultJMSProvider"); throw new Exception("NOT IMPLEMENTED YET!"); } | public void unbindDefaultJMSProvider() throws Exception { //initialContext.unbind("java:/DefaultJMSProvider"); initialContext.unbind("java:/DefaultJMSProvider"); } | 51,551 |
public void unbindJCAJMSConnectionFactory() throws Exception { throw new Exception("NOT IMPLEMENTED YET!"); } | public void unbindJCAJMSConnectionFactory() throws Exception { ObjectName on = JMS_CONNECTION_FACTORY_BINDING_SERVICE_OBJECT_NAME; if (mbeanServer.isRegistered(on)) { mbeanServer.invoke(on, "stop", new Object[0], new String[0]); mbeanServer.invoke(on, "destroy", new Object[0], new String[0]); mbeanServer.unr... | 51,552 |
private void undeployJBossJMSRA(ObjectName managedConnFactoryObjectName) throws Exception { unregisterService(managedConnFactoryObjectName); } | private void undeployJBossJMSRA(ObjectName managedConnFactoryObjectName) throws Exception { stopService(managedConnFactoryObjectName); } | 51,553 |
public void addSelectionPath(TreePath path) { if (!isPathSelected(path)) { if (isSelectionEmpty()) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0, temp, 0, selection.length); temp[temp.length - 1] = path; selection = new TreePa... | public void addSelectionPath(TreePath path) { if (!isPathSelected(path)) { if (isSelectionEmpty()) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0, temp, 0, selection.length); temp[temp.length - 1] = path; selection = new TreePa... | 51,554 |
public void addSelectionPath(TreePath path) { if (!isPathSelected(path)) { if (isSelectionEmpty()) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0, temp, 0, selection.length); temp[temp.length - 1] = path; selection = new TreePa... | public void addSelectionPath(TreePath path) { if (!isPathSelected(path)) { if (isSelectionEmpty()) setSelectionPath(path); else { TreePath[] temp = new TreePath[selection.length + 1]; System.arraycopy(selection, 0, temp, 0, selection.length); temp[temp.length - 1] = path; selection = new TreePa... | 51,555 |
public Object clone() throws CloneNotSupportedException, NotImplementedException { return null; // TODO } | public Object clone() throws CloneNotSupportedException, NotImplementedException { return null; // TODO } | 51,556 |
public Object clone() throws CloneNotSupportedException, NotImplementedException { return null; // TODO } | public Object clone() throws CloneNotSupportedException, NotImplementedException { DefaultTreeSelectionModel cloned = (DefaultTreeSelectionModel) super.clone(); cloned.selection = (TreePath[]) selection.clone(); cloned.listSelectionModel = (DefaultListSelectionModel) listSelectionModel.clone(); return cloned... | 51,557 |
public int getLeadSelectionRow() { if ((rowMapper == null) || (leadPath == null)) return -1; else return rowMapper.getRowsForPaths(new TreePath[] { leadPath })[0]; } | public int getLeadSelectionRow() { if ((rowMapper == null) || (leadPath == null)) return - 1; else return rowMapper.getRowsForPaths(new TreePath[] { leadPath })[0]; } | 51,558 |
public int getLeadSelectionRow() { if ((rowMapper == null) || (leadPath == null)) return -1; else return rowMapper.getRowsForPaths(new TreePath[] { leadPath })[0]; } | public int getLeadSelectionRow() { if ((rowMapper == null) || (leadPath == null)) return -1; else return rowMapper.getRowsForPaths(new TreePath[] { leadPath })[0]; } | 51,559 |
public int getMaxSelectionRow() { if ((rowMapper == null) || (selection == null) || (selection.length == 0)) return -1; else { int[] rows = rowMapper.getRowsForPaths(selection); int maxRow = -1; for (int index = 0; index < rows.length; index++) maxRow = Math.max(maxRow, rows[index]);... | public int getMaxSelectionRow() { if ((rowMapper == null) || (selection == null) || (selection.length == 0)) return -1; else { int[] rows = rowMapper.getRowsForPaths(selection); int maxRow = -1; for (int index = 0; index < rows.length; index++) maxRow = Math.max(maxRow, rows[index]);... | 51,560 |
public int getMaxSelectionRow() { if ((rowMapper == null) || (selection == null) || (selection.length == 0)) return -1; else { int[] rows = rowMapper.getRowsForPaths(selection); int maxRow = -1; for (int index = 0; index < rows.length; index++) maxRow = Math.max(maxRow, rows[index]);... | public int getMaxSelectionRow() { if ((rowMapper == null) || (selection == null) || (selection.length == 0)) return -1; else { int[] rows = rowMapper.getRowsForPaths(selection); int maxRow = - 1; for (int index = 0; index < rows.length; index++) maxRow = Math.max(maxRow, rows[index])... | 51,561 |
public int getMinSelectionRow() { if ((rowMapper == null) || (selection == null) || (selection.length == 0)) return -1; else { int[] rows = rowMapper.getRowsForPaths(selection); int minRow = Integer.MAX_VALUE; for (int index = 0; index < rows.length; index++) minRow = Math.min(minRow... | public int getMinSelectionRow() { if ((rowMapper == null) || (selection == null) || (selection.length == 0)) return -1; else { int[] rows = rowMapper.getRowsForPaths(selection); int minRow = Integer.MAX_VALUE; for (int index = 0; index < rows.length; index++) minRow = Math.min(minRow... | 51,562 |
public TreeSelectionListener[] getTreeSelectionListeners() { return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class); } | public TreeSelectionListener[] getTreeSelectionListeners() { return (TreeSelectionListener[]) getListeners(TreeSelectionListener.class); } | 51,563 |
protected void insureRowContinuity() throws NotImplementedException { // TODO } | protected void insureRowContinuity() throws NotImplementedException { // TODO } | 51,564 |
protected void insureUniqueness() throws NotImplementedException { // TODO } | protected void insureUniqueness() { // TODO } | 51,565 |
protected void insureUniqueness() throws NotImplementedException { // TODO } | protected void insureUniqueness() throws NotImplementedException { // TODO } | 51,566 |
public boolean isRowSelected(int row) throws NotImplementedException { return false; // TODO } | public boolean isRowSelected(int row) throws NotImplementedException { return false; // TODO } | 51,567 |
public void removeSelectionPath(TreePath path) { int index = -1; if (isPathSelected(path)) { for (int i = 0; i < selection.length; i++) { if (selection[i].equals(path)) { index = i; break; } } TreePath[] temp = new TreePath[selection.length - 1]; System.arraycopy(selection, 0, temp, 0, i... | public void removeSelectionPath(TreePath path) { int index = -1; if (isPathSelected(path)) { for (int i = 0; i < selection.length; i++) { if (selection[i].equals(path)) { index = i; break; } } TreePath[] temp = new TreePath[selection.length - 1]; System.arraycopy(selection, 0, temp, 0, i... | 51,568 |
public void removeSelectionPath(TreePath path) { int index = -1; if (isPathSelected(path)) { for (int i = 0; i < selection.length; i++) { if (selection[i].equals(path)) { index = i; break; } } TreePath[] temp = new TreePath[selection.length - 1]; System.arraycopy(selection, 0, temp, 0, i... | public void removeSelectionPath(TreePath path) { int index = -1; if (isPathSelected(path)) { for (int i = 0; i < selection.length; i++) { if (selection[i].equals(path)) { index = i; break; } } TreePath[] temp = new TreePath[selection.length - 1]; System.arraycopy(selection, 0, temp, 0, i... | 51,569 |
public void removeSelectionPath(TreePath path) { int index = -1; if (isPathSelected(path)) { for (int i = 0; i < selection.length; i++) { if (selection[i].equals(path)) { index = i; break; } } TreePath[] temp = new TreePath[selection.length - 1]; System.arraycopy(selection, 0, temp, 0, i... | public void removeSelectionPath(TreePath path) { int index = -1; if (isPathSelected(path)) { for (int i = 0; i < selection.length; i++) { if (selection[i].equals(path)) { index = i; break; } } TreePath[] temp = new TreePath[selection.length - 1]; System.arraycopy(selection, 0, temp, 0, i... | 51,570 |
public void resetRowSelection() throws NotImplementedException { // TODO } | public void resetRowSelection() throws NotImplementedException { // TODO } | 51,571 |
public void setRowMapper(RowMapper rowMapper) throws NotImplementedException { // TODO } | public void setRowMapper(RowMapper rowMapper) throws NotImplementedException { // TODO } | 51,572 |
public void setRowMapper(RowMapper rowMapper) throws NotImplementedException { // TODO } | publicrowMapper = mapper; voidrowMapper = mapper; setRowMapper(RowMapperrowMapper = mapper; rowMapper)rowMapper = mapper; rowMapper = mapper; rowMapper = mapper; rowMapper = mapper; rowMapper = mapper; rowMapper = mapper; throwsrowMapper = mapper; NotImplementedExceptionrowMapper = mapper; rowMapper = mapper; { //row... | 51,573 |
public void setSelectionPath(TreePath path) { selection = new TreePath[] { path }; } | public void setSelectionPath(TreePath path) { selection = new TreePath[] { path }; } | 51,574 |
public String toString() throws NotImplementedException { return null; // TODO } | public String toString() throws NotImplementedException { return null; // TODO } | 51,575 |
protected void updateLeadIndex() throws NotImplementedException { // STUB } | protected void updateLeadIndex() throws NotImplementedException { // STUB } | 51,576 |
public void addListSelectionListener(ListSelectionListener listener) { listenerList.add (ListSelectionListener.class, listener); } | public void addListSelectionListener(ListSelectionListener listener) { listenerList.add(ListSelectionListener.class, listener); } | 51,577 |
public void clearSelection() { sel.removeAllElements(); } | public void clearSelection() { sel.removeAllElements(); } | 51,578 |
public ListSelectionListener[] getListSelectionListeners() { return (ListSelectionListener[]) getListeners (ListSelectionListener.class); } | public ListSelectionListener[] getListSelectionListeners() { return (ListSelectionListener[]) getListeners(ListSelectionListener.class); } | 51,579 |
public EventListener[] getListeners (Class listenerType) { return listenerList.getListeners (listenerType); } | public EventListener[] getListeners(Class listenerType) { return listenerList.getListeners (listenerType); } | 51,580 |
public EventListener[] getListeners (Class listenerType) { return listenerList.getListeners (listenerType); } | public EventListener[] getListeners (Class listenerType) { return listenerList.getListeners(listenerType); } | 51,581 |
boolean isSelectionEmpty() { return sel.size() == 0; } | boolean isSelectionEmpty() { return sel.size() == 0; } | 51,582 |
public void removeListSelectionListener(ListSelectionListener listener) { listenerList.remove (ListSelectionListener.class, listener); } | public void removeListSelectionListener(ListSelectionListener listener) { listenerList.remove(ListSelectionListener.class, listener); } | 51,583 |
public void setSelectionMode(int a) { mode = a; } | public void setSelectionMode(int a) { mode = a; } | 51,584 |
public Object invoke(Invocation invocation) throws Throwable { Method method = null; String methodName = null; Object target = null; if (log.isTraceEnabled()) { target = invocation.getTargetObject(); if (!(invocation instanceof MethodInvocation)) { log.tr... | public Object invoke(Invocation invocation) throws Throwable { Method method = null; String methodName = null; Object target = null; if (trace) { target = invocation.getTargetObject(); if (!(invocation instanceof MethodInvocation)) { log.trace("invoking n... | 51,585 |
public Object invoke(Invocation invocation) throws Throwable { Method method = null; String methodName = null; Object target = null; if (log.isTraceEnabled()) { target = invocation.getTargetObject(); if (!(invocation instanceof MethodInvocation)) { log.tr... | public Object invoke(Invocation invocation) throws Throwable { Method method = null; String methodName = null; Object target = null; if (trace) { target = invocation.getTargetObject(); if (!(invocation instanceof MethodInvocation)) { log.trace("invoking n... | 51,586 |
public Rectangle getFixedRectangle() { return sharedContext.getFixedRectangle(); } | public Rectangle getFixedRectangle() { if (! isPrint()) { return sharedContext.getFixedRectangle(); } else { return new Rectangle(0, -this.page.getTop(), this.page.getContentWidth(this), this.page.getContentHeight(this)-1); } } | 51,588 |
public JDialog createDialog(Component parentComponent, String title) { Frame toUse = getFrameForComponent(parentComponent); if (toUse == null) toUse = getRootFrame(); JDialog dialog = new JDialog(toUse, title); inputValue = UNINITIALIZED_VALUE; value = UNINITIALIZED_VALUE; // FIXME: This dialo... | public JDialog createDialog(Component parentComponent, String title) { Frame toUse = getFrameForComponent(parentComponent); if (toUse == null) toUse = getRootFrame(); JDialog dialog = new JDialog(toUse, title); inputValue = UNINITIALIZED_VALUE; value = UNINITIALIZED_VALUE; // FIXME: This dialog sho... | 51,589 |
public static int showConfirmDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); JDialog dialog = pane.createDialog(parentComponent, "Select an Option"); dialog.pack(); dialog.setLocationRelativeTo(parentComponent); dialog.show(); i... | public static int showConfirmDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); JDialog dialog = pane.createDialog(parentComponent, "Select an Option"); dialog.pack(); dialog.setLocationRelativeTo(parentComponent); dialog.show(); i... | 51,591 |
public static String showInputDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDialog(parentComponent, null); dialog.pack(); dialog.setLocationR... | public static String showInputDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDialog(parentComponent, null); dialog.pack(); dialog.setLocationR... | 51,592 |
public static void showMessageDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, INFORMATION_MESSAGE); JDialog dialog = pane.createDialog(parentComponent, null); dialog.pack(); dialog.setLocationRelativeTo(parentComponent)... | public static void showMessageDialog(Component parentComponent, Object message) { JOptionPane pane = new JOptionPane(message, INFORMATION_MESSAGE); JDialog dialog = pane.createDialog(parentComponent, null); dialog.pack(); dialog.setLocationRelativeTo(parentComponent)... | 51,593 |
public static int showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)... | public static int showOptionDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, Object[] options, Object initialValue)... | 51,594 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.