rem stringlengths 0 477k | add stringlengths 0 313k | context stringlengths 6 599k |
|---|---|---|
insertStartTag(data[i]); | numStartTags++; | protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: insertStartTag(data[i]); break; case ElementSpec.EndTagType: insertEnd... |
insertEndTag(data[i]); | numEndTags++; | protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: insertStartTag(data[i]); break; case ElementSpec.EndTagType: insertEnd... |
endEdit(); | protected void insertUpdate(ElementSpec[] data) { for (int i = 0; i < data.length; i++) { switch (data[i].getType()) { case ElementSpec.StartTagType: insertStartTag(data[i]); break; case ElementSpec.EndTagType: insertEnd... | |
void split(Element el, int offset) | private Element[] split(Element el, int offset, int space) | void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element... |
if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element paragraph = ael.getParentElement(); if (paragraph instanceof BranchE... | if ((offset == el.getStartOffset() || offset == el.getEndOffset()) && space == 0 && el.isLeaf()) return new Element[2]; Element[] res = new Element[2]; if (el instanceof BranchElement) { int index = el.getElementIndex(offset); Element child = el.getElement(index); Element[] result = split(child, offset, space); Elem... | void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element... |
throw new AssertionError("paragraph elements are expected to " + "be instances of " + "javax.swing.text.AbstractDocument.BranchElement"); } | { removed = new Element[count - index]; newAdded = new Element[count - index]; added = new Element[]{result[0]}; } newAdded[0] = result[1]; for (int i = index; i < count; i++) { Element el2 = el.getElement(i); int ind = i - count + removed.length; removed[ind] = el2; if (ind != 0) newAdded[ind] = el2; } ((BranchElemen... | void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element... |
throw new AssertionError("content elements are expected to be " + "instances of " + "javax.swing.text.AbstractDocument.AbstractElement"); | { removed = new Element[count - index]; for (int i = index; i < count; ++i) removed[i - index] = el.getElement(i); added = new Element[0]; ((BranchElement) el).replace(index, removed.length, added); addEdit(el, index, removed, added); BranchElement newPar = (BranchElement) createBranchElement(el.getParentElement(), el.... | void split(Element el, int offset) { if (el instanceof AbstractElement) { AbstractElement ael = (AbstractElement) el; int startOffset = ael.getStartOffset(); int endOffset = ael.getEndOffset(); int len = endOffset - startOffset; if (startOffset != offset && endOffset != offset) { Element... |
if (ev.modified) | protected void insert(int offset, ElementSpec[] data) throws BadLocationException { writeLock(); // First we insert the content. int index = offset; for (int i = 0; i < data.length; i++) { ElementSpec spec = data[i]; if (spec.getArray() != null && spec.getLength() > 0) { ... | |
u.p("media = " + ctx.getMedia()); | public String getMedia() { u.p("media = " + ctx.getMedia()); return ctx.getMedia(); } | |
block.setMarginTopOverride(0f); block.setMarginBottomOverride(result.getValue()); | Style style = block.getStyle(); style.setMarginTopOverride(0f); style.setMarginBottomOverride(result.getValue()); | private static boolean collapseInBetweenAdjoining(Context c, Box block, CollapsableContent content, List adjoining) { CollapsedMarginPair result = collapseAdjoining(content.getMarginToCollapse(), adjoining); CachingContent parent = (CachingContent) c.getParentContent(); Content sibling = parent... |
block.setMarginTopOverride(0); | style.setMarginTopOverride(0); | public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin... |
block.setMarginTopOverride(collapsedTopMargin.intValue()); | style.setMarginTopOverride(collapsedTopMargin.intValue()); | public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin... |
block.setMarginBottomOverride(0); | style.setMarginBottomOverride(0); | public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin... |
block.setMarginBottomOverride(collapsedBottomMargin.intValue()); | style.setMarginBottomOverride(collapsedBottomMargin.intValue()); | public static void collapseVerticalMargins(Context c, Box block, Content content, float parentWidth) { if (content instanceof CollapsableContent) { CollapsableContent collapsableContent = (CollapsableContent) content; if (!collapsableContent.isCollapsed()) { List adjoinin... |
super(source); this.id = id; | super(event.target); this.id = event.id; | public AWTEvent (Object source, int id) { super(source); this.id = id; } |
model.insertNodeInto(node, selectedNode, selectedNode.getChildCount()); | CommunityTreeObject selectedObject = (CommunityTreeObject)selectedNode.getUserObject(); if (selectedObject.isCommunity()) model.insertNodeInto(node, selectedNode, selectedNode.getChildCount()); else { DefaultMutableTreeNode root = (DefaultMutableTreeNode)model.getRoot(); model.insertNodeInto(node, root, root.getChild... | private void createCommunity() { String communityName = JOptionPane.showInputDialog("New community name: "); if (communityName == null || communityName.length() == 0) return; // TODO: check that name is unique String[] communityTypes = new String[] { "Domain", "Robustness" }; JComboBox cb = new JC... |
return x - ((Component) source).getX (); | return x; | public int getX () { return x - ((Component) source).getX (); } |
return y - ((Component) source).getY (); | return y; | public int getY () { return y - ((Component) source).getY (); } |
public JSplitPane(int value0) { | public JSplitPane() { | public JSplitPane(int value0) { // TODO } // JSplitPane() |
public JScrollPane(Component view) | public JScrollPane() | public JScrollPane(Component view) { this(view, 0, 0); } |
this(view, 0, 0); | this(null, 0, 0); | public JScrollPane(Component view) { this(view, 0, 0); } |
public void setDividerLocation(int value0) { | public void setDividerLocation(double value0) { | public void setDividerLocation(int value0) { // TODO } // setDividerLocation() |
public Component add(String name, Component comp) | public Component add(Component comp) | public Component add(String name, Component comp) { addImpl(comp, name, -1); return comp; } |
addImpl(comp, name, -1); | addImpl(comp, null, -1); | public Component add(String name, Component comp) { addImpl(comp, name, -1); return comp; } |
public JLabel(String text, int horizontalAlignment) | public JLabel() | public JLabel(String text, int horizontalAlignment) { this(text, null, horizontalAlignment); } |
this(text, null, horizontalAlignment); | this(null, null, CENTER); | public JLabel(String text, int horizontalAlignment) { this(text, null, horizontalAlignment); } |
public DefaultMutableTreeNode(Object userObject, boolean allowsChildren) { this.userObject = userObject; this.allowsChildren = allowsChildren; | public DefaultMutableTreeNode() { | public DefaultMutableTreeNode(Object userObject, boolean allowsChildren) { this.userObject = userObject; this.allowsChildren = allowsChildren; } // DefaultMutableTreeNode() |
public static String showInputDialog(Object message) | public static String showInputDialog(Component parentComponent, Object message) | public static String showInputDialog(Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDialog(null, null); dialog.pack(); dialog.show(); return (String) pane.getInputValue(); } |
JDialog dialog = pane.createDialog(null, null); | JDialog dialog = pane.createDialog(parentComponent, null); | public static String showInputDialog(Object message) { JOptionPane pane = new JOptionPane(message, QUESTION_MESSAGE); pane.setWantsInput(true); JDialog dialog = pane.createDialog(null, null); dialog.pack(); dialog.show(); return (String) pane.getInputValue(); } |
public JMenuItem(Action action) { } | public JMenuItem() { this(null, null); } | public JMenuItem(Action action) { // TODO } // JMenuItem() |
public DefaultTreeModel(TreeNode root, boolean asksAllowsChildren) { | public DefaultTreeModel(TreeNode root) { | public DefaultTreeModel(TreeNode root, boolean asksAllowsChildren) { setRoot(root); this.asksAllowsChildren = asksAllowsChildren; } // DefaultTreeModel() |
this.asksAllowsChildren = asksAllowsChildren; | public DefaultTreeModel(TreeNode root, boolean asksAllowsChildren) { setRoot(root); this.asksAllowsChildren = asksAllowsChildren; } // DefaultTreeModel() | |
ABCImpact parent = (ABCImpact)getParent(); | ABCImpact parent = (ABCImpact)this.getParent(); | public ComponentData getComponentData(ComponentData child) { StringBuffer sb = new StringBuffer(); ABCImpact parent = (ABCImpact)getParent(); // Remove this hack when we switch to ComponentData rweFile = (String) parent.getProperty(PROP_RWEFILE).getValue(); societyFile = (String) parent.get... |
plugin.addParameter(getFullName().toString()); | plugin.addParameter(this.getFullName().toString()); | public ComponentData getComponentData(ComponentData child) { StringBuffer sb = new StringBuffer(); ABCImpact parent = (ABCImpact)getParent(); // Remove this hack when we switch to ComponentData rweFile = (String) parent.getProperty(PROP_RWEFILE).getValue(); societyFile = (String) parent.get... |
File iniFile = new File(configDir, getFullName() + ".ini"); | File iniFile = new File(configDir, this.getFullName() + ".ini"); | public void writeIniFile(File configDir) throws IOException { File iniFile = new File(configDir, getFullName() + ".ini"); PrintWriter writer = new PrintWriter(new FileWriter(iniFile)); try { writer.println("# $id$"); writer.println("[ Cluster ]"); writer.println("class = " + agentClass_name); writer.... |
writer.println("uic = \"" + getFullName().toString() + "\""); | writer.println("uic = \"" + this.getFullName().toString() + "\""); | public void writeIniFile(File configDir) throws IOException { File iniFile = new File(configDir, getFullName() + ".ini"); PrintWriter writer = new PrintWriter(new FileWriter(iniFile)); try { writer.println("# $id$"); writer.println("[ Cluster ]"); writer.println("class = " + agentClass_name); writer.... |
writer.println(getFullName() + ")"); | writer.println(this.getFullName() + ")"); | public void writeIniFile(File configDir) throws IOException { File iniFile = new File(configDir, getFullName() + ".ini"); PrintWriter writer = new PrintWriter(new FileWriter(iniFile)); try { writer.println("# $id$"); writer.println("[ Cluster ]"); writer.println("class = " + agentClass_name); writer.... |
public Property getProperty(String localName) { return getProperty(new ComponentName(this, localName)); | public Property getProperty(CompositeName name) { Object o = getMyProperties().get(name); if (o != null) { if (o instanceof Property) return (Property) o; return null; } for (int i = 0, n = getChildCount(); i < n; i++) { Property result = getChild(i).getProperty(name); if (result != null) return result; } return null; | public Property getProperty(String localName) { return getProperty(new ComponentName(this, localName)); } |
public void addChild(ComponentData child); | void addChild(ComponentData child); | public void addChild(ComponentData child); |
public File (File dir, String name) | public File (String p) | public File (File dir, String name) { this (dir == null ? null : dir.path, name); } |
this (dir == null ? null : dir.path, name); | path = normalizePath(p); | public File (File dir, String name) { this (dir == null ? null : dir.path, name); } |
public void addLeafComponent(LeafComponentData leaf); | void addLeafComponent(LeafComponentData leaf); | public void addLeafComponent(LeafComponentData leaf); |
public ABCCyberImpact(String name) { super(name); | public ABCCyberImpact() { this("Cyber Event"); | public ABCCyberImpact(String name) { super(name); } |
public ABCKineticImpact(String name) { super(name); | public ABCKineticImpact() { this("Kinetic Event"); | public ABCKineticImpact(String name) { super(name); } |
public Property addProperty(String name, Object value, PropertyListener l) { Property p = addProperty(name, value, value.getClass(), false); p.addPropertyListener(l); return p; | public Property addProperty(String name, Object value) { if (value == null) throw new IllegalArgumentException("null value not allowed"); return addProperty(name, value, value.getClass(), true); | public Property addProperty(String name, Object value, PropertyListener l) { Property p = addProperty(name, value, value.getClass(), false); p.addPropertyListener(l); return p; } |
public ComponentData[] getChildren(); | ComponentData[] getChildren(); | public ComponentData[] getChildren(); |
public String getType(); | String getType(); | public String getType(); |
public String getName(); | String getName(); | public String getName(); |
public void setOwner(ConfigurableComponent owner); | void setOwner(ConfigurableComponent owner); | public void setOwner(ConfigurableComponent owner); |
init_properties (); | if (properties == null) init_properties (); | public static String getProperty (String property) { if (secman != null) secman.checkPropertyAccess(property); init_properties (); return properties.getProperty(property); } |
public DatagramSocket(int port, InetAddress laddr) throws SocketException | public DatagramSocket() throws SocketException | public DatagramSocket(int port, InetAddress laddr) throws SocketException { if (port < 0 || port > 65535) throw new IllegalArgumentException("Invalid port: " + port); SecurityManager s = System.getSecurityManager(); if (s != null) s.checkListen(port); String propVal = System.getProperty("impl.p... |
if (port < 0 || port > 65535) throw new IllegalArgumentException("Invalid port: " + port); SecurityManager s = System.getSecurityManager(); if (s != null) s.checkListen(port); String propVal = System.getProperty("impl.prefix"); if (propVal == null || propVal.equals("")) impl = new PlainDatagramSocketImpl(); else try ... | this(0, null); | public DatagramSocket(int port, InetAddress laddr) throws SocketException { if (port < 0 || port > 65535) throw new IllegalArgumentException("Invalid port: " + port); SecurityManager s = System.getSecurityManager(); if (s != null) s.checkListen(port); String propVal = System.getProperty("impl.p... |
public Thread (String n) | public Thread (ThreadGroup g, Runnable r, String n) | public Thread (String n) { this (null, null, n); } |
this (null, null, n); | Thread current = currentThread (); if (g != null) { if (current != null) g.checkAccess(); } else g = current.getThreadGroup(); if (n == null) throw new NullPointerException (); name = n; group = g; g.add(this); runnable = r; data = null; interrupt_flag = false; alive_flag = false; if (current != null) { daemon_... | public Thread (String n) { this (null, null, n); } |
public void print (String str) | private synchronized void print (String str, boolean println) | public void print (String str) { print(str == null ? "null" : str, false); } |
print(str == null ? "null" : str, false); | try { writeChars(str, 0, str.length()); if (println) writeChars(line_separator, 0, line_separator.length); if (auto_flush) flush(); } catch (InterruptedIOException iioe) { Thread.currentThread().interrupt(); } catch (IOException e) { setError (); } | public void print (String str) { print(str == null ? "null" : str, false); } |
next_in = 0; next_out = 0; dispatchThread.interrupt (); dispatchThread = null; | protected void pop() throws EmptyStackException { if (prev == null) throw new EmptyStackException(); // Don't synchronize both this and prev at the same time, or deadlock could // occur. synchronized (prev) { prev.next = null; } synchronized (this) { int i = next_out;... | |
if (dispatchThread == null) dispatchThread = new EventDispatchThread(this); | public synchronized void push(EventQueue newEventQueue) { if (newEventQueue == null) throw new NullPointerException (); /* Make sure we are at the top of the stack because callers can only get a reference to the one at the bottom using Toolkit.getDefaultToolkit().getSystemEventQueue() */ if... | |
public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) | protected InvocationEvent (Object source, int id, Runnable runnable, Object notifier, boolean catchExceptions) | public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) { super (source, INVOCATION_DEFAULT); this.runnable = runnable; this.notifier = notifier; this.catchExceptions = catchExceptions; } |
super (source, INVOCATION_DEFAULT); | super (source, id); | public InvocationEvent(Object source, Runnable runnable, Object notifier, boolean catchExceptions) { super (source, INVOCATION_DEFAULT); this.runnable = runnable; this.notifier = notifier; this.catchExceptions = catchExceptions; } |
public void write(byte[] buf, int off, int len) throws IOException | public void write(int bval) throws IOException | public void write(byte[] buf, int off, int len) throws IOException { inbufWrite(); def.setInput(buf, off, len); deflate(); } |
inbufWrite(); def.setInput(buf, off, len); deflate(); | if (inbuf == null) inbuf = new byte[128]; else if (inbufLength == inbuf.length) inbufWrite(); inbuf[inbufLength++] = (byte) bval; | public void write(byte[] buf, int off, int len) throws IOException { inbufWrite(); def.setInput(buf, off, len); deflate(); } |
JDialog(Frame owner, String s, boolean modeld) | JDialog(Frame owner) | JDialog(Frame owner, String s, boolean modeld) { super(owner, s, modeld); } |
super(owner, s, modeld); | this(owner, "dialog"); | JDialog(Frame owner, String s, boolean modeld) { super(owner, s, modeld); } |
public JCheckBox(String text) | public JCheckBox() | public JCheckBox(String text) { this(text, null); } |
this(text, null); | this(null, null); | public JCheckBox(String text) { this(text, null); } |
public GridBagConstraints (int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady) | public GridBagConstraints () | public GridBagConstraints (int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady) { this.anchor = anchor; this.fill = fill; this.gridx = gridx; this.gridy = gridy; this.gridwidth = grid... |
this.anchor = anchor; this.fill = fill; this.gridx = gridx; this.gridy = gridy; this.gridwidth = gridwidth; this.gridheight = gridheight; this.ipadx = ipadx; this.ipady = ipady; this.insets = insets; this.weightx = weightx; this.weighty = weighty; | this.anchor = CENTER; this.fill = NONE; this.gridx = RELATIVE; this.gridy = RELATIVE; this.gridwidth = 1; this.gridheight = 1; this.ipadx = 0; this.ipady = 0; this.insets = new Insets (0, 0, 0, 0); this.weightx = 0; this.weighty = 0; | public GridBagConstraints (int gridx, int gridy, int gridwidth, int gridheight, double weightx, double weighty, int anchor, int fill, Insets insets, int ipadx, int ipady) { this.anchor = anchor; this.fill = fill; this.gridx = gridx; this.gridy = gridy; this.gridwidth = grid... |
setLocation(p.x, p.y); | if (this.x == x && this.y == y) return; invalidate(); this.x = x; this.y = y; if (peer != null) peer.setBounds(x, y, width, height); | public void setLocation(Point p) { setLocation(p.x, p.y); } |
if (_sectionsContents ==null) { | if (_sectionsContents == null || true) { | public NSArray sectionsContents() { if (_sectionsContents ==null) { NSArray sectionsContentsFromRule=(NSArray)d2wContext().valueForKey("sectionsContents"); if (sectionsContentsFromRule==null) { sectionsContentsFromRule=(NSArray)displayPropertyKeys(); } ... |
public static ERXLogger getLogger(Class clazz, String subTopic) { return getERXLogger(clazz, subTopic); | public static Logger getLogger(String name) { return Logger.getLogger(name, factory); | public static ERXLogger getLogger(Class clazz, String subTopic) { return getERXLogger(clazz, subTopic); } |
log.debug("super.hasBinding(binding) == true"); | log.debug("super.hasBinding(binding) == true for binding "+binding); | public Object valueForBinding(String binding) { Object value=null; logDebugInfo(); if (super.hasBinding(binding)) { log.debug("super.hasBinding(binding) == true"); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != null) { log... |
log.debug("has d2wContext == true"); | log.debug("has d2wContext == true for binding "+binding); | public Object valueForBinding(String binding) { Object value=null; logDebugInfo(); if (super.hasBinding(binding)) { log.debug("super.hasBinding(binding) == true"); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != null) { log... |
log.debug("inside the extraBindings branch"); | log.debug("inside the extraBindings branch for binding "+binding); | public Object valueForBinding(String binding) { Object value=null; logDebugInfo(); if (super.hasBinding(binding)) { log.debug("super.hasBinding(binding) == true"); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != null) { log... |
log.debug("returning " + value.getClass().getName() + ": " + value); | log.debug("returning " + value.getClass().getName() + ": " + value+" for binding "+binding); | public Object valueForBinding(String binding) { Object value=null; logDebugInfo(); if (super.hasBinding(binding)) { log.debug("super.hasBinding(binding) == true"); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != null) { log... |
log.debug("returning value: null"); | log.debug("returning value: null for binding "+binding); | public Object valueForBinding(String binding) { Object value=null; logDebugInfo(); if (super.hasBinding(binding)) { log.debug("super.hasBinding(binding) == true"); value = originalValueForBinding(binding); } else if(d2wContextFromBindings() != null) { log... |
throw new IllegalArgumentException("value may not be less then 0"); | throw new IllegalArgumentException("value may not be less than 0"); | public QueuedJobCount(int value) { super(value); if (value < 0) throw new IllegalArgumentException("value may not be less then 0"); } |
public void setDuration(long length); | void setDuration(long length); | public void setDuration(long length); |
public void setIntensity(double mag); | void setIntensity(double mag); | public void setIntensity(double mag); |
public void setLocation(LatLonPoint location); | void setLocation(LatLonPoint location); | public void setLocation(LatLonPoint location); |
organizer.duplicate(); | organizer.startConsole(); | public void actionPerformed(ActionEvent e) { organizer.duplicate(); } |
organizer.deleteExperiment(); | organizer.duplicate(); | public void actionPerformed(ActionEvent e) { organizer.deleteExperiment(); } |
organizer.delete(); | organizer.deleteExperiment(); | public void actionPerformed(ActionEvent e) { organizer.delete(); } |
organizer.renameExperiment(); | organizer.delete(); | public void actionPerformed(ActionEvent e) { organizer.renameExperiment(); } |
organizer.rename(); | organizer.renameExperiment(); | public void actionPerformed(ActionEvent e) { organizer.rename(); } |
organizer.startBuilder(); } | organizer.rename(); } | public void actionPerformed(ActionEvent e) { organizer.startBuilder(); } |
organizer.deleteRecipe(); } | organizer.startBuilder(); } | public void actionPerformed(ActionEvent e) { organizer.deleteRecipe(); } |
organizer.renameRecipe(); | organizer.deleteRecipe(); | public void actionPerformed(ActionEvent e) { organizer.renameRecipe(); } |
organizer.deleteFolder(); | organizer.renameRecipe(); | public void actionPerformed(ActionEvent e) { organizer.deleteFolder(); } |
organizer.renameFolder(); | organizer.deleteFolder(); | public void actionPerformed(ActionEvent e) { organizer.renameFolder(); } |
organizer.deleteSociety(); } | organizer.renameFolder(); } | public void actionPerformed(ActionEvent e) { organizer.deleteSociety(); } |
organizer.renameSociety(); | organizer.deleteSociety(); | public void actionPerformed(ActionEvent e) { organizer.renameSociety(); } |
organizer.selectRecipeFromDatabase(); } | organizer.renameSociety(); } | public void actionPerformed(ActionEvent e) { organizer.selectRecipeFromDatabase(); } |
organizer.newRecipe(); } | organizer.selectRecipeFromDatabase(); } | public void actionPerformed(ActionEvent e) { organizer.newRecipe(); } |
organizer.saveInDatabase(); } | organizer.newRecipe(); } | public void actionPerformed(ActionEvent e) { organizer.saveInDatabase(); } |
organizer.startExperimentBuilder(); | organizer.startCommunityBuilder(); | public void actionPerformed(ActionEvent e) { organizer.startExperimentBuilder(); } |
organizer.startConsole(); | organizer.startExperimentBuilder(); | public void actionPerformed(ActionEvent e) { organizer.startConsole(); } |
societyCopy.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); } | experimentCopy.saveToDb(saveToDbConflictHandler); GUIUtils.timeConsumingTaskEnd(organizer); } | public void run() { // Check the return value? societyCopy.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); } |
exp.saveToDb(saveToDbConflictHandler); | recipeCopy.saveToDatabase(); | public void run() { exp.saveToDb(saveToDbConflictHandler); GUIUtils.timeConsumingTaskEnd(organizer); } |
recipeCopy.saveToDatabase(); | societyCopy.saveToDatabase(); | public void run() { recipeCopy.saveToDatabase(); GUIUtils.timeConsumingTaskEnd(organizer); } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.