bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public static synchronized byte[] decompress(final byte[] bytes) throws IOException { final ByteArrayInputStream bytesIn = new ByteArrayInputStream(bytes); final Inflater inflater = new Inflater(); final InflaterInputStream inflaterInputStream = new InflaterInputStream( bytesIn, inflater, bytes.length); byte[...
public static synchronized byte[] decompress(final byte[] bytes) throws IOException { final ByteArrayInputStream bytesIn = new ByteArrayInputStream(bytes); final Inflater inflater = new Inflater(); final InflaterInputStream inflaterInputStream = new InflaterInputStream( bytesIn, inflater, bytes.length); byte[...
1,112,960
public static synchronized byte[] decompress(final byte[] bytes) throws IOException { final ByteArrayInputStream bytesIn = new ByteArrayInputStream(bytes); final Inflater inflater = new Inflater(); final InflaterInputStream inflaterInputStream = new InflaterInputStream( bytesIn, inflater, bytes.length); byte[...
public static synchronized byte[] decompress(final byte[] bytes) throws IOException { final ByteArrayInputStream bytesIn = new ByteArrayInputStream(bytes); final Inflater inflater = new Inflater(); final InflaterInputStream inflaterInputStream = new InflaterInputStream( bytesIn, inflater, bytes.length); byte[...
1,112,961
public static synchronized byte[] compress(final byte[] bytes, final Level level) throws IOException { final ByteArrayOutputStream bytesOut = new ByteArrayOutputStream(); final Deflater deflater = new Deflater(level.getLevel()); final DeflaterOutputStream deflaterOutputStream = new DeflaterOutputStream( bytesO...
public static synchronized byte[] compress(final byte[] bytes, final Level level) throws IOException { final ByteArrayOutputStream bytesOut = new ByteArrayOutputStream(); final Deflater deflater = new Deflater(level.getLevel()); final DeflaterOutputStream deflaterOutputStream = new DeflaterOutputStream( bytesO...
1,112,962
private Avatar createBrowserMain() { if(null == browserMain) { browserMain = new BrowserMainAvatar(controller); browserMain.setContentProvider(ProviderFactory.getMainProvider()); } return browserMain; }
private Avatar createBrowserMain() { if(null == browserMain) { browserMain = new BrowserMainAvatar(); browserMain.setContentProvider(ProviderFactory.getMainProvider()); } return browserMain; }
1,112,963
BrowserMainAvatar(final Controller controller) { super("MainListAvatar", ScrollPolicy.VERTICAL, new Color(255, 255, 255, 0)); this.listItemMap = new Hashtable<JVMUniqueId, Component>(20, 0.75F); setLayout(new GridBagLayout()); }
BrowserMainAvatar(final Controller controller) { super("MainListAvatar", ScrollPolicy.VERTICAL, new Color(255, 255, 255, 0)); this.listItemMap = new Hashtable<JVMUniqueId, Component>(20, 0.75F); setLayout(new GridBagLayout()); }
1,112,964
private List<DocumentVersion> readBackupDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { return getContainerModel().readBackupDocumentVersions(userId, uniqueId, versionId, documentUniqueId); }
private List<DocumentVersion> readBackupDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { return getContainerModel().readBackupDocumentVersions(userId, uniqueId, versionId, documentUniqueId); }
1,112,966
private List<DocumentVersion> readBackupDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { return getContainerModel().readBackupDocumentVersions(userId, uniqueId, versionId, documentUniqueId); }
private List<DocumentVersion> readBackupDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { return getContainerModel().readBackupDocumentVersions(userId, uniqueId, versionId); }
1,112,967
public void service() { logApiId(); final List<DocumentVersion> versions = readBackupDocumentVersions( readJabberId("userId"), readUUID("uniqueId"), readLong("versionId"), readUUID("documentUniqueId")); writeDocumentVersions("documentVersions", "documentVersion", v...
public void service() { logApiId(); final List<DocumentVersion> versions = readBackupDocumentVersions( readJabberId("userId"), readUUID("uniqueId"), readLong("versionId")); writeDocumentVersions("documentVersions", "documentVersion", versions); }
1,112,968
public AbstractHandler(final String action) { super(action); this.logger = new Log4JWrapper(); }
public AbstractHandler(final String action) { super(action); this.logger = new Log4JWrapper(getClass()); }
1,112,969
public List<DocumentVersion> readBackupDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readBackupDocumentVersions(userId, uniqueId, versionId, ...
public List<DocumentVersion> readBackupDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readBackupDocumentVersions(userId, uniqueId, versionId, ...
1,112,970
public List<DocumentVersion> readBackupDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readBackupDocumentVersions(userId, uniqueId, versionId, ...
public List<DocumentVersion> readBackupDocumentVersions(final JabberId userId, final UUID uniqueId, final Long versionId, final UUID documentUniqueId) { synchronized (getImplLock()) { return getImpl().readBackupDocumentVersions(userId, uniqueId, versionId, ...
1,112,971
public void close() { disconnect(); }
public void close() throws IOException { disconnect(); }
1,112,972
public void open() { connect(Type.UPSTREAM); }
public void open() throws IOException { connect(Type.UPSTREAM); }
1,112,973
public void write(final String streamId, final InputStream stream) { write(new StreamHeader(StreamHeader.Type.STREAM_BEGIN, streamId)); write(stream); }
public void write(final String streamId, final InputStream stream) { write(new StreamHeader(StreamHeader.Type.STREAM_BEGIN, streamId)); write(stream); }
1,112,974
public Boolean confirm(final String messageKey, final Object[] messageArguments) { final Data input = new Data(2); input.set(ConfirmDialog.DataKey.MESSAGE_KEY, messageKey); input.set(ConfirmDialog.DataKey.MESSAGE_ARGUMENTS, messageArguments); return confirm(input); }
public Boolean confirm(final String messageKey, final Object[] messageArguments) { final Data input = new Data(2); input.set(ConfirmDialog.DataKey.MESSAGE_KEY, messageKey); input.set(ConfirmDialog.DataKey.MESSAGE_ARGUMENTS, messageArguments); return confirm(input); }
1,112,975
public Boolean confirm(final String messageKey, final Object[] messageArguments) { final Data input = new Data(2); input.set(ConfirmDialog.DataKey.MESSAGE_KEY, messageKey); input.set(ConfirmDialog.DataKey.MESSAGE_ARGUMENTS, messageArguments); return confirm(input); }
public Boolean confirm(final String messageKey, final Object[] messageArguments) { final Data input = new Data(2); input.set(ConfirmDialog.DataKey.MESSAGE_KEY, messageKey); return confirm(input); }
1,112,976
public void runAddContainerDocuments(final Long containerId, final File[] files) { final Data data = new Data(2); data.set(AddDocument.DataKey.CONTAINER_ID, containerId); data.set(AddDocument.DataKey.FILES, files); invoke(ActionId.CONTAINER_ADD_DOCUMENT, data); }
public void runAddContainerDocuments(final Long containerId, final File[] files) { final Data data = new Data(2); data.set(AddDocument.DataKey.CONTAINER_ID, containerId); data.set(AddDocument.DataKey.FILES, files); invoke(ActionId.CONTAINER_ADD_DOCUMENT, data); }
1,112,977
public void runCreateContainer(final List<File> files) { runCreateContainer(null, files); }
public void runCreateContainer(final List<File> files) { runCreateContainer(null, files); }
1,112,978
public void runRenameDocument(final Long documentId, final String documentName) { final Data data = new Data(3); data.set(Rename.DataKey.DOCUMENT_ID, documentId); data.set(Rename.DataKey.DOCUMENT_NAME, documentName); invoke(ActionId.DOCUMENT_RENAME, data); }
public void runRenameDocument(final Long documentId, final String documentName) { final Data data = new Data(3); data.set(Rename.DataKey.DOCUMENT_ID, documentId); data.set(Rename.DataKey.DOCUMENT_NAME, documentName); invoke(ActionId.DOCUMENT_RENAME, data); }
1,112,979
public void runRenameDocument(final Long documentId, final String documentName) { final Data data = new Data(3); data.set(Rename.DataKey.DOCUMENT_ID, documentId); data.set(Rename.DataKey.DOCUMENT_NAME, documentName); invoke(ActionId.DOCUMENT_RENAME, data); }
public void runRenameDocument(final Long documentId, final String documentName) { final Data data = new Data(3); data.set(Rename.DataKey.DOCUMENT_ID, documentId); invoke(ActionId.DOCUMENT_RENAME, data); }
1,112,980
BrowserWindow(final Browser browser) throws HeadlessException { super("BrowserWindow"); this.browser = browser; this.logger = Logger.getLogger(getClass()); this.persistence = PersistenceFactory.getPersistence(getClass()); getRootPane().setBorder(new WindowBorder2()); addWindowListener(new Wind...
BrowserWindow(final Browser browser) throws HeadlessException { super("BrowserWindow"); this.browser = browser; this.logger = Logger.getLogger(getClass()); this.persistence = PersistenceFactory.getPersistence(getClass()); final Boolean maximized = persistence.get("maximized", Boolean.FALSE); getRootP...
1,112,982
BrowserWindow(final Browser browser) throws HeadlessException { super("BrowserWindow"); this.browser = browser; this.logger = Logger.getLogger(getClass()); this.persistence = PersistenceFactory.getPersistence(getClass()); getRootPane().setBorder(new WindowBorder2()); addWindowListener(new Wind...
BrowserWindow(final Browser browser) throws HeadlessException { super("BrowserWindow"); this.browser = browser; this.logger = Logger.getLogger(getClass()); this.persistence = PersistenceFactory.getPersistence(getClass()); getRootPane().setBorder(new WindowBorder2()); addWindowListener(new Wind...
1,112,983
BrowserWindow(final Browser browser) throws HeadlessException { super("BrowserWindow"); this.browser = browser; this.logger = Logger.getLogger(getClass()); this.persistence = PersistenceFactory.getPersistence(getClass()); getRootPane().setBorder(new WindowBorder2()); addWindowListener(new Wind...
BrowserWindow(final Browser browser) throws HeadlessException { super("BrowserWindow"); this.browser = browser; this.logger = Logger.getLogger(getClass()); this.persistence = PersistenceFactory.getPersistence(getClass()); getRootPane().setBorder(new WindowBorder2()); addWindowListener(new Wind...
1,112,984
BrowserWindow(final Browser browser) throws HeadlessException { super("BrowserWindow"); this.browser = browser; this.logger = Logger.getLogger(getClass()); this.persistence = PersistenceFactory.getPersistence(getClass()); getRootPane().setBorder(new WindowBorder2()); addWindowListener(new Wind...
BrowserWindow(final Browser browser) throws HeadlessException { super("BrowserWindow"); this.browser = browser; this.logger = Logger.getLogger(getClass()); this.persistence = PersistenceFactory.getPersistence(getClass()); getRootPane().setBorder(new WindowBorder2()); addWindowListener(new Wind...
1,112,985
public MainProvider(final ArtifactModel artifactModel, final DocumentModel documentModel, final SystemMessageModel systemMessageModel) { super(); this.documentProvider = new SingleContentProvider() { public Object getElement(final Object input) { final Long documentId = assertNotNullLong( "The main pro...
public MainProvider(final ArtifactModel artifactModel, final DocumentModel documentModel, final SystemMessageModel systemMessageModel) { super(); this.documentProvider = new SingleContentProvider() { public Object getElement(final Object input) { final Long documentId = assertNotNullLong( "The main pro...
1,112,987
public MainProvider(final ArtifactModel artifactModel, final DocumentModel documentModel, final SystemMessageModel systemMessageModel) { super(); this.documentProvider = new SingleContentProvider() { public Object getElement(final Object input) { final Long documentId = assertNotNullLong( "The main pro...
public MainProvider(final ArtifactModel artifactModel, final DocumentModel documentModel, final SystemMessageModel systemMessageModel) { super(); this.documentProvider = new SingleContentProvider() { public Object getElement(final Object input) { final Long documentId = assertNotNullLong( "The main pro...
1,112,988
public Object getElement(final Object input) { final Long documentId = assertNotNullLong( "The main provider's document provider requires " + "non-null java.lang.Long input.", input); try { final Document document = documentModel.get(documentId); return toDisplay(document, artifactModel); ...
public Object getElement(final Object input) { final Long documentId = assertNotNullLong( "The main provider's document provider requires " + "non-null java.lang.Long input.", input); try { final Document document = documentModel.get(documentId); return toDisplay(document, artifactModel); ...
1,112,989
public Object getElement(final Object input) { final Long documentId = assertNotNullLong( "The main provider's document provider requires " + "non-null java.lang.Long input.", input); try { final Document document = documentModel.get(documentId); return toDisplay(document, artifactModel); ...
public Object getElement(final Object input) { final Long documentId = assertNotNullLong( "The main provider's document provider requires " + "non-null java.lang.Long input.", input); try { final Document document = documentModel.get(documentId); if(filter.doFilter(document)) { return null; }...
1,112,990
private Boolean isDistributed(final Long containerId) { final ContainerVersion latestVersion = readLatestVersion(containerId); return null != latestVersion; }
private Boolean isDistributed(final Long containerId) { final ContainerVersion latestVersion = readLatestVersion(containerId); return null != latestVersion; }
1,112,991
ContainerDraft readDraft(final Long containerId) { logger.info(getApiId("[READ DRAFT]")); logger.debug(containerId); final InternalDocumentModel documentModel = getInternalDocumentModel(); final ContainerDraft draft = containerIO.readDraft(containerId); for (final Document documen...
ContainerDraft readDraft(final Long containerId) { logger.info(getApiId("[READ DRAFT]")); logger.debug(containerId); final InternalDocumentModel documentModel = getInternalDocumentModel(); final ContainerDraft draft = containerIO.readDraft(containerId); for (final Document documen...
1,112,992
void create(final Long containerId, final String containerName) throws ParityException { getInternalIndexModel().createContainer(containerId, containerName); }
void create(final Long containerId, final String containerName) throws ParityException { getInternalIndexModel().createContainer(containerId, containerName); }
1,112,993
protected void assertOnline(final StringBuffer api) { assertOnline(api.toString()); }
protected void assertOnline(final StringBuffer api) { assertOnline(api.toString()); }
1,112,994
void delete(final Long containerId) throws ParityException { getInternalIndexModel().deleteArtifact(containerId); }
void delete(final Long containerId) { getInternalIndexModel().deleteArtifact(containerId); }
1,112,995
public Container read(final Long containerId);
public List<Container> read();
1,112,996
public void createContainer(final Long containerId, final String containerName) throws ParityException { synchronized(getImplLock()) { getImpl().createContainer(containerId, containerName); } }
public void createContainer(final Long containerId, final String containerName) { synchronized(getImplLock()) { getImpl().createContainer(containerId, containerName); } }
1,112,997
void createContainer(final Long containerId, final String containerName) throws ParityException { logger.info(getApiId("[CREATE CONTAINER]")); logger.debug(containerId); logger.debug(containerName); final Set<User> team = getInternalArtifactModel().readTeam(containerId); ...
void createContainer(final Long containerId, final String containerName) throws ParityException { logger.info(getApiId("[CREATE CONTAINER]")); logger.debug(containerId); logger.debug(containerName); final Set<User> team = getInternalArtifactModel().readTeam(containerId); ...
1,112,998
void createContainer(final Long containerId, final String containerName) throws ParityException { logger.info(getApiId("[CREATE CONTAINER]")); logger.debug(containerId); logger.debug(containerName); final Set<User> team = getInternalArtifactModel().readTeam(containerId); ...
void createContainer(final Long containerId, final String containerName) throws ParityException { logger.info(getApiId("[CREATE CONTAINER]")); logger.debug(containerId); logger.debug(containerName); final Set<User> team = getInternalArtifactModel().readTeam(containerId); ...
1,112,999
private void processOfflineQueue() { assertIsReachable(environment); XMPPSession session = null; try { session = new XMPPSessionImpl(); session.login(environment, credentials); final JabberId userId = JabberIdBuilder.build( credentials.getUser...
private void processOfflineQueue() { assertIsReachable(environment); XMPPSession session = null; try { session = new XMPPSessionImpl(); session.login(environment, credentials); final JabberId userId = JabberIdBuilder.build( credentials.getUser...
1,113,000
public void login(final LoginMonitor monitor, final Credentials credentials) { synchronized(getImplLock()) { getImpl().login(monitor, credentials); } }
public void login(final LoginMonitor monitor, final Credentials credentials) { synchronized(getImplLock()) { getImpl().login(monitor, credentials); } }
1,113,001
public Group(Group group) { this(group.getFieldTag(), group.getDelimeter(), group.getFieldOrder()); setFields(group); setGroups(group); }
public Group(Group group) { this(group.getFieldTag(), group.getDelimeter(), group.getFieldOrder()); setFields(group); setGroups(group); }
1,113,002
public static void sortTeamMembers(final List<TeamMember> list, final Comparator<User> comparator) { Collections.sort(list, comparator); }
public static void sortTeamMembers(final List<TeamMember> list, final Comparator<? super User> comparator) { Collections.sort(list, comparator); }
1,113,003
public void openMainWindow() { Assert.assertIsNull("Cannot reopen main window.", mainWindow); // Schedule a job for the event-dispatching thread: creating and // showing this application's GUI. javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { mainWindow = Br...
public void openMainWindow() { Assert.assertIsNull("Cannot reopen main window.", mainWindow); // Schedule a job for the event-dispatching thread: creating and // showing this application's GUI. javax.swing.SwingUtilities.invokeLater(new Runnable() { public void run() { mainWindow = Br...
1,113,004
public void run() { mainWindow = BrowserWindow.open(); displayTitleAvatar(); displayLogoAvatar(); displayMainBrowserAvatar(); displayDocumentHistoryListAvatar(); }
public void run() { mainWindow = BrowserWindow.open(); displayTitleAvatar(); displayLogoAvatar(); displayMainBrowserAvatar(); displayDocumentHistoryAvatar(); }
1,113,005
public void reloadMainBrowserAvatar() { // NOTE Wierd AvatarFactory.create(AvatarId.BROWSER_MAIN).reload(); // NOTE Super wierd AvatarFactory.create(AvatarId.DOCUMENT_HISTORY_LIST).reload(); }
public void reloadMainBrowserAvatar() { // NOTE Wierd AvatarFactory.create(AvatarId.BROWSER_MAIN).reload(); // NOTE Super wierd AvatarFactory.create(AvatarId.DOCUMENT_HISTORY).reload(); }
1,113,006
public void selectDocument(final Long documentId) { setInput(AvatarId.DOCUMENT_HISTORY_LIST, documentId); setInput(AvatarId.SESSION_SEND_FORM, documentId); setInput(AvatarId.SESSION_SEND_KEY_FORM, documentId); }
public void selectDocument(final Long documentId) { setInput(AvatarId.DOCUMENT_HISTORY, documentId); setInput(AvatarId.SESSION_SEND_FORM, documentId); setInput(AvatarId.SESSION_SEND_KEY_FORM, documentId); }
1,113,007
private void reloadConnection() { connectionJLabel.setText(""); final Connection connection = getInputConnection(); if (null != connection) { final String connectionText; switch(getInputConnection()) { case ONLINE: connectionJLabel.setForeground(C...
private void reloadConnection() { connectionJLabel.setText(""); final Connection connection = getInputConnection(); if (null != connection) { final String connectionText; switch(getInputConnection()) { case ONLINE: connectionJLabel.setForeground(C...
1,113,008
protected void paintComponent(final Graphics g) { super.paintComponent(g); if (isRoundCorners()) { final Graphics g2 = g.create(); try { // These images help to make the rounded corners look good. g2.drawImage(Images.BrowserTitle.DIALOG_TO...
protected void paintComponent(final Graphics g) { super.paintComponent(g); if (nativeSkin.isRounded()) { final Graphics g2 = g.create(); try { // These images help to make the rounded corners look good. g2.drawImage(Images.BrowserTitle.DIA...
1,113,010
public void setUtcTimeOnly(int field, Date value, boolean includeMillseconds) { String s = FieldValueConverter.UtcTimeOnlyConverter.convert(value, includeMillseconds); setField(new StringField(field, s)); }
public void setUtcTimeOnly(int field, Date value, boolean includeMillseconds) { String s = FieldValueConverter.UtcTimeOnlyConverter.convert(value, includeMillseconds); setField(new StringField(field, s)); }
1,113,011
public void service() { logApiId(); final User user = read(readJabberId("userId")); logVariable("user", user); if (null != user) { writeJabberId("id", user.getId()); writeString("name", user.getName()); if (user.isSetOrganization()) writeSt...
public void service() { logApiId(); final User user = read(readJabberId("userId")); logger.logVariable("user", user); if (null != user) { writeJabberId("id", user.getId()); writeString("name", user.getName()); if (user.isSetOrganization()) ...
1,113,013
static void notifyArtifactClosed(final UUID artifactUniqueId) { try { DocumentModel.getInternalModel(sContext).close(artifactUniqueId); } catch(final ParityException px) { sLogger.fatal("Could not close artifact.", px); return; } }
static void notifyArtifactClosed(final UUID artifactUniqueId) { try { DocumentModel.getInternalModel(sContext).close(artifactUniqueId); } catch(final ParityException px) { sLogger.fatal("Could not close artifact.", px); return; } }
1,113,014
static void notifyKeyRequested(final UUID artifactUniqueId, final JabberId requestedBy) { try { final Document document = DocumentModel.getInternalModel(sContext).get(artifactUniqueId); SystemMessageModel.getInternalModel(sContext).createKeyRequest(document.getId(), requestedBy); } catch(final ParityException...
static void notifyKeyRequested(final UUID artifactUniqueId, final JabberId requestedBy) { try { final Document document = DocumentModel.getInternalModel(sContext).get(artifactUniqueId); SystemMessageModel.getInternalModel(sContext).createKeyRequest(document.getId(), requestedBy); } catch(final ParityException...
1,113,015
public User(final JabberId id) { super(); this.id = id; }
public User(final JabberId id) { super(); this.id = id; }
1,113,018
public void createPublishedTo(final Long containerId, final Long versionId, final List<User> publishedTo) { final Session session = openSession(); try { session.prepareStatement(SQL_CREATE_PUBLISHED_TO); session.setLong(1, containerId); session.setLong(2, ve...
public void createPublishedTo(final Long containerId, final Long versionId, final List<User> publishedTo) { final Session session = openSession(); try { session.prepareStatement(SQL_CREATE_PUBLISHED_TO); session.setLong(1, containerId); session.setLong(2, ve...
1,113,019
public void createPublishedTo(final Long containerId, final Long versionId, final List<User> publishedTo) { final Session session = openSession(); try { session.prepareStatement(SQL_CREATE_PUBLISHED_TO); session.setLong(1, containerId); session.setLong(2, ve...
public void createPublishedTo(final Long containerId, final Long versionId, final List<User> publishedTo) { final Session session = openSession(); try { session.prepareStatement(SQL_CREATE_PUBLISHED_TO); session.setLong(1, containerId); session.setLong(2, ve...
1,113,020
public PreparedStatement prepareStatement(final String sql) { assertOpen("prepareStatement(String)"); logger.logVariable("sql", sql); try { preparedStatement = connection.prepareStatement(sql); return preparedStatement; } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
public PreparedStatement prepareStatement(final String sql) { assertOpen("prepareStatement(String)"); logger.logVariable("sql", sql); try { preparedStatement = connection.prepareStatement(sql); return preparedStatement; } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
1,113,021
public PreparedStatement prepareStatement(final String sql) { assertOpen("prepareStatement(String)"); logger.logVariable("sql", sql); try { preparedStatement = connection.prepareStatement(sql); return preparedStatement; } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
public PreparedStatement prepareStatement(final String sql) { assertOpen("prepareStatement(String)"); logger.logVariable("sql", sql); try { preparedStatement = connection.prepareStatement(sql); return preparedStatement; } }
1,113,022
public void setLong(final Integer index, final Long value) { assertOpen("setLong(Integer,Long)"); assertPreparedStatement("setLong(Integer,Long)"); logIndexAndValue(index, value); try { preparedStatement.setLong(index, value); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
public void setLong(final Integer index, final Long value) { assertOpen("setLong(Integer,Long)"); assertPreparedStatement("setLong(Integer,Long)"); logIndexAndValue(index, value); try { preparedStatement.setLong(index, value); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
1,113,023
public void executeQuery() { assertOpen("Cannot execute query if the session is not open."); assertPreparedStatement("Cannot execute query if the statement is not prepared."); try { resultSet = preparedStatement.executeQuery(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
public void executeQuery() { assertOpen("Cannot execute query if the session is not open."); assertPreparedStatement("Cannot execute query if the statement is not prepared."); try { resultSet = preparedStatement.executeQuery(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
1,113,024
public boolean nextResult() { assertOpen("nextResult()"); assertOpenResult("nextResult()"); try { return resultSet.next(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
public boolean nextResult() { assertOpen("nextResult()"); assertOpenResult("nextResult()"); try { return resultSet.next(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
1,113,025
public ContainerDraft.ArtifactState getContainerStateFromString( final String columnName) { assertOpen("getStateFromString(String)"); assertOpenResult("getStateFromString(String)"); logger.logVariable("columnName", columnName); try { final String value = resultSet.g...
public ContainerDraft.ArtifactState getContainerStateFromString( final String columnName) { assertOpen("getStateFromString(String)"); assertOpenResult("getStateFromString(String)"); logger.logVariable("columnName", columnName); try { final String value = resultSet.g...
1,113,026
public void close() { assertOpen("Cannot close a closed session."); try { close(preparedStatement, resultSet); connection.close(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } sessionManager.close(this); }
public void close() { assertOpen("Cannot close a closed session."); try { close(preparedStatement, resultSet); connection.close(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } sessionManager.close(this); }
1,113,028
public int executeUpdate() { assertOpen("executeUpdate()"); assertPreparedStatement("executeUpdate()"); try { return preparedStatement.executeUpdate(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
public int executeUpdate() { assertOpen("executeUpdate()"); assertPreparedStatement("executeUpdate()"); try { return preparedStatement.executeUpdate(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
1,113,029
public void commit() { assertOpen("commit()"); try { connection.commit(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
public void commit() { assertOpen("commit()"); try { connection.commit(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
1,113,030
public void rollback() { assertOpen("rollbackSession()"); try { connection.commit(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
public void rollback() { assertConnectionIsOpen(); try { connection.commit(); } catch(final SQLException sqlx) { throw new HypersonicException(sqlx); } }
1,113,031
public Long getIdentity() { ResultSet resultSet = null; try { resultSet = list("CALL IDENTITY()"); resultSet.next(); return resultSet.getLong(1); } catch (final SQLException sqlx) { throw new HypersonicException(sqlx); } finally { close(resultSet); } }
public Long getIdentity() { ResultSet resultSet = null; try { resultSet = list("CALL IDENTITY()"); resultSet.next(); return resultSet.getLong(1); } catch (final SQLException sqlx) { throw new HypersonicException(sqlx); } finally { close(resultSet); } }
1,113,032
public void setEnumTypeAsString(final Integer index, final Enum<?> value) { assertOpen("setEnumAsString(Integer,Enum<?>)"); assertPreparedStatement("setEnumAsString(Integer,Enum<?>)"); logIndexAndValue(index, value); try { preparedStatement.setString(index, value.toString()); } catch...
public void setEnumTypeAsString(final Integer index, final Enum<?> value) { assertOpen("setEnumAsString(Integer,Enum<?>)"); assertPreparedStatement("setEnumAsString(Integer,Enum<?>)"); logIndexAndValue(index, value); try { preparedStatement.setString(index, value.toString()); } catch...
1,113,033
void createVersion(final Session session, final ArtifactVersion version) { session.prepareStatement(INSERT_ARTIFACT_VERSION); session.setLong(1, version.getArtifactId()); session.setLong(2, version.getVersionId()); session.setString(3, version.getName()); session.setTypeAsString(4, version.getArtifactType()); se...
void createVersion(final Session session, final ArtifactVersion version) { session.prepareStatement(INSERT_ARTIFACT_VERSION); session.setLong(1, version.getArtifactId()); session.setLong(2, version.getVersionId()); session.setString(3, version.getName()); session.setTypeAsString(4, version.getArtifactType()); se...
1,113,034
public Long getLong(final String columnName) { assertOpen("getLong(String)"); assertOpenResult("getLong(String)"); logger.logVariable("columnName", columnName); try { final Long value = resultSet.getLong(columnName); return resultSet.wasNull() ? null : value; } catch (final SQLExcep...
public Long getLong(final String columnName) { assertOpen("getLong(String)"); assertOpenResult("getLong(String)"); logger.logVariable("columnName", columnName); try { final Long value = resultSet.getLong(columnName); return resultSet.wasNull() ? null : value; } catch (final SQLExcep...
1,113,035
public String getString(final String columnName) { assertOpen("getString(String)"); assertOpenResult("getString(String)"); logger.logVariable("columnName", columnName); try { final String value = resultSet.getString(columnName); return resultSet.wasNull() ? null : value; } catch (final SQLEx...
public String getString(final String columnName) { assertOpen("getString(String)"); assertOpenResult("getString(String)"); logger.logVariable("columnName", columnName); try { final String value = resultSet.getString(columnName); return resultSet.wasNull() ? null : value; } catch (final SQLEx...
1,113,037
public JabberId getQualifiedUsername(final String columnName) { assertOpen("Cannot get values if the session is not open."); assertOpenResult("Cannot get values if the result is not open."); logger.logVariable("columnName", columnName); try { final String value = resultSet.getString(columnName); if (resultSet....
public JabberId getQualifiedUsername(final String columnName) { assertOpen("Cannot get values if the session is not open."); assertOpenResult("Cannot get values if the result is not open."); logger.logVariable("columnName", columnName); try { final String value = resultSet.getString(columnName); if (resultSet....
1,113,039
public Calendar getCalendar(final String columnName) { assertOpen("getCalendar(String)"); assertOpenResult("getCalendar(String)"); try { final Calendar calendar = DateUtil.getInstance(); final Timestamp timestamp = resultSet.getTimestamp(columnName, calendar); if (resultSet.wasNull()) { return null; } el...
public Calendar getCalendar(final String columnName) { assertOpen("getCalendar(String)"); assertOpenResult("getCalendar(String)"); try { final Calendar calendar = DateUtil.getInstance(); final Timestamp timestamp = resultSet.getTimestamp(columnName, calendar); if (resultSet.wasNull()) { return null; } el...
1,113,041
public Calendar getCalendar(final String columnName) { assertOpen("getCalendar(String)"); assertOpenResult("getCalendar(String)"); try { final Calendar calendar = DateUtil.getInstance(); final Timestamp timestamp = resultSet.getTimestamp(columnName, calendar); if (resultSet.wasNull()) { return null; } el...
public Calendar getCalendar(final String columnName) { assertOpen("getCalendar(String)"); assertOpenResult("getCalendar(String)"); try { final Calendar calendar = DateUtil.getInstance(); final Timestamp timestamp = resultSet.getTimestamp(columnName, calendar); if (resultSet.wasNull()) { return null; } el...
1,113,042
public Calendar getCalendar(final String columnName) { assertOpen("getCalendar(String)"); assertOpenResult("getCalendar(String)"); try { final Calendar calendar = DateUtil.getInstance(); final Timestamp timestamp = resultSet.getTimestamp(columnName, calendar); if (resultSet.wasNull()) { return null; } el...
public Calendar getCalendar(final String columnName) { assertOpen("getCalendar(String)"); assertOpenResult("getCalendar(String)"); try { final Calendar calendar = DateUtil.getInstance(); final Timestamp timestamp = resultSet.getTimestamp(columnName, calendar); if (resultSet.wasNull()) { return null; } el...
1,113,043
public ArtifactState getStateFromInteger(final String columnName) { assertOpen("getStateFromInteger(String)"); assertOpenResult("getStateFromInteger(String)"); logger.logVariable("columnName", columnName); try { final Integer value = resultSet.getInt(columnName); return resultSet.wasNull() ? ...
public ArtifactState getStateFromInteger(final String columnName) { assertOpen("getStateFromInteger(String)"); assertOpenResult("getStateFromInteger(String)"); logger.logVariable("columnName", columnName); try { final Integer value = resultSet.getInt(columnName); return resultSet.wasNull() ? ...
1,113,044
public ArtifactType getTypeFromInteger(final String columnName) { assertOpen("getTypeFromInteger(String)"); assertOpenResult("getTypeFromInteger(String)"); logger.logVariable("columnName", columnName); try { final Integer value = resultSet.getInt(columnName); return resultSet.wasNull() ? null...
public ArtifactType getTypeFromInteger(final String columnName) { assertOpen("getTypeFromInteger(String)"); assertOpenResult("getTypeFromInteger(String)"); logger.logVariable("columnName", columnName); try { final Integer value = resultSet.getInt(columnName); return resultSet.wasNull() ? null...
1,113,046
public UUID getUniqueId(final String columnName) { assertOpen("getString(String)"); assertOpenResult("getString(String)"); final String value = getString(columnName); return null == value ? null : UUID.fromString(value); }
public UUID getUniqueId(final String columnName) { assertOpen("getString(String)"); assertOpenResult("getString(String)"); final String value = getString(columnName); return null == value ? null : UUID.fromString(value); }
1,113,048
public Integer getInteger(final String columnName) { assertOpen("[LMODEL] [IO] [HSQL] [GET INTEGER]"); assertOpenResult("[LMODEL] [IO] [HSQL] [GET INTEGER]"); logger.logVariable("columnName", columnName); try { final Integer value = resultSet.getInt(columnName); ret...
public Integer getInteger(final String columnName) { assertOpen("[LMODEL] [IO] [HSQL] [GET INTEGER]"); assertOpenResult("[LMODEL] [IO] [HSQL] [GET INTEGER]"); logger.logVariable("columnName", columnName); try { final Integer value = resultSet.getInt(columnName); ret...
1,113,049
public void setString(final Integer index, final String value) { assertOpen("setString(Integer,String)"); assertPreparedStatement("setString(Integer,String)"); logIndexAndValue(index, value); try { preparedStatement.setString(index, value); } catch(final SQLException sqlx) { throw new HypersonicException...
public void setString(final Integer index, final String value) { assertOpen("setString(Integer,String)"); assertPreparedStatement("setString(Integer,String)"); logIndexAndValue(index, value); try { preparedStatement.setString(index, value); } catch(final SQLException sqlx) { throw new HypersonicException...
1,113,051
public void setCalendar(final Integer index, final Calendar value) { assertOpen("setCalendar(Integer,Calendar)"); assertPreparedStatement("setCalendar(Integer,Calendar)"); logIndexAndValue(index, value); try { preparedStatement.setTimestamp(index, new Timestamp(value.getTimeInMillis()), value); } ...
public void setCalendar(final Integer index, final Calendar value) { assertOpen("setCalendar(Integer,Calendar)"); assertPreparedStatement("setCalendar(Integer,Calendar)"); logIndexAndValue(index, value); try { preparedStatement.setTimestamp(index, new Timestamp(value.getTimeInMillis()), value); } ...
1,113,052
public void setCalendar(final Integer index, final Calendar value) { assertOpen("setCalendar(Integer,Calendar)"); assertPreparedStatement("setCalendar(Integer,Calendar)"); logIndexAndValue(index, value); try { preparedStatement.setTimestamp(index, new Timestamp(value.getTimeInMillis()), value); } ...
public void setCalendar(final Integer index, final Calendar value) { assertOpen("setCalendar(Integer,Calendar)"); assertPreparedStatement("setCalendar(Integer,Calendar)"); logIndexAndValue(index, value); try { preparedStatement.setTimestamp(index, new Timestamp(value.getTimeInMillis()), value); } ...
1,113,053
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,054
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,055
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,056
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,057
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,058
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,059
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,060
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,061
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,062
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,063
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
public static void notmain(String[] args) throws Exception { System.setProperty("swing.aatext", "true"); //Antialiased text try { javax.swing.UIManager.setLookAndFeel(javax.swing.UIManager.getSystemLookAndFeelClassName()); } catch(Exception e) {} if(DEBUG) verbose = true; parseArgs(args); printlnVerbose("P...
1,113,064
public static void reportProgress(long progressPercentage) { if(!graphical) { printCurrentLine("--->Progress: " + progressPercentage + "%"); } else { if(progmon == null) { progmon = new ProgressMonitor(null, "Extracting dmg to iso...", "0%", 0, 100); progmon.setProgress(0); progmon.setMillisToPopup(0); ...
public static void reportProgress(long progressPercentage) { if(!graphical) { printCurrentLine("--->Progress: " + progressPercentage + "%"); } else { if(progmon == null) { progmon = new ProgressMonitor(null, "Extracting dmg to iso...", "0%", 0, 100); progmon.setProgress(0); progmon.setMillisToPopup(0); ...
1,113,065
public static void reportProgress(long progressPercentage) { if(!graphical) { printCurrentLine("--->Progress: " + progressPercentage + "%"); } else { if(progmon == null) { progmon = new ProgressMonitor(null, "Extracting dmg to iso...", "0%", 0, 100); progmon.setProgress(0); progmon.setMillisToPopup(0); ...
public static void reportProgress(long progressPercentage) { if(!graphical) { printCurrentLine("--->Progress: " + progressPercentage + "%"); } else { if(progmon == null) { progmon = new ProgressMonitor(null, "Extracting dmg to iso...", "0%", 0, 100); progmon.setProgress(0); progmon.setMillisToPopup(0); ...
1,113,066
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); login(OpheliaTestUser.JUNIT_X); final ContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); a...
protected void setUp() throws Exception { super.setUp(); login(OpheliaTestUser.JUNIT); final ContainerModel containerModel = getContainerModel(OpheliaTestUser.JUNIT); final Container container = createContainer(OpheliaTestUser.JUNIT, NAME); addDocuments(OpheliaTestUser.JUN...
1,113,067
protected void tearDown() throws Exception { datum.containerModel.removeListener(datum); datum = null; logout(OpheliaTestUser.JUNIT); logout(OpheliaTestUser.JUNIT_X); super.tearDown(); }
protected void tearDown() throws Exception { datum.containerModel.removeListener(datum); datum = null; logout(OpheliaTestUser.JUNIT); logger.logTraceId(); super.tearDown(); }
1,113,068
public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { setBackground(isSelected ? BG_SEL : BG); setText((HistoryItem) value); return this; }
public Component getListCellRendererComponent(final JList list, final Object value, final int index, final boolean isSelected, final boolean cellHasFocus) { setBackground(isSelected ? BG_SEL : BG); setText((DisplayHistoryItem) value); return this; }
1,113,074
protected void setText(final HistoryItem historyItem) { setDateText(historyItem); setEventText(historyItem); setVersionText(historyItem); }
protected void setText(final HistoryItem historyItem) { setDateText(historyItem); setEventText(historyItem); setVersionText(historyItem); }
1,113,075
DocumentListItem(final Document document, final Boolean isKeyHolder) { super("DocumentListItem"); this.isKeyHolder = isKeyHolder; setDocumentId(document.getId()); if(isClosed(document.getId())) { setMenuIcon(MENU_ICON_CLOSED); setNameForeground(NAME_FOREGROUND_CLOSED); } else { setMenuIcon(MENU_ICON); se...
DocumentListItem(final Document document, final Boolean isKeyHolder) { super("DocumentListItem"); this.isKeyHolder = isKeyHolder; setDocumentId(document.getId()); if(isClosed(document.getId())) { setMenuIcon(MENU_ICON_CLOSED); setNameForeground(NAME_FOREGROUND_CLOSED); } else { setMenuIcon(MENU_ICON); se...
1,113,076
private JMenuItem getCloseMenuItem() { if(null == closeMenuItem) { closeMenuItem = createJMenuItem(getString("Close"), getMnemonic("CloseMnemonic"), getCloseMenuItemActionListener()); } return closeMenuItem; }
private JMenuItem getCloseMenuItem() { if(null == closeMenuItem) { closeMenuItem = createJMenuItem(getString("Close"), getMnemonic("Close"), getCloseMenuItemActionListener()); } return closeMenuItem; }
1,113,077
private JMenuItem getDeleteMenuItem() { if(null == deleteMenuItem) { deleteMenuItem = createJMenuItem(getString("Delete"), getMnemonic("DeleteMnemonic"), getDeleteMenuItemActionListener()); } return deleteMenuItem; }
private JMenuItem getDeleteMenuItem() { if(null == deleteMenuItem) { deleteMenuItem = createJMenuItem(getString("Delete"), getMnemonic("Delete"), getDeleteMenuItemActionListener()); } return deleteMenuItem; }
1,113,078