bugged
stringlengths
6
599k
fixed
stringlengths
10
599k
__index_level_0__
int64
0
1.13M
public FileListTransferable(Object[] files) { fileList = new ArrayList(Arrays.asList(files)); }
public FileListTransferable(Object[] files) { fileList = new ArrayList(Arrays.asList(files)); }
1,121,044
public void dragGestureRecognized(DragGestureEvent event) { Object[] selectedValues = getSelectionModel().getSelections(); if (event.getDragAction() == DnDConstants.ACTION_COPY && selectedValues != null) { List<File> draggedValues = getSelectedFiles...
public void dragGestureRecognized(DragGestureEvent event) { Object[] selectedValues = getSelectionModel().getSelections(); if (event.getDragAction() == DnDConstants.ACTION_COPY && selectedValues != null) { List<File> draggedValues = getSelectedFiles...
1,121,046
public boolean amIDragSource(DropTargetDragEvent dtde) { Transferable trans = dtde.getTransferable(); try { List<File> fileList = (List<File>) trans .getTransferData(DataFlavor.javaFileListFlavor); List<File> selectedFiles = getSelectedFiles(); if (selec...
public boolean amIDragSource(DropTargetDragEvent dtde) { Transferable trans = dtde.getTransferable(); try { List<File> fileList = (List<File>) trans .getTransferData(DataFlavor.javaFileListFlavor); List<File> selectedFiles = getSelectedFiles(); if (selec...
1,121,047
private JComponent createFileDetailsPanel() { FileDetailsPanel fileDetailsPanel = new FileDetailsPanel( getController(), selectionModel); Preferences pref = getController().getPreferences(); // check property to enable preview // preview of images is memory hungry // ma...
private JComponent createFileDetailsPanel() { FileDetailsPanel fileDetailsPanel = new FileDetailsPanel( getController(), selectionModel); // check property to enable preview // preview of images is memory hungry // may cause OutOfMemoryErrors if (PreferencesEntr...
1,121,048
public void actionPerformed(ActionEvent e) { Object target = getUIController().getInformationQuarter() .getDisplayTarget(); final Folder folder; if (target instanceof Directory) { folder = ((Directory) target).getRootFolder(); } else if (target instanceof Folder) { ...
public void actionPerformed(ActionEvent e) { Object target = getUIController().getInformationQuarter() .getDisplayTarget(); final Folder folder; if (target instanceof Directory) { folder = ((Directory) target).getRootFolder(); } else if (target instanceof Folder) { ...
1,121,049
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
1,121,050
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
1,121,051
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
1,121,052
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
1,121,053
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
1,121,054
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
public boolean sortBy(int columnIndex) { switch (columnIndex) { case 0 : return sortBy(FileInfoComparator .getComparator(FileInfoComparator.BY_FILETYPE), true); case 1 : return sortBy(FileInfoComparator .getComparator(F...
1,121,055
public ISelection getSelection() { Control control = getControl(); if (control == null || control.isDisposed()) { return TreeSelection.EMPTY; } Widget[] items = getSelection(getControl()); ArrayList list = new ArrayList(items.length); for (int i = 0; i < items.length; i++) { Widget item = items[i]; if (ite...
public ISelection getSelection() { Control control = getControl(); if (control == null || control.isDisposed()) { return TreeSelection.EMPTY; } Widget[] items = getSelection(getControl()); ArrayList list = new ArrayList(items.length); for (int i = 0; i < items.length; i++) { Widget item = items[i]; if (ite...
1,121,056
public WorkbenchPreferenceExtensionNode(String id, IPreferencePage preferencePage) { super(id, preferencePage); }
public WorkbenchPreferenceExtensionNode(String id, IPreferencePage preferencePage) { super(id, preferencePage); }
1,121,057
protected void connect(Controller cont1, Controller cont2) throws InterruptedException, ConnectionException { Reject.ifTrue(!cont1.isStarted(), "Controller1 not started yet"); Reject.ifTrue(!cont2.isStarted(), "Controller2 not started yet"); // Connect System.out.println("Conne...
private void connect(Controller cont1, Controller cont2) throws InterruptedException, ConnectionException { Reject.ifTrue(!cont1.isStarted(), "Controller1 not started yet"); Reject.ifTrue(!cont2.isStarted(), "Controller2 not started yet"); // Connect System.out.println("Connect...
1,121,058
protected void connect(Controller cont1, Controller cont2) throws InterruptedException, ConnectionException { Reject.ifTrue(!cont1.isStarted(), "Controller1 not started yet"); Reject.ifTrue(!cont2.isStarted(), "Controller2 not started yet"); // Connect System.out.println("Conne...
protected void connect(Controller cont1, Controller cont2) throws InterruptedException, ConnectionException { Reject.ifTrue(!cont1.isStarted(), "Controller1 not started yet"); Reject.ifTrue(!cont2.isStarted(), "Controller2 not started yet"); // Connect System.out.println("Conne...
1,121,059
protected void connect(Controller cont1, Controller cont2) throws InterruptedException, ConnectionException { Reject.ifTrue(!cont1.isStarted(), "Controller1 not started yet"); Reject.ifTrue(!cont2.isStarted(), "Controller2 not started yet"); // Connect System.out.println("Conne...
protected void connect(Controller cont1, Controller cont2) throws InterruptedException, ConnectionException { Reject.ifTrue(!cont1.isStarted(), "Controller1 not started yet"); Reject.ifTrue(!cont2.isStarted(), "Controller2 not started yet"); // Connect System.out.println("Conne...
1,121,060
protected void connect(Controller cont1, Controller cont2) throws InterruptedException, ConnectionException { Reject.ifTrue(!cont1.isStarted(), "Controller1 not started yet"); Reject.ifTrue(!cont2.isStarted(), "Controller2 not started yet"); // Connect System.out.println("Conne...
protected void connect(Controller cont1, Controller cont2) throws InterruptedException, ConnectionException { Reject.ifTrue(!cont1.isStarted(), "Controller1 not started yet"); Reject.ifTrue(!cont2.isStarted(), "Controller2 not started yet"); // Connect System.out.println("Conne...
1,121,061
protected void connect(Controller cont1, Controller cont2) throws InterruptedException, ConnectionException { Reject.ifTrue(!cont1.isStarted(), "Controller1 not started yet"); Reject.ifTrue(!cont2.isStarted(), "Controller2 not started yet"); // Connect System.out.println("Conne...
protected void connect(Controller cont1, Controller cont2) throws InterruptedException, ConnectionException { Reject.ifTrue(!cont1.isStarted(), "Controller1 not started yet"); Reject.ifTrue(!cont2.isStarted(), "Controller2 not started yet"); // Connect System.out.println("Conne...
1,121,062
public Member getNode(String id) { if (id == null) { return null; } if (mySelf.getId().equals(id)) { return mySelf; } return (Member) knownNodes.get(id); }
public Member getNode(String id) { if (id == null) { return null; } if (mySelf.getId().equals(id)) { return mySelf; } return (Member) knownNodes.get(id); }
1,121,063
public Member getNode(String id) { if (id == null) { return null; } if (mySelf.getId().equals(id)) { return mySelf; } return (Member) knownNodes.get(id); }
public Member getNode(String id) { if (id == null) { return null; } if (mySelf.getId().equals(id)) { return mySelf; } return (Member) knownNodes.get(id); }
1,121,064
public static void cleanTestDir() { File testDir = getTestDir(); File[] files = testDir.listFiles(); if (files == null) { return; } System.out.println("Cleaning test dir (" + files.length + " files/dirs)"); for (File file : files) { try { ...
public static void cleanTestDir() { File testDir = getTestDir(); File[] files = testDir.listFiles(); if (files == null) { return; } System.out.println("Cleaning test dir ("+ testDir + ") (" + files.length + " files/dirs)"); for (File file : files) { ...
1,121,065
public static int len(Context c, InlineTextBox box) { return (int) Math.ceil(c.getTextRenderer().getLogicalBounds(c.getGraphics(), c.getCurrentFont(), box.getSubstring()).getWidth()); }
public static int len(Context c, InlineTextBox box) { return (int) Math.ceil(c.getTextRenderer().getLogicalBounds(c.getGraphics(), c.getCurrentFont(), box.getSubstring()).getWidth()); }
1,121,067
private void convertAndSend(Message fixMessage) { jmsOperations.convertAndSend(fixMessage); }
private void convertAndSend(Message fixMessage) { if (jmsOperations != null){ jmsOperations.convertAndSend(fixMessage); } else { internalMainLogger.error("Could not send message, not connected"); } }
1,121,068
public static void fillFieldsFromExistingMessage(Message outgoingMessage, Message existingMessage) { try { String msgType = outgoingMessage.getHeader().getString(MsgType.FIELD); DataDictionary dict = FIXDataDictionaryManager.getDictionary(); for (int fieldInt = 1; fieldInt...
public static void fillFieldsFromExistingMessage(Message outgoingMessage, Message existingMessage) { try { String msgType = outgoingMessage.getHeader().getString(MsgType.FIELD); DataDictionary dict = FIXDataDictionaryManager.getDictionary(); for (int fieldInt = 1; fieldInt...
1,121,069
public static void fillFieldsFromExistingMessage(Message outgoingMessage, Message existingMessage) { try { String msgType = outgoingMessage.getHeader().getString(MsgType.FIELD); DataDictionary dict = FIXDataDictionaryManager.getDictionary(); for (int fieldInt = 1; fieldInt...
public static void fillFieldsFromExistingMessage(Message outgoingMessage, Message existingMessage) { try { String msgType = outgoingMessage.getHeader().getString(MsgType.FIELD); DataDictionary dict = FIXDataDictionaryManager.getDictionary(); for (int fieldInt = 1; fieldInt...
1,121,070
public String getLoggerName() { String remoteInfo; if (socket != null) { InetSocketAddress addr = (InetSocketAddress) socket .getRemoteSocketAddress(); remoteInfo = addr.getAddress().getHostAddress() + "^" + addr.getPort(); } else { ...
public String getLoggerName() { String remoteInfo; if (socket != null) { InetSocketAddress addr = (InetSocketAddress) socket .getRemoteSocketAddress(); remoteInfo = addr.getAddress().getHostAddress() + "^" + addr.getPort(); } else { ...
1,121,071
public Object deserialize(InputStream in, int expectedSize, boolean expectCompression) throws IOException, ClassNotFoundException { byte[] byteIn = null; if (inBufferRef != null && inBufferRef.get() != null) { // Re-use old buffer byteIn = (byte[]) inBufferRef.get(); ...
public Object deserialize(InputStream in, int expectedSize, boolean expectCompression) throws IOException, ClassNotFoundException { byte[] byteIn = null; if (inBufferRef != null && inBufferRef.get() != null) { // Re-use old buffer byteIn = (byte[]) inBufferRef.get(); ...
1,121,072
public Object deserialize(InputStream in, int expectedSize, boolean expectCompression) throws IOException, ClassNotFoundException { byte[] byteIn = null; if (inBufferRef != null && inBufferRef.get() != null) { // Re-use old buffer byteIn = (byte[]) inBufferRef.get(); ...
public Object deserialize(InputStream in, int expectedSize, boolean expectCompression) throws IOException, ClassNotFoundException { byte[] byteIn = null; if (inBufferRef != null && inBufferRef.get() != null) { // Re-use old buffer byteIn = (byte[]) inBufferRef.get(); ...
1,121,073
public static boolean isOnLanOrLoopback(InetAddress addr) { Reject.ifNull(addr, "Address is null"); return addr.isLoopbackAddress() || addr.isSiteLocalAddress(); }
public static boolean isOnLanOrLoopback(InetAddress addr) { Reject.ifNull(addr, "Address is null"); try { return addr.isLoopbackAddress() || addr.isSiteLocalAddress() || getAllLocalNetworkAddresses().containsKey(addr); } catch (SocketException e) { return false; } }
1,121,074
protected void clear(){ Control[] children = form.getBody().getChildren(); for (Control control : children) { if (control instanceof FIXComposite) { FIXComposite composite = (FIXComposite) control; composite.clear(); } } }
protected void clear(){ Control[] children = form.getBody().getChildren(); for (Control control : children) { if (control instanceof FIXComposite) { FIXComposite composite = (FIXComposite) control; composite.clear(); } } }
1,121,075
public void createPartControl(Composite parent) { toolkit = new FormToolkit(parent.getDisplay()); form = toolkit.createForm(parent); // form.setText("Stock Order Ticket"); GridLayout layout = new GridLayout(); form.getBody().setLayout(layout); // FIXDataDictionaryManager.loadDictionary(FIXDataDictionaryManager.F...
public void createPartControl(Composite parent) { toolkit = new FormToolkit(parent.getDisplay()); form = toolkit.createForm(parent); // form.setText("Stock Order Ticket"); GridLayout layout = new GridLayout(); form.getBody().setLayout(layout); // FIXDataDictionaryManager.loadDictionary(FIXDataDictionaryManager.F...
1,121,076
public void mouseUp(MouseEvent e) { handleCancel(); }
public void mouseUp(MouseEvent e) { handleSend(); }
1,121,077
protected void handleCancel() { clear(); validateForm(); }
protected void handleCancel() { clear(); }
1,121,078
protected void handleSend() { try { String orderID = Application.getIDFactory().getNext(); Message aMessage = FIXMessageUtil.newLimitOrder(new InternalID(orderID), Side.BUY, BigDecimal.ZERO, new MSymbol(""), BigDecimal.ZERO, TimeInForce.DAY, null); aMessage.removeField(Side.FIELD); ...
protected void handleSend() { try { validator.validateAll(); String orderID = Application.getIDFactory().getNext(); Message aMessage = FIXMessageUtil.newLimitOrder(new InternalID(orderID), Side.BUY, BigDecimal.ZERO, new MSymbol(""), BigDecimal.ZERO, TimeInForce.DAY, null); aMessage.re...
1,121,079
protected void handleSend() { try { String orderID = Application.getIDFactory().getNext(); Message aMessage = FIXMessageUtil.newLimitOrder(new InternalID(orderID), Side.BUY, BigDecimal.ZERO, new MSymbol(""), BigDecimal.ZERO, TimeInForce.DAY, null); aMessage.removeField(Side.FIELD); ...
protected void handleSend() { try { String orderID = Application.getIDFactory().getNext(); Message aMessage = FIXMessageUtil.newLimitOrder(new InternalID(orderID), Side.BUY, BigDecimal.ZERO, new MSymbol(""), BigDecimal.ZERO, TimeInForce.DAY, null); aMessage.removeField(Side.FIELD); ...
1,121,080
protected void handleSend() { try { String orderID = Application.getIDFactory().getNext(); Message aMessage = FIXMessageUtil.newLimitOrder(new InternalID(orderID), Side.BUY, BigDecimal.ZERO, new MSymbol(""), BigDecimal.ZERO, TimeInForce.DAY, null); aMessage.removeField(Side.FIELD); ...
protected void handleSend() { try { String orderID = Application.getIDFactory().getNext(); Message aMessage = FIXMessageUtil.newLimitOrder(new InternalID(orderID), Side.BUY, BigDecimal.ZERO, new MSymbol(""), BigDecimal.ZERO, TimeInForce.DAY, null); aMessage.removeField(Side.FIELD); ...
1,121,082
public FIXEnumeratedComposite(Composite parent, int style, FormToolkit toolkit, int fixFieldNumber, DataDictionary dict, String[] valuesToDisplay) { super(parent, style, toolkit, fixFieldNumber); this.setLayout(new RowLayout(SWT.HORIZONTAL)); label = toolkit.createLabel(this, dict.getFieldName(fixFieldNumber) ...
public FIXEnumeratedComposite(Composite parent, int style, FormToolkit toolkit, int fixFieldNumber, DataDictionary dict, String[] valuesToDisplay) { super(parent, style, toolkit, fixFieldNumber); this.setLayout(new RowLayout(SWT.HORIZONTAL)); toolkit.createLabel(this, dict.getFieldName(fixFieldNumber) + ": "...
1,121,083
public FIXEnumeratedComposite(Composite parent, int style, FormToolkit toolkit, int fixFieldNumber, DataDictionary dict, String[] valuesToDisplay) { super(parent, style, toolkit, fixFieldNumber); this.setLayout(new RowLayout(SWT.HORIZONTAL)); label = toolkit.createLabel(this, dict.getFieldName(fixFieldNumber) ...
public FIXEnumeratedComposite(Composite parent, int style, FormToolkit toolkit, int fixFieldNumber, DataDictionary dict, String[] valuesToDisplay) { super(parent, style, toolkit, fixFieldNumber); this.setLayout(new RowLayout(SWT.HORIZONTAL)); label = toolkit.createLabel(this, dict.getFieldName(fixFieldNumber) ...
1,121,084
public FIXEnumeratedComposite(Composite parent, int style, FormToolkit toolkit, int fixFieldNumber, DataDictionary dict, String[] valuesToDisplay) { super(parent, style, toolkit, fixFieldNumber); this.setLayout(new RowLayout(SWT.HORIZONTAL)); label = toolkit.createLabel(this, dict.getFieldName(fixFieldNumber) ...
public FIXEnumeratedComposite(Composite parent, int style, FormToolkit toolkit, int fixFieldNumber, DataDictionary dict, String[] valuesToDisplay) { super(parent, style, toolkit, fixFieldNumber); this.setLayout(new RowLayout(SWT.HORIZONTAL)); label = toolkit.createLabel(this, dict.getFieldName(fixFieldNumber) ...
1,121,085
public FIXStringComposite(Composite parent, int style, FormToolkit toolkit, int fixFieldNumber) { super(parent, style, toolkit, fixFieldNumber); this.setLayout(new RowLayout(SWT.HORIZONTAL)); toolkit.createLabel(this, FIXDataDictionaryManager.getHumanFieldName(fixFieldNumber)+": "); textField = toolkit.createText(...
public FIXStringComposite(Composite parent, int style, FormToolkit toolkit, int fixFieldNumber) { super(parent, style, toolkit, fixFieldNumber); this.setLayout(new RowLayout(SWT.HORIZONTAL)); label = toolkit.createLabel(this, FIXDataDictionaryManager.getHumanFieldName(fixFieldNumber)+": "); textField = toolkit.cre...
1,121,086
public InternalID(String internalID) { if (internalID == null) throw new IllegalArgumentException("ID must not be null"); mID = internalID; }
public InternalID(String internalID) { if (internalID == null) throw new IllegalArgumentException(MessageKey.ERROR_NULL_ID.getLocalizedMessage()); mID = internalID; }
1,121,087
public void handleInternalMessage(Message aMessage) throws FieldNotFound, MarketceteraException, JMSException { fireOrderActionOccurred(aMessage); if (FIXMessageUtil.isOrderSingle(aMessage)) { addNewOrder(aMessage); } else if (FIXMessageUtil.isCancelRequest(aMessage)) { cancelOneOrder(aMessage); } else if (F...
public void handleInternalMessage(Message aMessage) throws FieldNotFound, MarketceteraException, JMSException { fireOrderActionOccurred(aMessage); if (FIXMessageUtil.isOrderSingle(aMessage)) { addNewOrder(aMessage); } else if (FIXMessageUtil.isCancelRequest(aMessage)) { cancelOneOrder(aMessage); } else if (F...
1,121,088
public ActionDescriptor(IConfigurationElement actionElement, int targetType, Object target) { // Load attributes. id = actionElement.getAttribute(ATT_ID); pluginId = actionElement.getDeclaringExtension().getNamespace(); String label = actionElement.getAttribute(ATT_LABEL); ...
public ActionDescriptor(IConfigurationElement actionElement, int targetType, Object target) { // Load attributes. id = actionElement.getAttribute(ATT_ID); pluginId = actionElement.getDeclaringExtension().getNamespace(); String label = actionElement.getAttribute(ATT_LABEL); ...
1,121,089
public String getID() { throw new NotImplementedException(); }
public String getID() { return scriptWorkspacePath; }
1,121,090
public String getScript() { throw new NotImplementedException(); }
public String getScript() { return scriptContent; }
1,121,091
public RubyIO(Ruby ruby, RubyClass type) { super(ruby, type); }
protected RubyIO(Ruby ruby, RubyClass type) { super(ruby, type); }
1,121,092
public static RubyArray newArray(Ruby runtime, IRubyObject obj) { ArrayList list = new ArrayList(1); list.add(obj); return new RubyArray(runtime, list); }
public static RubyArray newArray(Ruby runtime, IRubyObject obj) { ArrayList list = new ArrayList(1); list.add(obj); return new RubyArray(runtime, list); }
1,121,093
public RegistryPageContributor(String pageId, IConfigurationElement element, Collection keywordIds) { this(pageId,element); keywordReferences = keywordIds; }
public RegistryPageContributor(String pageId, IConfigurationElement element, Collection keywordIds) { this(pageId,element); keywordReferences = keywordIds; }
1,121,094
public static Test suite() { try { sOMS = new MyOMS(CONFIG_FILE); sOMS.init(); sOMS.run(); } catch (Exception e) { LoggerAdapter.error("Unable to initialize OMS", e, OrderManagementSystemIT.class.getName()); fail("Unable to init OMS"); }...
public static Test suite() { try { sOMS = new MyOMS(CONFIG_FILE); sOMS.init(); sOMS.run(); } catch (Exception e) { LoggerAdapter.error("Unable to initialize OMS", e, OrderManagementSystemIT.class.getName()); fail("Unable to init OMS"); }...
1,121,095
public static void error(String msg, Throwable ex, Object inCat) { getMyLogger(inCat).log(WRAPPER_FQCN, Level.ERROR, msg, ex); }
public static void error(String msg, Object inCat) { getMyLogger(inCat).log(WRAPPER_FQCN, Level.ERROR, msg, ex); }
1,121,096
public static void error(String msg, Throwable ex, Object inCat) { getMyLogger(inCat).log(WRAPPER_FQCN, Level.ERROR, msg, ex); }
public static void error(String msg, Throwable ex, Object inCat) { getMyLogger(inCat).log(WRAPPER_FQCN, Level.ERROR, msg, null); }
1,121,097
public MarketceteraTestSuite(Class aClass, String string) { super(aClass, string); init(); }
public MarketceteraTestSuite(Class aClass, String string) { super(aClass, string); init(); }
1,121,098
public JMSAdapter(String initialContextFactoryName, String providerURL, String connectionFactoryName, boolean explicitDestinationCreation) { mOutgoingQueueSessions = new HashMap<String, QueueSession>(); mOutgoingQueues = new HashMap<String, Queue>(); mOutgoingQueueSenders =...
public JMSAdapter(String initialContextFactoryName, String providerURL, String connectionFactoryName, boolean explicitDestinationCreation) { mOutgoingQueueSessions = new HashMap<String, QueueSession>(); mOutgoingQueues = new HashMap<String, Queue>(); mOutgoingQueueSenders =...
1,121,099
public void start() { for (Connection aConnection : mConnections.values()) { try { aConnection.start(); LoggerAdapter.debug("Adapter for "+mProviderURL + " started for client "+aConnection.getClientID(), this); } catch (JMSException ex) { Log...
public void start() { for (Connection aConnection : mConnections.values()) { try { aConnection.start(); LoggerAdapter.debug("Adapter for "+mProviderURL + " started for client "+aConnection.getClientID(), this); } catch (JMSException ex) { Log...
1,121,100
protected void setUp() throws Exception { System.out.println("DeletionSyncTest.setUp()"); super.setUp(); makeFriends(); setupTestFolder(SyncProfile.MANUAL_DOWNLOAD); }
protected void setUp() throws Exception { System.out.println("DeletionSyncTest.setUp()"); super.setUp(); makeFriends(); joinTestFolder(SyncProfile.MANUAL_DOWNLOAD); }
1,121,101
public void setUp() throws Exception { // Remove directries FileUtils.deleteDirectory(new File(location)); super.setUp(); FolderInfo testFolder = new FolderInfo("testFolder", IdGenerator .makeId(), true); folder = getController().getFolderRepository().createFolder(testF...
public void setUp() throws Exception { // Remove directries FileUtils.deleteDirectory(new File(location)); super.setUp(); FolderInfo testFolder = new FolderInfo("testFolder", IdGenerator .makeId(), true); folder = getController().getFolderRepository().createFolder(testF...
1,121,102
public void analyseConnection() { if (getRemoteAddress() != null && getRemoteAddress().getAddress() != null) { // The NetworkHelper class supports only windows atm if (OSUtil.isWindowsSystem()) { try { //FIXME Bytekeeper please fix!!! ...
public void analyseConnection() { if (getRemoteAddress() != null && getRemoteAddress().getAddress() != null) { // The NetworkHelper class supports only windows atm if (OSUtil.isWindowsSystem()) { try { //FIXME Bytekeeper please fix!!! ...
1,121,103
public FIXMatcher(int fixField, T value) { matcherFIXField = fixField; matcherValue = value; }
public FIXMatcher(int fixField, T value) { matcherFIXField = fixField; matcherValue = value; }
1,121,105
public ShowHeartbeatsAction(FIXMessagesView view) { this.view = view; setId(ID); setText("&Show heartbeats"); setToolTipText("Show heartbeats"); setImageDescriptor(PhotonPlugin.getImageDescriptor(IImageKeys.SHOW_HEARTBEATS)); setChecked(true); }
public ShowHeartbeatsAction(FIXMessagesView view) { this.view = view; setId(ID); setText("&Show heartbeats"); setToolTipText("Show heartbeats"); setImageDescriptor(PhotonPlugin.getImageDescriptor(IImageKeys.SHOW_HEARTBEATS)); setChecked(false); }
1,121,106
public String getCookiesAsHTTPString(String host) { if (getCookies() == null) { return null; } String cookiesString = ""; // insert all cookies for (String name : getCookies().keySet()) { String value = getCookies().get(name); Calendar calNow = new...
public String getCookiesAsHTTPString(String host) { if (getCookies() == null) { return null; } String cookiesString = ""; // insert all cookies for (String name : getCookies().keySet()) { String value = getCookies().get(name); Calendar calNow = new...
1,121,107
public String getDyndnsViaHTTP() { String ipAddr = ""; try { URL dyndns = new URL("http://checkip.dyndns.org/"); URLConnection urlConn = dyndns.openConnection(); int length = urlConn.getContentLength(); ByteArrayOutputStream tempBuffer; if (length...
public String getDyndnsViaHTTP() { String ipAddr = ""; try { URL dyndns = new URL("http://checkip.dyndns.org/"); URLConnection urlConn = dyndns.openConnection(); int length = urlConn.getContentLength(); ByteArrayOutputStream tempBuffer; if (length...
1,121,108
public void testDuplicateRequestedUpload() throws ConnectionException { // Create a 10 megs file TestHelper.createRandomFile(folderBart.getLocalBase(), 10000000); folderBart.forceScanOnNextMaintenance(); folderBart.maintain(); // wait for 1 active upload TestHelper....
public void testDuplicateRequestedUpload() throws ConnectionException { // Create a 10 megs file TestHelper.createRandomFile(folderBart.getLocalBase(), 10000000); folderBart.forceScanOnNextMaintenance(); folderBart.maintain(); // wait for 1 active upload TestHelper....
1,121,109
public static com.liferay.portal.model.Group getGroup( java.lang.String companyId, java.lang.String name) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { GroupLocalService groupLocalService = GroupLocalServiceFactory.getService(); return groupLocalService.getGroup(compan...
public static com.liferay.portal.model.Group getGroup( java.lang.String groupId) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { GroupLocalService groupLocalService = GroupLocalServiceFactory.getService(); return groupLocalService.getGroup(companyId, name); } catch (co...
1,121,110
public static com.liferay.portal.model.Group getGroup( java.lang.String companyId, java.lang.String name) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { GroupLocalService groupLocalService = GroupLocalServiceFactory.getService(); return groupLocalService.getGroup(compan...
public static com.liferay.portal.model.Group getGroup( java.lang.String companyId, java.lang.String name) throws com.liferay.portal.PortalException, com.liferay.portal.SystemException { try { GroupLocalService groupLocalService = GroupLocalServiceFactory.getService(); return groupLocalService.getGroup(groupI...
1,121,111
private Component getProblemComponent(FileInfo fileInfo) { // display only first problem FilenameProblem problem = scanResult.getProblemFiles() .get(fileInfo).get(0); JLabel label = SimpleComponentFactory.createLabel(problem .shortDescription()); ...
private Component getProblemComponent(FileInfo fileInfo) { // display only first problem FilenameProblem problem = scanResult.getProblemFiles() .get(fileInfo).get(0); JLabel label = SimpleComponentFactory.createLabel(problem .shortDescription()); ...
1,121,112
private Component getSolutionComponent(final FileInfo fileInfo) { if (solutionsPanelCache.containsKey(fileInfo)) { return solutionsPanelCache.get(fileInfo); } JRadioButton nothingRadioButton = new JRadioButton(Translation .getTranslation("filenamepr...
private Component getSolutionComponent(final FileInfo fileInfo) { if (solutionsPanelCache.containsKey(fileInfo)) { return solutionsPanelCache.get(fileInfo); } JRadioButton nothingRadioButton = new JRadioButton(Translation .getTranslation("filenamepr...
1,121,113
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { FileInfo fileInfo = (FileInfo)value; switch (column) { case FILENAME_COLUMN : { JLabel labe...
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { FileInfo fileInfo = (FileInfo)value; switch (column) { case FILENAME_COLUMN : { JLabel labe...
1,121,114
private JPanel createToolbar() { JButton cancel = new JButton(Translation .getTranslation("general.cancel")); cancel.setMnemonic(Translation.getTranslation("general.cancel.key") .trim().charAt(0)); JButton ok = new JButton(Translation.getTranslation("general.ok")); ...
private JPanel createToolbar() { JButton cancel = new JButton(Translation .getTranslation("general.cancel")); cancel.setMnemonic(Translation.getTranslation("general.cancel.key") .trim().charAt(0)); JButton ok = new JButton(Translation.getTranslation("general.ok")); ...
1,121,115
private Component getUIComponent() { if (panel == null) { initComponents(); FormLayout layout = new FormLayout("fill:pref:grow", "7dlu, pref, 7dlu, fill:pref:grow, pref, pref"); PanelBuilder builder = new PanelBuilder(layout); CellConstraints cc = ne...
private JComponent getUIComponent() { if (panel == null) { initComponents(); FormLayout layout = new FormLayout("fill:pref:grow", "7dlu, pref, 7dlu, fill:pref:grow, pref, pref"); PanelBuilder builder = new PanelBuilder(layout); CellConstraints cc = n...
1,121,116
private Component getUIComponent() { if (panel == null) { initComponents(); FormLayout layout = new FormLayout("fill:pref:grow", "7dlu, pref, 7dlu, fill:pref:grow, pref, pref"); PanelBuilder builder = new PanelBuilder(layout); CellConstraints cc = ne...
private Component getUIComponent() { if (panel == null) { initComponents(); FormLayout layout = new FormLayout("fill:pref:grow", "7dlu, pref, 7dlu, fill:pref:grow, pref, pref"); PanelBuilder builder = new PanelBuilder(layout); CellConstraints cc = ne...
1,121,117
private Component getUIComponent() { if (panel == null) { initComponents(); FormLayout layout = new FormLayout("fill:pref:grow", "7dlu, pref, 7dlu, fill:pref:grow, pref, pref"); PanelBuilder builder = new PanelBuilder(layout); CellConstraints cc = ne...
private Component getUIComponent() { if (panel == null) { initComponents(); FormLayout layout = new FormLayout("fill:pref:grow", "7dlu, pref, 7dlu, fill:pref:grow, pref, pref"); PanelBuilder builder = new PanelBuilder(layout); CellConstraints cc = ne...
1,121,118
private void initComponents() { table = new JTable(new ProblemTableModel()); ProblemTableCellRenderer problemTableCellRenderer = new ProblemTableCellRenderer(); table.setDefaultRenderer(Object.class, problemTableCellRenderer); table.setDefaultEditor(Object.class, problemTableCellRenderer...
private void initComponents() { table = new JTable(new ProblemTableModel()); ProblemTableCellRenderer problemTableCellRenderer = new ProblemTableCellRenderer(); table.setDefaultRenderer(Object.class, problemTableCellRenderer); table.setDefaultEditor(Object.class, problemTableCellRenderer...
1,121,119
private void initComponents() { table = new JTable(new ProblemTableModel()); ProblemTableCellRenderer problemTableCellRenderer = new ProblemTableCellRenderer(); table.setDefaultRenderer(Object.class, problemTableCellRenderer); table.setDefaultEditor(Object.class, problemTableCellRenderer...
private void initComponents() { table = new JTable(new ProblemTableModel()); ProblemTableCellRenderer problemTableCellRenderer = new ProblemTableCellRenderer(); table.setDefaultRenderer(Object.class, problemTableCellRenderer); table.setDefaultEditor(Object.class, problemTableCellRenderer...
1,121,120
public void open() { dialog = new JDialog(getUIController().getMainFrame().getUIComponent(), Translation.getTranslation("filenameproblem.dialog.title"), true); // modal dialog.getContentPane().add(getUIComponent()); dialog.pack(); dialog.setVisible(true); }
public void open() { dialog = new JDialog(getUIController().getMainFrame().getUIComponent(), Translation.getTranslation("filenameproblem.dialog.title"), true); // modal dialog.setContentPane(getUIComponent()); dialog.pack(); dialog.setVisible(true); }
1,121,121
private void setColumnSizes(JTable table) { table.setRowHeight(65); // otherwise the table header may not be visible: table.getTableHeader().setPreferredSize(new Dimension(600, 20)); TableColumn column = table.getColumn(table.getColumnName(0)); column.setPreferredWidth(150); ...
private void setColumnSizes(JTable table) { table.setRowHeight(65); // otherwise the table header may not be visible: table.getTableHeader().setPreferredSize(new Dimension(600, 20)); TableColumn column = table.getColumn(table.getColumnName(0)); column.setPreferredWidth(150); ...
1,121,123
public final String describeProblem() { switch (problemType) { case CONTAINS_ILLEGAL_LINUX_CHARS : return "The filename contains characters that may cause problems on Unix/Linux computers.\nThe character / is not allowed on those computers"; case CONTAINS_ILLEGAL_MACOSX_C...
public String describeProblem() { switch (problemType) { case CONTAINS_ILLEGAL_LINUX_CHARS : return "The filename contains characters that may cause problems on Unix/Linux computers.\nThe character / is not allowed on those computers"; case CONTAINS_ILLEGAL_MACOSX_CHARS :...
1,121,124
public final String describeProblem() { switch (problemType) { case CONTAINS_ILLEGAL_LINUX_CHARS : return "The filename contains characters that may cause problems on Unix/Linux computers.\nThe character / is not allowed on those computers"; case CONTAINS_ILLEGAL_MACOSX_C...
public final String describeProblem() { switch (problemType) { case CONTAINS_ILLEGAL_LINUX_CHARS : return "The filename contains characters that may cause problems on Unix/Linux computers.\nThe character / is not allowed on those computers"; case CONTAINS_ILLEGAL_MACOSX_C...
1,121,125
public Message getLatestMessageForFields(FieldMap fields) { for (int i = messageList.size() - 1; i >= 0; i--) { MessageHolder holder = messageList.get(i); Message message = holder.getMessage(); Iterator fieldMapIterator = fields.iterator(); boolean found = true; while (fieldMapIterator.hasNext()) { Field...
public Message getLatestMessageForFields(FieldMap fields) { for (int i = messageList.size() - 1; i >= 0; i--) { MessageHolder holder = messageList.get(i); Message message = holder.getMessage(); Iterator fieldMapIterator = fields.iterator(); boolean found = true; while (fieldMapIterator.hasNext()) { Field...
1,121,126
public ConcreteMarker getMarker(int index) { return markers[index]; }
public ConcreteMarker getMarker(int index) { return markers[index]; }
1,121,127
private static void addDetailInfo(StringBuffer b, Member m) { if (b == null || m == null) { return; } if (m.isMySelf()) { b.append("(myself) "); } else if (m.isConnected()) { if (m.isOnLAN()) { b.append("(local) "); } else { ...
private static void addDetailInfo(StringBuffer b, Member m) { if (b == null || m == null) { return; } if (m.isMySelf()) { b.append("(myself) "); } else if (m.isConnected()) { if (m.isOnLAN()) { b.append("(local) "); } else { ...
1,121,128
public void verbose(Object str) { log(VERBOSE, str == null ? null : str.toString(), null); }
public void verbose(Object str) { log(VERBOSE, str == null ? null : str.toString(), null); }
1,121,130
public void testCancelOrder() throws ParserException, NoMoreIDsException, FieldNotFound{ Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String command; command = "C 12345"; aParser.setInput(command); Message aMessage = (Message)aParser.command().mResults.get(0); ...
public void testCancelOrder() throws ParserException, NoMoreIDsException, FieldNotFound{ Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String command; command = "C 12345"; aParser.setInput(command); Message aMessage = (Message)aParser.command().mResults.get(0); ...
1,121,131
public void testCancelOrder() throws ParserException, NoMoreIDsException, FieldNotFound{ Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String command; command = "C 12345"; aParser.setInput(command); Message aMessage = (Message)aParser.command().mResults.get(0); ...
public void testCancelOrder() throws ParserException, NoMoreIDsException, FieldNotFound{ Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String command; command = "C 12345"; aParser.setInput(command); Message aMessage = (Message)aParser.command().mResults.get(0); ...
1,121,132
public void testCancelOrder() throws ParserException, NoMoreIDsException, FieldNotFound{ Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String command; command = "C 12345"; aParser.setInput(command); Message aMessage = (Message)aParser.command().mResults.get(0); ...
public void testCancelOrder() throws ParserException, NoMoreIDsException, FieldNotFound{ Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String command; command = "C 12345"; aParser.setInput(command); Message aMessage = (Message)aParser.command().mResults.get(0); ...
1,121,133
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,134
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,135
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,136
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,137
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,138
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,139
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,140
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,141
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,142
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,143
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,144
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,145
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,146
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
public void testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10)); String order; order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.O...
1,121,147
protected void execute() throws Throwable { String innerOrder = "A 100 IBM 94.8 DAY AAA?A/a-A"; Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command(); ...
protected void execute() throws Throwable { String innerOrder = "A 100 IBM 94.8 DAY AAA?A/a-A"; Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command(); ...
1,121,148
protected void execute() throws Throwable { String innerOrder = "SS A IBM 94.8 DAY AAA?A/a-A"; Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command(); ...
protected void execute() throws Throwable { String innerOrder = "SS A IBM 94.8 DAY AAA?A/a-A"; Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command(); ...
1,121,149