bugged stringlengths 6 599k | fixed stringlengths 10 599k | __index_level_0__ int64 0 1.13M |
|---|---|---|
public Object[] getElements(Object input) { final Long documentId = (Long) input; Collection<DocumentVersion> versionList; try { versionList = documentModel.listVersions( documentId, versionIdDescending); } catch(final ParityException px) { logger.error("Could not obtain the docume... | public Object[] getElements(final Object input) { final Long documentId = (Long) input; Collection<DocumentVersion> versionList; try { versionList = documentModel.listVersions( documentId, versionIdDescending); } catch(final ParityException px) { logger.error("Could not obtain the ... | 1,114,326 |
public Object[] getElements(Object input) { final Long documentId = (Long) input; Collection<DocumentVersion> versionList; try { versionList = documentModel.listVersions( documentId, versionIdDescending); } catch(final ParityException px) { logger.error("Could not obtain the docume... | public Object[] getElements(Object input) { final Long documentId = (Long) input; Collection<DocumentVersion> versionList; try { versionList = documentModel.listVersions( documentId, versionIdDescending); } catch(final ParityException px) { logger.error("Could not obtain the docume... | 1,114,327 |
public Object[] getElements(Object input) { final Long documentId = (Long) input; Collection<DocumentVersion> versionList; try { versionList = documentModel.listVersions( documentId, versionIdDescending); } catch(final ParityException px) { logger.error("Could not obtain the docume... | public Object[] getElements(Object input) { final Long documentId = (Long) input; Collection<DocumentVersion> versionList; try { versionList = documentModel.listVersions( documentId, versionIdDescending); } catch(final ParityException px) { logger.error("Could not obtain the docume... | 1,114,328 |
public boolean equals(Object obj) { final ParityObject otherObj = (ParityObject) obj; return id.equals(otherObj.getId()); } | public boolean equals(Object obj) { final ParityObject otherObj = (ParityObject) obj; return id.equals(otherObj.getId()); } | 1,114,329 |
public Object getObject(Session session, String path) { try { if (!session.itemExists(path)) { return null; } ClassDescriptor classDescriptor = null; Node node = (Node) session.getItem(path); if (node.hasProperty(PersistenceConstant.DISCRIMINATOR_PROPERTY_NAME)) { String className = node.getProperty(P... | public Object getObject(Session session, String path) { try { if (!session.itemExists(path)) { return null; } ClassDescriptor classDescriptor = null; Node node = (Node) session.getItem(path); if (node.hasProperty(PersistenceConstant.DISCRIMINATOR_PROPERTY_NAME)) { String className = node.getProperty(P... | 1,114,332 |
public Object getObject(Session session, String path) { try { if (!session.itemExists(path)) { return null; } ClassDescriptor classDescriptor = null; Node node = (Node) session.getItem(path); if (node.hasProperty(PersistenceConstant.DISCRIMINATOR_PROPERTY_NAME)) { String className = node.getProperty(P... | public Object getObject(Session session, String path) { try { if (!session.itemExists(path)) { return null; } ClassDescriptor classDescriptor = null; Node node = (Node) session.getItem(path); if (node.hasProperty(PersistenceConstant.DISCRIMINATOR_PROPERTY_NAME)) { String className = node.getProperty(P... | 1,114,333 |
public static Class forName(String clazz) { try { return Class.forName(clazz); } catch(Exception ex) { throw new JcrMappingException("Cannot load class " + clazz, ex); } } | public static Class forName(String clazz) { try { return Class.forName(clazz, true, getClassLoader()); } catch(Exception ex) { throw new JcrMappingException("Cannot load class " + clazz, ex); } } | 1,114,334 |
public static Listable queryList(Frame parent, String title, String message, String helpString, Listable[] objects, boolean prioritize, Class priorityClass, int current) { if (objects==null) return null; MesquiteInteger io = new MesquiteInteger(current); // (Frame parent, String title, String message, Object nam... | public static Listable queryList(Frame parent, String title, String message, String helpString, Listable[] objects, boolean prioritize, Class priorityClass, int current) { if (objects==null) return null; MesquiteInteger io = new MesquiteInteger(current); // (Frame parent, String title, String message, Object nam... | 1,114,335 |
public static Listable queryList(Frame parent, String title, String message, String helpString, Listable[] objects, boolean prioritize, Class priorityClass, int current) { if (objects==null) return null; MesquiteInteger io = new MesquiteInteger(current); // (Frame parent, String title, String message, Object nam... | public static Listable queryList(Frame parent, String title, String message, String helpString, Listable[] objects, boolean prioritize, Class priorityClass, int current) { if (objects==null) return null; MesquiteInteger io = new MesquiteInteger(current); // (Frame parent, String title, String message, Object nam... | 1,114,336 |
public String getText() { if(TEXT_MAX_LENGTH < getName().length()) { return getName().substring(0, TEXT_MAX_LENGTH - 1 - 3) + "..."; } else { return getName(); } } | public String getText() { if(TEXT_MAX_LENGTH < getName().length()) { return getName().substring(0, TEXT_MAX_LENGTH - 1 - 3) + "..."; } else { return getName(); } } | 1,114,338 |
ContainerTabModel() { super(); this.actionDelegate = new ContainerTabActionDelegate(this); this.browser = getBrowser(); this.containerIdLookup = new HashMap<Long, Long>(); this.filteredPanels = new ArrayList<TabPanel>(); this.expandedState = new HashMap<TabPanel, Boolean>()... | ContainerTabModel() { super(); this.actionDelegate = new ContainerTabActionDelegate(this); this.browser = getBrowser(); this.containerIdLookup = new HashMap<Long, Long>(); this.filteredPanels = new ArrayList<TabPanel>(); this.expandedState = new HashMap<TabPanel, Boolean>()... | 1,114,339 |
public Float getTextInsetFactor() { return InsetFactors.LEVEL_2; } | public Float getTextInsetFactor() { return InsetFactors.LEVEL_1; } | 1,114,340 |
private VersionCell(final String text) { this.text = text; } | private VersionCell(final String text) { this.text = text; } | 1,114,343 |
private VersionContentCell(final String text) { this.text = text; } | private VersionContentCell(final String text) { this.text = text; } | 1,114,344 |
private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new javax.swing.JList(); ver... | 1,114,345 |
private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | 1,114,346 |
private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | 1,114,347 |
private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | 1,114,348 |
private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | 1,114,349 |
private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | 1,114,350 |
private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | 1,114,351 |
private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | 1,114,352 |
private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | private void initComponents() { javax.swing.JList versionsContentJList; javax.swing.JScrollPane versionsContentJScrollPane; javax.swing.JList versionsJList; javax.swing.JScrollPane versionsJScrollPane; versionsJScrollPane = new javax.swing.JScrollPane(); versionsJList = new... | 1,114,353 |
public void mouseClicked(java.awt.event.MouseEvent e) { formMouseClicked(e); } | public void mouseClicked(java.awt.event.MouseEvent e) { formMouseClicked(e); } | 1,114,354 |
public void mouseReleased(java.awt.event.MouseEvent e) { formMouseReleased(e); } | public void mouseReleased(java.awt.event.MouseEvent e) { formMouseReleased(e); } | 1,114,355 |
Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | Document create(final String name, final String description, final File file) throws ParityException { logger.info("create(Project,String,String,File)"); logger.debug(name); logger.debug(description); logger.debug(file); assertCanCreateArtifacts(); assertIsSessionValid(); Assert.assertTrue( // TODO Central... | 1,114,356 |
private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | private void initComponents() { javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance")); contactsJScrollPane = new... | 1,114,360 |
private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | 1,114,361 |
private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | 1,114,362 |
private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | 1,114,363 |
private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | 1,114,364 |
private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | 1,114,365 |
private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | 1,114,366 |
private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | private void initComponents() { javax.swing.JButton closeJButton; javax.swing.JScrollPane contactsJScrollPane; javax.swing.JLabel eaJLabel; javax.swing.JButton inviteJButton; javax.swing.JButton searchJButton; eaJLabel = LabelFactory.create(getString("EmbeddedAssistance"));... | 1,114,367 |
public void actionPerformed(java.awt.event.ActionEvent e) { closeJButtonActionPerformed(e); } | public void actionPerformed(java.awt.event.ActionEvent e) { inviteJButtonActionPerformed(e); } | 1,114,368 |
public void actionPerformed(java.awt.event.ActionEvent e) { inviteJButtonActionPerformed(e); } | public void actionPerformed(java.awt.event.ActionEvent e) { searchJButtonActionPerformed(e); } | 1,114,369 |
public void actionPerformed(java.awt.event.ActionEvent e) { searchJButtonActionPerformed(e); } | public void actionPerformed(java.awt.event.ActionEvent e) { removeJButtonActionPerformed(e); } | 1,114,370 |
public void actionPerformed(java.awt.event.ActionEvent e) { removeJButtonActionPerformed(e); } | public void actionPerformed(java.awt.event.ActionEvent e) { viewJButtonActionPerformed(e); } | 1,114,371 |
static void initialize() { System.setProperty("sun.awt.noerasebackground", "true"); System.setProperty("parity.insecure", "true"); LoggerFactory.getLogger(Browser2PlatformInitializer.class); final ModelFactory modelFactory = ModelFactory.getInstance(); modelFactory.initialize(); final Preferenc... | static void initialize() { System.setProperty("sun.awt.noerasebackground", "true"); System.setProperty("parity.insecure", "true"); final Logger logger = LoggerFactory.getLogger(Browser2PlatformInitializer.class); logger.info("[BROWSER2] [PLATFORM] [INIT]"); final ModelFactory modelFactory = ModelFactory.getI... | 1,114,374 |
static void initialize() { System.setProperty("sun.awt.noerasebackground", "true"); System.setProperty("parity.insecure", "true"); LoggerFactory.getLogger(Browser2PlatformInitializer.class); final ModelFactory modelFactory = ModelFactory.getInstance(); modelFactory.initialize(); final Preferenc... | static void initialize() { System.setProperty("sun.awt.noerasebackground", "true"); System.setProperty("parity.insecure", "true"); LoggerFactory.getLogger(Browser2PlatformInitializer.class); final ModelFactory modelFactory = ModelFactory.getInstance(); modelFactory.initialize(); final Preferenc... | 1,114,375 |
static void initialize() { System.setProperty("sun.awt.noerasebackground", "true"); System.setProperty("parity.insecure", "true"); LoggerFactory.getLogger(Browser2PlatformInitializer.class); final ModelFactory modelFactory = ModelFactory.getInstance(); modelFactory.initialize(); final Preferenc... | static void initialize() { System.setProperty("sun.awt.noerasebackground", "true"); System.setProperty("parity.insecure", "true"); LoggerFactory.getLogger(Browser2PlatformInitializer.class); final ModelFactory modelFactory = ModelFactory.getInstance(); modelFactory.initialize(); final Preferenc... | 1,114,376 |
static void initialize() { System.setProperty("sun.awt.noerasebackground", "true"); System.setProperty("parity.insecure", "true"); LoggerFactory.getLogger(Browser2PlatformInitializer.class); final ModelFactory modelFactory = ModelFactory.getInstance(); modelFactory.initialize(); final Preferenc... | static void initialize() { System.setProperty("sun.awt.noerasebackground", "true"); System.setProperty("parity.insecure", "true"); LoggerFactory.getLogger(Browser2PlatformInitializer.class); final ModelFactory modelFactory = ModelFactory.getInstance(); modelFactory.initialize(); final Preferenc... | 1,114,377 |
static void initialize() { System.setProperty("sun.awt.noerasebackground", "true"); System.setProperty("parity.insecure", "true"); LoggerFactory.getLogger(Browser2PlatformInitializer.class); final ModelFactory modelFactory = ModelFactory.getInstance(); modelFactory.initialize(); final Preferenc... | static void initialize() { System.setProperty("sun.awt.noerasebackground", "true"); System.setProperty("parity.insecure", "true"); LoggerFactory.getLogger(Browser2PlatformInitializer.class); final ModelFactory modelFactory = ModelFactory.getInstance(); modelFactory.initialize(); final Preferenc... | 1,114,378 |
private DocumentVersion handleDocumentSent(final JabberId sentBy, final Calendar sentOn, final UUID uniqueId, final Long versionId, final String name, final String checksum, final String streamId) { logger.logApiId(); logger.logVariable("sentBy", sentBy); logger.logVariabl... | private DocumentVersion handleDocumentSent(final JabberId sentBy, final Calendar sentOn, final UUID uniqueId, final Long versionId, final String name, final String checksum, final String streamId) { logger.logApiId(); logger.logVariable("sentBy", sentBy); logger.logVariabl... | 1,114,379 |
private DocumentVersion handleDocumentSent(final JabberId sentBy, final Calendar sentOn, final UUID uniqueId, final Long versionId, final String name, final String checksum, final String streamId) { logger.logApiId(); logger.logVariable("sentBy", sentBy); logger.logVariabl... | private DocumentVersion handleDocumentSent(final JabberId sentBy, final Calendar sentOn, final UUID uniqueId, final Long versionId, final String name, final String checksum, final String streamId) { logger.logApiId(); logger.logVariable("sentBy", sentBy); logger.logVariabl... | 1,114,380 |
private DocumentVersion handleDocumentSent(final JabberId sentBy, final Calendar sentOn, final UUID uniqueId, final Long versionId, final String name, final String checksum, final String streamId) { logger.logApiId(); logger.logVariable("sentBy", sentBy); logger.logVariabl... | private DocumentVersion handleDocumentSent(final JabberId sentBy, final Calendar sentOn, final UUID uniqueId, final Long versionId, final String name, final String checksum, final String streamId) { logger.logApiId(); logger.logVariable("sentBy", sentBy); logger.logVariabl... | 1,114,381 |
public List<DocumentVersion> readDocumentVersions(final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readDocumentVersions(uniqueId, versionId, documentUniqueId); } } | public List<DocumentVersion> readDocumentVersions(final UUID uniqueId, final Long versionId) { synchronized (getImplLock()) { return getImpl().readDocumentVersions(uniqueId, versionId, documentUniqueId); } } | 1,114,382 |
public List<DocumentVersion> readDocumentVersions(final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readDocumentVersions(uniqueId, versionId, documentUniqueId); } } | public List<DocumentVersion> readDocumentVersions(final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readDocumentVersions(uniqueId, versionId, documentUniqueId); } } | 1,114,383 |
public void applyFilter(final Filter<Artifact> filter) { filterChain.addFilter(filter); jListModel.clear(); reloadDocuments(getController().getSelectedDocumentId()); } | private void applyFilter(final Filter<Artifact> filter) { filterChain.addFilter(filter); jListModel.clear(); reloadDocuments(getController().getSelectedDocumentId()); } | 1,114,387 |
private DisplayDocument getDisplayDocument(final Long documentId) { return (DisplayDocument) ((CompositeFlatSingleContentProvider) contentProvider).getElement(0, documentId); } | private DisplayDocument getDisplayDocument(final Long documentId) { return (DisplayDocument) ((CompositeFlatSingleContentProvider) contentProvider).getElement(0, new Pair(documentId, filterChain)); } | 1,114,388 |
public void removeFilter(final Filter<Artifact> filter) { filterChain.removeFilter(filter); jListModel.clear(); reloadDocuments(getController().getSelectedDocumentId()); } | private void removeFilter(final Filter<Artifact> filter) { filterChain.removeFilter(filter); jListModel.clear(); reloadDocuments(getController().getSelectedDocumentId()); } | 1,114,390 |
public String getDisplayToolTip() { if(DISPLAY_MAX_LENGTH < getName().length()) { return getName(); } else { return ""; } } | public String getDisplayToolTip() { if(DISPLAY_MAX_LENGTH < getName().length()) { return getName(); } else { return ""; } } | 1,114,392 |
private ModelUtil() { super(); final Workspace workspace = WorkspaceModel.getModel().getWorkspace(); this.preferences = workspace.getPreferences(); } | private ModelUtil() { super(); this.workspace = WorkspaceModel.getModel().getWorkspace(); this.preferences = workspace.getPreferences(); } | 1,114,393 |
void subscribe(final Artifact artifact) throws ParityServerModelException { logger.info("subscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.select... | void subscribe(final Artifact artifact) throws ParityServerModelException { logger.info("[RMODEL] [ARTIFACT] [SUBSCRIBE]"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql... | 1,114,394 |
void subscribe(final Artifact artifact) throws ParityServerModelException { logger.info("subscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.select... | void subscribe(final Artifact artifact) throws ParityServerModelException { logger.info("subscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.select... | 1,114,395 |
void subscribe(final Artifact artifact) throws ParityServerModelException { logger.info("subscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.select... | void subscribe(final Artifact artifact) throws ParityServerModelException { logger.info("subscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.select... | 1,114,396 |
void subscribe(final Artifact artifact) throws ParityServerModelException { logger.info("subscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.select... | void subscribe(final Artifact artifact) throws ParityServerModelException { logger.info("subscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.select... | 1,114,397 |
void unsubscribe(final Artifact artifact) throws ParityServerModelException { logger.info("unsubscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.se... | void unsubscribe(final Artifact artifact) throws ParityServerModelException { logger.info("[RMODEL] [ARTIFACT] [UNSUBSCRIBE USER]"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscr... | 1,114,398 |
void unsubscribe(final Artifact artifact) throws ParityServerModelException { logger.info("unsubscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.se... | void unsubscribe(final Artifact artifact) throws ParityServerModelException { logger.info("unsubscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.se... | 1,114,399 |
void unsubscribe(final Artifact artifact) throws ParityServerModelException { logger.info("unsubscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.se... | void unsubscribe(final Artifact artifact) throws ParityServerModelException { logger.info("unsubscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.se... | 1,114,400 |
void unsubscribe(final Artifact artifact) throws ParityServerModelException { logger.info("unsubscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.se... | void unsubscribe(final Artifact artifact) throws ParityServerModelException { logger.info("unsubscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.se... | 1,114,401 |
void unsubscribe(final Artifact artifact) throws ParityServerModelException { logger.info("unsubscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.se... | void unsubscribe(final Artifact artifact) throws ParityServerModelException { logger.info("unsubscribe(User,Artifact)"); logger.debug(artifact); try { final Integer artifactId = artifact.getArtifactId(); final String username = session.getJID().getNode(); final Integer rowCount = artifactSubscriptionSql.se... | 1,114,402 |
private ContainerListener createContainerListener() { return new ContainerAdapter() { @Override public void containerCreated(final ContainerEvent e) { browser.fireContainerCreated(e.getContainer().getId(), e.isRemote()); } @Override public... | private ContainerListener createContainerListener() { return new ContainerAdapter() { @Override public void containerCreated(final ContainerEvent e) { browser.fireContainerUpdated(e.getContainer().getId(), e.isRemote()); } @Override public... | 1,114,403 |
public void draftPublished(final ContainerEvent e) { browser.fireContainerCreated(e.getContainer().getId(), e.isRemote()); } | public void draftPublished(final ContainerEvent e) { browser.fireContainerUpdated(e.getContainer().getId(), e.isRemote()); } | 1,114,404 |
public Boolean doesVersionExist(Long artifactId, Long versionId) { final Session session = openSession(); try { session.prepareStatement(SQL_DOES_VERSION_EXIST); session.setLong(1, artifactId); session.setLong(2, versionId); session.executeQuery(); ... | public Boolean doesVersionExist(final Long artifactId, final Long versionId) { final Session session = openSession(); try { session.prepareStatement(SQL_DOES_VERSION_EXIST); session.setLong(1, artifactId); session.setLong(2, versionId); session.executeQuery(... | 1,114,405 |
public Boolean doesVersionExist(Long artifactId, Long versionId) { final Session session = openSession(); try { session.prepareStatement(SQL_DOES_VERSION_EXIST); session.setLong(1, artifactId); session.setLong(2, versionId); session.executeQuery(); ... | public Boolean doesVersionExist(Long artifactId, Long versionId) { final Session session = openSession(); try { session.prepareStatement(SQL_DOES_VERSION_EXIST); session.setLong(1, artifactId); session.setLong(2, versionId); session.executeQuery(); ... | 1,114,406 |
public Boolean doesVersionExist(Long artifactId, Long versionId) { final Session session = openSession(); try { session.prepareStatement(SQL_DOES_VERSION_EXIST); session.setLong(1, artifactId); session.setLong(2, versionId); session.executeQuery(); ... | public Boolean doesVersionExist(Long artifactId, Long versionId) { final Session session = openSession(); try { session.prepareStatement(SQL_DOES_VERSION_EXIST); session.setLong(1, artifactId); session.setLong(2, versionId); session.executeQuery(); ... | 1,114,407 |
public Double toDouble(Object num) { Number n = toNumber(num); if (n == null) { return null; } return new Double(n.intValue()); } | public Double toDouble(Object num) { Number n = toNumber(num); if (n == null) { return null; } return new Double(n.doubleValue()); } | 1,114,408 |
SmackException() { super(); } | SmackException(final String message, final Throwable cause) { super(message, cause); } | 1,114,409 |
public void testSearch() { List<IndexHit> indexHits; for(final Fixture datum : data) { try { indexHits = datum.iModel.search(datum.criteria); } catch(final ParityException px) { throw new RuntimeException(px); } assertNotNull("Index hits is null.", indexHits); Document searchHit; for(final IndexHit indexHi... | public void testSearch() { List<IndexHit> indexHits; for(final Fixture datum : data) { try { indexHits = datum.iModel.searchArtifact(datum.criteria); } catch(final ParityException px) { throw new RuntimeException(px); } assertNotNull("Index hits is null.", indexHits); Document searchHit; for(final IndexHit... | 1,114,410 |
public static String getActionMappingURL(ServletContext application, HttpServletRequest request, String action) { StringBuffer value = new StringBuffer(request.getContextPath()); ModuleConfig config = ... | public static String getActionMappingURL(ServletContext application, HttpServletRequest request, String action) { StringBuffer value = new StringBuffer(request.getContextPath()); ModuleConfig config = ... | 1,114,412 |
public Filter addBetween(String fieldAttributeName, Object value1, Object value2) { String jcrExpression = "( @" + this.getJcrFieldName(fieldAttributeName) + " >= " + this.getStringValue(value1) + " and @" + this.getJcrFieldName(fieldAttributeName) + " <= " + this.getStringVa... | public Filter addBetween(String fieldAttributeName, Object value1, Object value2) { String jcrExpression = "( @" + this.getJcrFieldName(fieldAttributeName) + " >= " + this.getStringValue(value1) + " and @" + this.getJcrFieldName(fieldAttributeName) + " <= " + this.getStringVa... | 1,114,413 |
public Filter addContains(String scope, String fullTextSearch) { String jcrExpression = null; if (scope.equals(".")) { jcrExpression = "jcr:contains(., '" + fullTextSearch + "')"; } else { jcrExpression = "jcr:contains(@" + this.getJcrFieldName(scope) + ", '" + full... | public Filter addContains(String scope, String fullTextSearch) { String jcrExpression = null; if (scope.equals(".")) { jcrExpression = "jcr:contains(., '" + fullTextSearch + "')"; } else { jcrExpression = "jcr:contains(@" + this.getJcrFieldName(scope) + ", '" + full... | 1,114,414 |
public Filter addEqualTo(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " = " + this.getStringValue(value); jcrExpressions.add(jcrExpression); return this; } | public Filter addEqualTo(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " = " + this.getStringValue(value); addExpression(jcrExpression); return this; } | 1,114,415 |
public Filter addGreaterOrEqualThan(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " >= " + this.getStringValue(value); jcrExpressions.add(jcrExpression); return this; } | public Filter addGreaterOrEqualThan(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " >= " + this.getStringValue(value); addExpression(jcrExpression); return this; } | 1,114,416 |
public Filter addGreaterThan(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " > " + this.getStringValue(value); jcrExpressions.add(jcrExpression); return this; } | public Filter addGreaterThan(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " > " + this.getStringValue(value); addExpression(jcrExpression); return this; } | 1,114,417 |
public Filter addIsNull(String fieldAttributeName) { String jcrExpression = "not(@" + this.getJcrFieldName(fieldAttributeName) + ")"; jcrExpressions.add(jcrExpression); return this; } | public Filter addIsNull(String fieldAttributeName) { String jcrExpression = "not(@" + this.getJcrFieldName(fieldAttributeName) + ")"; addExpression(jcrExpression); return this; } | 1,114,418 |
public Filter addJCRExpression(String jcrExpression) { jcrExpressions.add(jcrExpression); return this; } | public Filter addJCRExpression(String jcrExpression) { addExpression(jcrExpression); return this; } | 1,114,419 |
public Filter addLessOrEqualThan(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " <= " + this.getStringValue(value); jcrExpressions.add(jcrExpression); return this; } | public Filter addLessOrEqualThan(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " <= " + this.getStringValue(value); addExpression(jcrExpression); return this; } | 1,114,420 |
public Filter addLessThan(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " < " + this.getStringValue(value); jcrExpressions.add(jcrExpression); return this; } | public Filter addLessThan(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " < " + this.getStringValue(value); addExpression(jcrExpression); return this; } | 1,114,421 |
public Filter addLike(String fieldAttributeName, Object value) { String jcrExpression = "jcr:like(" + "@" + this.getJcrFieldName(fieldAttributeName) + ", '" + value + "')"; jcrExpressions.add(jcrExpression); return this; } | public Filter addLike(String fieldAttributeName, Object value) { String jcrExpression = "jcr:like(" + "@" + this.getJcrFieldName(fieldAttributeName) + ", '" + value + "')"; addExpression(jcrExpression); return this; } | 1,114,422 |
public Filter addNotEqualTo(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " != " + this.getStringValue(value); jcrExpressions.add(jcrExpression); return this; } | public Filter addNotEqualTo(String fieldAttributeName, Object value) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName) + " != " + this.getStringValue(value); addExpression(jcrExpression); return this; } | 1,114,423 |
public Filter addNotNull(String fieldAttributeName) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName); jcrExpressions.add(jcrExpression); return this; } | public Filter addNotNull(String fieldAttributeName) { String jcrExpression = "@" + this.getJcrFieldName(fieldAttributeName); addExpression(jcrExpression); return this; } | 1,114,424 |
public Filter addOrFilter(Filter filter) { orJcrExpression = ((FilterImpl) filter).getJcrExpression(); return this; } | public Filter addOrFilter(Filter filter) { if ( null == jcrExpression || "".equals(jcrExpression) ) { jcrExpression = ((FilterImpl) filter).getJcrExpression() ; } else { jcrExpression = "(" + jcrExpression + ") or ( " + ((FilterImpl) filter).getJcrExpression() + ")"; } return this; } | 1,114,425 |
public String getJcrExpression() { if ((orJcrExpression == null) || orJcrExpression.equals("")) { return buildJcrExpression(); } else { return "(" + buildJcrExpression() + ") or (" + this.orJcrExpression + ")"; } } | public String getJcrExpression() { if ((orJcrExpression == null) || orJcrExpression.equals("")) { return buildJcrExpression(); } else { return "(" + buildJcrExpression() + ") or (" + this.orJcrExpression + ")"; } } | 1,114,426 |
protected RuntimeException translateError(final Throwable t) { if (ParityUncheckedException.class.isAssignableFrom(t.getClass())) { return (ParityUncheckedException) t; } else if (Assertion.class.isAssignableFrom(t.getClass())) { final String errorId = new ErrorHelper().getErrorI... | protected RuntimeException translateError(final Throwable t) { if (ParityUncheckedException.class.isAssignableFrom(t.getClass())) { return (ParityUncheckedException) t; } else if (Assertion.class.isAssignableFrom(t.getClass())) { final String errorId = new ErrorHelper().getErrorI... | 1,114,427 |
public void addPanel(String panelID, UIComponent header, UIComponent content) { //get outerlayer (facet) Layer panels = (Layer)this.getFacet("PANELS"); if(panels==null){ panels = new Layer(); panels.setId(id); this.facetMap.put("PANELS", panels); } //add panel to outerlayer Layer l = new Layer(); l.setI... | public void addPanel(String panelID, UIComponent header, UIComponent content) { //get outerlayer (facet) Layer panels = (Layer)this.getFacet("PANELS"); if(panels==null){ panels = new Layer(); panels.setId(id); this.getFacets().put("PANELS", panels); } //add panel to outerlayer Layer l = new Layer(); l.s... | 1,114,428 |
public void actionPerformed(final ActionEvent e) { getController().runCloseDocument(getDocumentId()); } | public void actionPerformed(final ActionEvent e) { getController().runDeleteDocument(getDocumentId()); } | 1,114,430 |
public void actionPerformed(final ActionEvent e) { getController().runDeleteDocument(getDocumentId()); } | public void actionPerformed(final ActionEvent e) { getController().runOpenDocument(getDocumentId()); } | 1,114,431 |
public void actionPerformed(final ActionEvent e) { getController().runOpenDocument(getDocumentId()); } | public void actionPerformed(final ActionEvent e) { getController().runCloseDocument(getDocumentId()); } | 1,114,432 |
public void actionPerformed(final ActionEvent e) { getController().displaySessionSendKeyFormAvatar(); } | public void actionPerformed(final ActionEvent e) { getController().selectDocument(getDocumentId()); getController().displaySessionSendFormAvatar(); } | 1,114,433 |
public void populateMenu(final JPopupMenu jPopupMenu) { jPopupMenu.add(getOpenMenuItem()); if(isClosed(getDocumentId())) { jPopupMenu.addSeparator(); jPopupMenu.add(getDeleteMenuItem()); } else { jPopupMenu.add(getSendMenuItem()); if(isKeyHolder) { jPopupMenu.add(getSendKeyMenuItem()); } else { jPopupMen... | public void populateMenu(final JPopupMenu jPopupMenu) { jPopupMenu.add(getOpenMenuItem()); if(isClosed(getDocumentId())) { jPopupMenu.addSeparator(); jPopupMenu.add(getDeleteMenuItem()); } else { jPopupMenu.add(getSendMenuItem()); if(isKeyHolder) { jPopupMenu.add(getSendKeyMenuItem()); } else { jPopupMen... | 1,114,434 |
public void populateMenu(final JPopupMenu jPopupMenu) { jPopupMenu.add(getOpenMenuItem()); if(isClosed(getDocumentId())) { jPopupMenu.addSeparator(); jPopupMenu.add(getDeleteMenuItem()); } else { jPopupMenu.add(getSendMenuItem()); if(isKeyHolder) { jPopupMenu.add(getSendKeyMenuItem()); } else { jPopupMen... | public void populateMenu(final JPopupMenu jPopupMenu) { jPopupMenu.add(getOpenMenuItem()); if(isClosed(getDocumentId())) { jPopupMenu.addSeparator(); jPopupMenu.add(getDeleteMenuItem()); } else { jPopupMenu.add(getSendMenuItem()); if(isKeyHolder) { jPopupMenu.add(getSendKeyMenuItem()); } else { jPopupMen... | 1,114,435 |
protected void renderComponent(final Cell cell, final int index, final javax.swing.JLabel iconJLabel, final javax.swing.JLabel textJLabel, final javax.swing.JLabel additionalTextJLabel) { this.cell = cell; iconJLabel.setIcon(cell.getIcon()); textJLabel.setText(c... | protected void renderComponent(final Cell cell, final int index, final javax.swing.JLabel iconJLabel, final javax.swing.JLabel textJLabel, final javax.swing.JLabel additionalTextJLabel) { this.cell = cell; iconJLabel.setIcon(cell.getIcon()); textJLabel.setText(c... | 1,114,436 |
void open() { SwingUtilities.invokeLater(new Runnable() { public void run() { setVisible(true); applyRenderingHints(); debugGeometry(); debugLookAndFeel(); browser.displayTitleAvatar(); browser.displayInfoAvatar(); browser.displayDocumentListAvatar(); browser.displayStat... | void open() { SwingUtilities.invokeLater(new Runnable() { public void run() { setVisible(true); applyRenderingHints(); debugGeometry(); debugLookAndFeel(); browser.displayTitleAvatar(); browser.displayInfoAvatar(); browser.displayDocumentListAvatar(); browser.displayStat... | 1,114,437 |
private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean isDesktop = null == logg... | private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration as well we * know that setting the root logger is incorrect - the side effect of * this is that the common code under com.thinkparity.codeb... | 1,114,438 |
private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean isDesktop = null == logg... | private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean desktop = null == loggin... | 1,114,439 |
private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean isDesktop = null == logg... | private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean isDesktop = null == logg... | 1,114,440 |
private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean isDesktop = null == logg... | private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean isDesktop = null == logg... | 1,114,441 |
private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean isDesktop = null == logg... | private void bootstrapLog4J() { /* HACK if the logging root is set; we know we are being run within the * thinkParity server and need not reset the configuration. */ final String loggingRootProperty = System.getProperty("thinkparity.logging.root"); final boolean isDesktop = null == logg... | 1,114,442 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.