rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
LoggerAdapter.error("Exception starting JMS connection", ex, this);
LoggerAdapter.error(MessageKey.JMS_CONNECTION_START_ERROR.getLocalizedMessage(), ex, this);
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...
setupTestFolder(SyncProfile.MANUAL_DOWNLOAD);
joinTestFolder(SyncProfile.MANUAL_DOWNLOAD);
protected void setUp() throws Exception { System.out.println("DeletionSyncTest.setUp()"); super.setUp(); makeFriends(); setupTestFolder(SyncProfile.MANUAL_DOWNLOAD); }
folder.scanLocalFiles(true);
folder.forceScanOnNextMaintenance(); folder.maintain();
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...
setOnLAN(NetworkUtil.isOnAnySubnet((Inet4Address) getRemoteAddress().getAddress()));
Inet4Address addr = (Inet4Address) getRemoteAddress().getAddress(); setOnLAN(NetworkUtil.isOnAnySubnet(addr) || NetworkUtil.isOnLanOrLoopback(addr));
public void analyseConnection() { if (getRemoteAddress() != null && getRemoteAddress().getAddress() != null) { // The NetworkHelper class supports only windows atm if (OSUtil.isWindowsSystem()) { try { //FIXME Bytekeeper please fix!!! ...
assertEquals(FIXDataDictionaryManager.FIX_4_2_BEGIN_STRING, FIXDataDictionaryManager.getDictionary().getVersion());
public void disabled_testRealOMSStartup() throws Exception { ClassPathXmlApplicationContext appContext = new ClassPathXmlApplicationContext("oms.xml"); Thread.sleep(3000); assert(appContext.isRunning()); }
matcherFIXField = fixField; matcherValue = value;
this(fixField, value, true);
public FIXMatcher(int fixField, T value) { matcherFIXField = fixField; matcherValue = value; }
setChecked(true);
setChecked(false);
public ShowHeartbeatsAction(FIXMessagesView view) { this.view = view; setId(ID); setText("&Show heartbeats"); setToolTipText("Show heartbeats"); setImageDescriptor(PhotonPlugin.getImageDescriptor(IImageKeys.SHOW_HEARTBEATS)); setChecked(true); }
log().debug(cookiesString);
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...
Logger.getLogger(ConnectionListener.class).warn( "Received '" + ipText + "' from " + dyndns);
log().verbose("Received '" + ipText + "' from " + dyndns);
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...
getContollerLisa().getTransferManager().getActiveDownload(testFile) .abortAndCleanup();
Download dl = getContollerLisa().getTransferManager().getActiveDownload(testFile); if (dl != null) { dl.abortAndCleanup(); }
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....
java.lang.String companyId, java.lang.String name)
java.lang.String groupId)
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...
return groupLocalService.getGroup(companyId, name);
return groupLocalService.getGroup(groupId);
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...
panel.setBorder(new EmptyBorder(4, 4, 4, 4));
panel .setBorder(Borders.createEmptyBorder("3dlu, 3dlu, 3dlu, 3dlu"));
private Component getProblemComponent(FileInfo fileInfo) { // display only first problem FilenameProblem problem = scanResult.getProblemFiles() .get(fileInfo).get(0); JLabel label = SimpleComponentFactory.createLabel(problem .shortDescription()); ...
panel.setBorder(new EmptyBorder(4, 4, 4, 4));
panel .setBorder(Borders.createEmptyBorder("3dlu, 3dlu, 3dlu, 3dlu"));
private Component getSolutionComponent(final FileInfo fileInfo) { if (solutionsPanelCache.containsKey(fileInfo)) { return solutionsPanelCache.get(fileInfo); } JRadioButton nothingRadioButton = new JRadioButton(Translation .getTranslation("filenamepr...
label.setBorder(new EmptyBorder(4, 4, 4, 4));
label.setBorder(Borders .createEmptyBorder("3dlu, 3dlu, 3dlu, 3dlu"));
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...
buttons.setBorder(new EmptyBorder(10, 10, 10, 10));
buttons.setBorder(Borders.createEmptyBorder("7dlu, 7dlu, 7dlu, 7dlu"));
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 Component getUIComponent() {
private JComponent getUIComponent() {
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...
FormLayout layout = new FormLayout("fill:pref:grow", "7dlu, pref, 7dlu, fill:pref:grow, pref, pref");
FormLayout layout = new FormLayout("4dlu, fill:pref:grow, 4dlu", "7dlu, pref, 7dlu, fill:pref:grow, pref");
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...
JLabel jLabel = SimpleComponentFactory .createBigTextLabel(Translation .getTranslation("filenameproblem.dialog.description")); builder.add(jLabel, cc.xy(1, 2)); builder.add(tableScroller, cc.xy(1, 4)); builder.addSeparator(null, cc.xy(1, 5)); builder.add(toolbar, cc.xy(1, 6));
builder.add(SimpleComponentFactory.createBigTextLabel(Translation .getTranslation("filenameproblem.dialog.description")), cc.xy( 2, 2)); builder.add(tableScroller, cc.xy(2, 4)); builder.add(toolbar, cc.xy(2, 5));
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...
toolbar = createToolbar(); setColumnSizes(table);
private void initComponents() { table = new JTable(new ProblemTableModel()); ProblemTableCellRenderer problemTableCellRenderer = new ProblemTableCellRenderer(); table.setDefaultRenderer(Object.class, problemTableCellRenderer); table.setDefaultEditor(Object.class, problemTableCellRenderer...
UIUtil.removeBorder(tableScroller);
tableScroller.setPreferredSize(new Dimension(500, rowHeigth * problemList.size() + table.getTableHeader().getHeight()));
private void initComponents() { table = new JTable(new ProblemTableModel()); ProblemTableCellRenderer problemTableCellRenderer = new ProblemTableCellRenderer(); table.setDefaultRenderer(Object.class, problemTableCellRenderer); table.setDefaultEditor(Object.class, problemTableCellRenderer...
dialog.getContentPane().add(getUIComponent());
dialog.setContentPane(getUIComponent());
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); }
Component parent = dialog.getOwner(); int x = parent.getX() + (parent.getWidth() - dialog.getWidth()) / 2; int y = parent.getY() + (parent.getHeight() - dialog.getHeight()) / 2; dialog.setLocation(x, y);
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); }
table.setRowHeight(65); table.getTableHeader().setPreferredSize(new Dimension(600, 20));
table.setRowHeight(rowHeigth); table.setPreferredSize(new Dimension(600, rowHeigth * problemList.size() + table.getTableHeader().getHeight()));
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); ...
public final String describeProblem() {
public String describeProblem() {
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...
return "The filename ends with characters that may cause problems on Windows computers.\nThe characters . and space ( ) are not allowed as last\ncharacters on those computers";
return "The filename ends with characters that may cause problems on Windows computers.\nThe characters . and space ( ) are not allowed as last characters on those computers";
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...
e.printStackTrace();
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 ConcreteMarker getMarker(int index) { return markers[index]; }
public ConcreteMarker getMarker(IMarker toFind) { return (ConcreteMarker) getMarkerMap().get(toFind); }
public ConcreteMarker getMarker(int index) { return markers[index]; }
if (m.isMySelf()) { b.append("(myself) "); } else if (m.isConnected()) { if (m.isOnLAN()) { b.append("(local) "); } else { b.append("(i-net) "); } } else if (m.isConnectedToNetwork()) { b.append("(online) "); } else { b.append("(offl.) "); } if (m.getInfo().isSupernode) { b.append("(s) "); } b.append(m); Identity id...
b.append(toDetailInfo(m));
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 { ...
if (getConnectionListener() == null) { return true; }
public boolean hasLimitedConnectivity() { boolean limitedConnectivity = !getConnectionListener() .hasIncomingConnections(); synchronized (additionalConnectionListeners) { for (Iterator it = additionalConnectionListeners.iterator(); it .hasNext();) { ...
public void verbose(Object str) { log(VERBOSE, str == null ? null : str.toString(), null);
public void verbose(Throwable throwable) { if (throwable != null) { log(VERBOSE, null, throwable); }
public void verbose(Object str) { log(VERBOSE, str == null ? null : str.toString(), null); }
public void testCancelOrder() throws ParserException, NoMoreIDsException, FieldNotFound{ Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10));
public void testCancelOrder() throws NoMoreIDsException, FieldNotFound{ CommandParser aParser = new CommandParser(); aParser.setIDFactory(new InMemoryIDFactory(10));
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); ...
aParser.setInput(command); Message aMessage = (Message)aParser.command().mResults.get(0); assertEquals(MsgType.ORDER_CANCEL_REQUEST, aMessage.getHeader().getString(MsgType.FIELD)); assertEquals("12345", aMessage.getString(OrigClOrdID.FIELD));
CancelCommand comm = (CancelCommand)aParser.parseCommand(command); assertEquals("12345", comm.getID());
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); ...
command = "C 12345 12345"; aParser.setInput(command); for (Object loopMessage : aParser.command().mResults){ assertEquals(MsgType.ORDER_CANCEL_REQUEST, ((Message)loopMessage).getHeader().getString(MsgType.FIELD)); assertEquals("12345", ((Message)loopMessage).getString(OrigClOrdID.FIELD)); } (new ExpectedTestFailure(Pa...
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 testNewOrder() throws ParserException, NoMoreIDsException, FieldNotFound { Parser aParser = new Parser(); aParser.init(new InMemoryIDFactory(10));
public void testNewOrder() throws NoMoreIDsException, FieldNotFound { CommandParser aParser = new CommandParser(); aParser.setIDFactory(new InMemoryIDFactory(10));
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...
order = "B 100 IBM 1"; aParser.setInput(order); ParsedCommand command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("1"), TimeInForce.DAY, null);
order = "B 100 IBM 1."; MessageCommand command = aParser.parseNewOrder(order); Message result = command.getMessage(); verifyNewOrder(result, Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("1"), TimeInForce.DAY, null);
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...
aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.SELL_SHORT, new BigDecimal("1234"), "IBM", new BigDecimal("1.8"), TimeInForce.DAY, null);
command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.SELL_SHORT, new BigDecimal("1234"), "IBM", new BigDecimal("1.8"), TimeInForce.DAY, null);
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...
aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.SELL_SHORT_EXEMPT, new BigDecimal("999"), "IBM", new BigDecimal(".7"), TimeInForce.DAY, null);
command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.SELL_SHORT_EXEMPT, new BigDecimal("999"), "IBM", new BigDecimal(".7"), TimeInForce.DAY, null);
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...
aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.SELL, new BigDecimal("0"), "IBM", new BigDecimal("0.0"), TimeInForce.DAY, null);
command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.SELL, new BigDecimal("0"), "IBM", new BigDecimal("0.0"), TimeInForce.DAY, null);
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...
aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.DAY, null);
command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.DAY, null);
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...
aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.AT_THE_OPENING, null);
command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.AT_THE_OPENING, null);
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...
aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.AT_THE_CLOSE, null);
command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.AT_THE_CLOSE, null);
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...
aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.FILL_OR_KILL, null);
command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.FILL_OR_KILL, null);
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...
aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.IMMEDIATE_OR_CANCEL, null);
command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.IMMEDIATE_OR_CANCEL, null);
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...
aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.GOOD_TILL_CANCEL, null);
command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.GOOD_TILL_CANCEL, null);
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...
aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.SELL_SHORT, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.DAY, "123.45");
command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.SELL_SHORT, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.DAY, "123.45");
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...
order = "B 100 IBM 94.8 DAY AAA?A/a-A"; aParser.setInput(order); command = aParser.command(); assertEquals(MsgType.ORDER_SINGLE, command.mCommandType); verifyNewOrder((Message)(command.mResults.get(0)), Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.DAY, "AAA?A/a-A");
order = "B 100 IBM 94.8 DAY AAA;A/a-A"; command = aParser.parseNewOrder(order); result = command.getMessage(); verifyNewOrder(result, Side.BUY, new BigDecimal("100"), "IBM", new BigDecimal("94.8"), TimeInForce.DAY, "AAA;A/a-A");
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...
Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command();
CommandParser innerParser = new CommandParser(); innerParser.setIDFactory(new InMemoryIDFactory(10)); innerParser.parseNewOrder(innerOrder);
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...
Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command();
CommandParser innerParser = new CommandParser(); innerParser.setIDFactory(new InMemoryIDFactory(10)); innerParser.parseNewOrder(innerOrder);
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(); ...
Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command();
CommandParser innerParser = new CommandParser(); innerParser.setIDFactory(new InMemoryIDFactory(10)); innerParser.parseNewOrder(innerOrder);
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(); ...
Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command();
CommandParser innerParser = new CommandParser(); innerParser.setIDFactory(new InMemoryIDFactory(10)); innerParser.parseNewOrder(innerOrder);
protected void execute() throws Throwable { String innerOrder = "SS 100 IBM XXX DAY AAA?A/a-A"; Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command(); ...
Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command();
CommandParser innerParser = new CommandParser(); innerParser.setIDFactory(new InMemoryIDFactory(10)); innerParser.parseNewOrder(innerOrder);
protected void execute() throws Throwable { String innerOrder = "SS 100 IBM 123.45 ASDF AAA?A/a-A"; Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command(); ...
Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command();
CommandParser innerParser = new CommandParser(); innerParser.setIDFactory(new InMemoryIDFactory(10)); innerParser.parseNewOrder(innerOrder);
protected void execute() throws Throwable { String innerOrder = "SS 100 IBM "; Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command(); }
Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command();
CommandParser innerParser = new CommandParser(); innerParser.setIDFactory(new InMemoryIDFactory(10)); innerParser.parseNewOrder(innerOrder);
protected void execute() throws Throwable { String innerOrder = "SS 100.0 IBM 123.45"; Parser innerParser = new Parser(); innerParser.init(new InMemoryIDFactory(10)); innerParser.setInput(innerOrder); innerParser.command(); }
throw new MessageConversionException("Exception converting message", e);
throw new MessageConversionException(MessageKey.ERR0R_JMS_MESSAGE_CONVERSION.getLocalizedMessage(), e);
public Object fromMessage(Message message) throws JMSException, MessageConversionException { quickfix.Message qfMessage = null; if(message instanceof TextMessage) { if(LoggerAdapter.isDebugEnabled(this)) { LoggerAdapter.debug("Received JMS msg: "+message, this); } ...
try { BytesMessage bytesMessage = ((BytesMessage)message); int length = (int)bytesMessage.getBodyLength(); byte [] buf = new byte[length]; String possibleString = new String(buf, "UTF-16"); if (possibleString.startsWith(FIX_PREAMBLE)){ qfMessage = new quickfix.Message(possibleString); } } catch (Exception ex){ throw n...
try { BytesMessage bytesMessage = ((BytesMessage)message); int length = (int)bytesMessage.getBodyLength(); byte [] buf = new byte[length]; String possibleString = new String(buf, "UTF-16"); if (possibleString.startsWith(FIX_PREAMBLE)){ qfMessage = new quickfix.Message(possibleString); } } catch (Exception ex){ throw n...
public Object fromMessage(Message message) throws JMSException, MessageConversionException { quickfix.Message qfMessage = null; if(message instanceof TextMessage) { if(LoggerAdapter.isDebugEnabled(this)) { LoggerAdapter.debug("Received JMS msg: "+message, this); } ...
public static void writeNodeList(List<Member> nodes, String fileName) {
public static void writeNodeList(Collection<Member> nodes, String fileName) {
public static void writeNodeList(List<Member> nodes, String fileName) { Reject.ifNull(nodes, "Nodelist is null"); try { OutputStream fOut = new BufferedOutputStream(new FileOutputStream( "debug/" + fileName)); for (Member node : nodes) { fOut.write(D...
public TreeSelection(TreePath treePath) { this(treePath != null ? new TreePath[] { treePath } : new TreePath[0]);
public TreeSelection(TreePath[] paths, IElementComparer comparer) { this(new InitializeData(paths, comparer));
public TreeSelection(TreePath treePath) { this(treePath != null ? new TreePath[] { treePath } : new TreePath[0]); }
public BookComposite(Composite parent, int style, FormToolkit toolkit) { super(parent, style); this.toolkit = toolkit; GridLayout gridLayout = new GridLayout(); GridData layoutData = new GridData(); layoutData.grabExcessHorizontalSpace=true; layoutData.grabExcessVerticalSpace=true; layoutData.verticalAlignment = SWT.F...
public BookComposite(Composite parent, int style){ this(parent, style, null);
public BookComposite(Composite parent, int style, FormToolkit toolkit) { super(parent, style); this.toolkit = toolkit; GridLayout gridLayout = new GridLayout(); GridData layoutData = new GridData(); layoutData.grabExcessHorizontalSpace=true; layoutData.grabExcessVerticalSpace=true; layoutData.verticalAlignme...
if (marketRefresh == null){ bidViewer.setInput(null); askViewer.setInput(null);
if (marketRefresh == null) { if (!isDisposed()) { bidViewer.setInput(null); askViewer.setInput(null); }
public void setInput(Message marketRefresh){ boolean hadOldInput = bidViewer.getInput()!= null; if (marketRefresh == null){ bidViewer.setInput(null); askViewer.setInput(null); } else { bidViewer.setInput(getBookEntryList(marketRefresh, MDEntryType.BID)); askViewer.setInput(getBookEntryList(marketRefresh, MD...
for (int fieldNum = 1; fieldNum < 1000; fieldNum++) {
for (int fieldNum = 1; fieldNum < 10000; fieldNum++) {
public EnumTableFormat(Table table, Enum[] columns) { this.columns = columns; dataDictionary = FIXDataDictionaryManager.getDictionary(); // TODO: how can we get the max number of fields? for (int fieldNum = 1; fieldNum < 1000; fieldNum++) { if (dataDictionary.isField(fieldNum)) fieldMap.put(dataDictionary.get...
tableColumn.setText(columns[i++].toString());
String localizedName = FIXFieldLocalizer.getLocalizedMessage(columns[i++].toString()); tableColumn.setText(localizedName);
public EnumTableFormat(Table table, Enum[] columns) { this.columns = columns; dataDictionary = FIXDataDictionaryManager.getDictionary(); // TODO: how can we get the max number of fields? for (int fieldNum = 1; fieldNum < 1000; fieldNum++) { if (dataDictionary.isField(fieldNum)) fieldMap.put(dataDictionary.get...
boolean startController = !RemoteCommandManager.hasRunningInstance();
boolean commandContainsRemoteCommands = (files != null && files.length > 1) || commandLine.hasOption("p"); boolean startController = !commandContainsRemoteCommands || !RemoteCommandManager.hasRunningInstance();
public static void startPowerFolder(String[] args) { // Default exception logger Thread .setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { public void uncaughtException(Thread t, Throwable e) { LOG.error("Exception in " +...
public void error(Throwable throwable) { if (throwable != null) { log(ERROR, null, throwable); }
public void error(String str) { log(ERROR, str, null);
public void error(Throwable throwable) { if (throwable != null) { log(ERROR, null, throwable); } }
Inet4Address addr = (Inet4Address) getRemoteAddress() .getAddress(); setOnLAN(NetworkUtil.isOnAnySubnet(addr) || NetworkUtil.isOnLanOrLoopback(addr));
setOnLAN(NetworkUtil.isOnLanOrLoopback(getRemoteAddress().getAddress()));
public void analyseConnection() { if (getRemoteAddress() != null && getRemoteAddress().getAddress() != null) { Inet4Address addr = (Inet4Address) getRemoteAddress() .getAddress(); setOnLAN(NetworkUtil.isOnAnySubnet(addr) || NetworkUtil.isO...
ScanResult result = scanner.scanFolder(this);
ScanResult result = scanner.scanFolderWaitIfBusy(this);
private boolean scanLocalFilesNew(boolean force) { if (!force) { if (!getSyncProfile().isAutoDetectLocalChanges()) { if (logVerbose) { log().verbose("Skipping scan"); } return false; } if (lastScan != null) { ...
private static File getDebugDir() {
public static File getDebugDir() {
private static File getDebugDir() { return new File(DEBUG_DIR); }
} catch (IOException e) {
} catch (Exception e) {
public static boolean writeFileList(Collection<FileInfo> fileInfos, String header, File logFile) { if (logFile == null) { throw new NullPointerException("Logfile is null"); } if (fileInfos == null) { throw new NullPointerException("Files are null"); } ...
LOG.warn("Removed " + folder.getBlacklist().applyIgnore(infos) + " files because of blacklisting");
public static Message[] createFileListMessages(Folder folder) { List<FileInfo> infos = folder.getFilesAsList(); // filter files that are ignored LOG.warn("Removed " + folder.getBlacklist().applyIgnore(infos) + " files because of blacklisting"); FileInfo[] infosArray = new File...
void add(Member member, FileInfo file) { String path = file.getLocationInFolder(); if (path.equals("")) { addFile(member, file); } else { String dirName; String rest; int index = path.indexOf("/"); if (index == -1) { dirName = path; rest = ""; } else { dirName = path.substring(0, index); rest = path.substring(index + 1...
public void add(File file) { FileInfo fileInfo = new FileInfo(rootFolder, file); rootFolder.scanNewFile(fileInfo);
void add(Member member, FileInfo file) { String path = file.getLocationInFolder(); if (path.equals("")) { addFile(member, file); } else { String dirName; String rest; int index = path.indexOf("/"); if (index == -1) { dirName ...
peer.sendMessagesAsynchron(messages);
if (peer != null && peer.isConnected()) { peer.sendMessagesAsynchron(messages); }
public void sendMessagesAsynchron(Message... messages) { peer.sendMessagesAsynchron(messages); }
IViewPart stockOrderTicket = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().findView(StockOrderTicket.ID);
public void postWindowOpen() { initStatusLine(); IConsole[] consoles = ConsolePlugin.getDefault().getConsoleManager() .getConsoles(); for (IConsole console : consoles) { if (console instanceof MainConsole) { MainConsole mainConsole = (MainConsole) console; PhotonConsoleAppender appender = new PhotonConso...
if (stockOrderTicket instanceof StockOrderTicket && item instanceof CommandStatusLineContribution) { StockOrderTicket sot = (StockOrderTicket) stockOrderTicket;
if (item instanceof CommandStatusLineContribution) {
public void postWindowOpen() { initStatusLine(); IConsole[] consoles = ConsolePlugin.getDefault().getConsoleManager() .getConsoles(); for (IConsole console : consoles) { if (console instanceof MainConsole) { MainConsole mainConsole = (MainConsole) console; PhotonConsoleAppender appender = new PhotonConso...
cslc.addCommandListener(sot.getCommandListener());
public void postWindowOpen() { initStatusLine(); IConsole[] consoles = ConsolePlugin.getDefault().getConsoleManager() .getConsoles(); for (IConsole console : consoles) { if (console instanceof MainConsole) { MainConsole mainConsole = (MainConsole) console; PhotonConsoleAppender appender = new PhotonConso...
public void cancelOneOrderByClOrdID(String clOrdID) throws NoMoreIDsException {
public void cancelOneOrderByClOrdID(String clOrdID) throws NoMoreIDsException, FieldNotFound {
public void cancelOneOrderByClOrdID(String clOrdID) throws NoMoreIDsException { Message latestMessage = fixMessageHistory.getLatestExecutionReport(clOrdID); if (latestMessage == null){ latestMessage = fixMessageHistory.getLatestMessage(clOrdID); if (latestMessage == null){ internalMainLogger.error("Could not ...
sendToApplicationQueue(cancelMessage);
boolean sentToQueue = sendToApplicationQueue(cancelMessage); if (sentToQueue) logCancelOneOrder(cancelMessage);
public void cancelOneOrderByClOrdID(String clOrdID) throws NoMoreIDsException { Message latestMessage = fixMessageHistory.getLatestExecutionReport(clOrdID); if (latestMessage == null){ latestMessage = fixMessageHistory.getLatestMessage(clOrdID); if (latestMessage == null){ internalMainLogger.error("Could not ...
public RubyObject eval(RubyObject src, RubyObject scope, String file, int line) { String fileSave = ruby.getSourceFile(); int lineSave = ruby.getSourceLine(); int iter = ruby.getRubyFrame().getIter(); if (file == null) { file = ruby.getSourceFile(); line = ruby.getSourceLine(); } if (!scope.isNil()) { } else { if (rub...
public RubyObject eval(Node n) { return n == null ? getRuby().getNil() : n.eval(getRuby(), this);
public RubyObject eval(RubyObject src, RubyObject scope, String file, int line) { String fileSave = ruby.getSourceFile(); int lineSave = ruby.getSourceLine(); int iter = ruby.getRubyFrame().getIter(); if (file == null) { file = ruby.getSourceFile(); line = ruby.getS...
log().verbose("Acceptor finished to " + socket);
if (logVerbose) { log().verbose("Acceptor finished to " + socket); }
public void run() { try { startTime = new Date(); // Do reverse lookup if (socket.getInetAddress() != null) { socket.getInetAddress().getHostName(); } log().debug( "Accepting connection fr...
log().verbose("Broadcasting transfer status: " + status);
if (logVerbose) { log() .verbose("Broadcasting transfer status: " + status); }
public void run() { // this thread runs very fast, approx every second long waitTime = getController().getWaitTime() / 5; int runs = 0; // try { // Thread.sleep(getController().getWaitTime()); // } catch (InterruptedException e) { // l...
log().verbose( "Got " + reconnectionQueue.size() + " nodes queued for reconnection");
if (logVerbose) { log().verbose( "Got " + reconnectionQueue.size() + " nodes queued for reconnection"); }
private void resizeReconnectorPool() { int nReconnector = reconnectors.size(); // Calculate required reconnectors int reqReconnectors = Math.min(Constants.NUMBER_RECONNECTORS, Math .max(Constants.NUMBER_RECONNECTORS_PRIVATE_NETWORKING, reconnect...
log().verbose("Starting reconnector: " + getName());
if (logVerbose) { log().verbose("Starting reconnector: " + getName()); }
public void run() { log().verbose("Starting reconnector: " + getName()); long waitTime = Constants.SOCKET_CONNECT_TIMEOUT; while (this.reconStarted) { synchronized (reconnectionQueue) { if (!started) { log() ...
log().verbose( "Not reconnecting to " + currentNode.getNick() + ", already reconnecting/connected");
if (logVerbose) { log().verbose( "Not reconnecting to " + currentNode.getNick() + ", already reconnecting/connected"); }
public void run() { log().verbose("Starting reconnector: " + getName()); long waitTime = Constants.SOCKET_CONNECT_TIMEOUT; while (this.reconStarted) { synchronized (reconnectionQueue) { if (!started) { log() ...
log().verbose( this + ": Going on idle for " + waitUntilNextTry + "ms");
if (logVerbose) { log().verbose( this + ": Going on idle for " + waitUntilNextTry + "ms"); }
public void run() { log().verbose("Starting reconnector: " + getName()); long waitTime = Constants.SOCKET_CONNECT_TIMEOUT; while (this.reconStarted) { synchronized (reconnectionQueue) { if (!started) { log() ...
log().verbose(this + " is on idle");
if (logVerbose) { log().verbose(this + " is on idle"); }
public void run() { log().verbose("Starting reconnector: " + getName()); long waitTime = Constants.SOCKET_CONNECT_TIMEOUT; while (this.reconStarted) { synchronized (reconnectionQueue) { if (!started) { log() ...
onlineNodes = Collections.synchronizedList(new ArrayList<Member>());
connectedNodes = Collections.synchronizedList(new ArrayList<Member>());
public NodeManager(Controller controller) { super(controller); started = false; nodefileLoaded = false; // initzialize myself if available in config String nick = getController().getConfig().getProperty("nick"); if (controller.getCommandLine() != null && ...
listeners = Collections .synchronizedList(new ArrayList<NodeManagerListener>()); getController().addPropertyChangeListener(Controller.NETWORKING_MODE_PROPERTY, new PropertyChangeListener() {
this.listenerSupport = (NodeManagerListener) ListenerSupportFactory .createListenerSupport(NodeManagerListener.class);
public NodeManager(Controller controller) { super(controller); started = false; nodefileLoaded = false; // initzialize myself if available in config String nick = getController().getConfig().getProperty("nick"); if (controller.getCommandLine() != null && ...
public void propertyChange(PropertyChangeEvent evt) { shutdown(); start(); } });
getController().addPropertyChangeListener( Controller.NETWORKING_MODE_PROPERTY, new PropertyChangeListener() { public void propertyChange(PropertyChangeEvent evt) { shutdown(); start(); } });
public NodeManager(Controller controller) { super(controller); started = false; nodefileLoaded = false; // initzialize myself if available in config String nick = getController().getConfig().getProperty("nick"); if (controller.getCommandLine() != null && ...
log().verbose("Accepting member on socket: " + socket);
if (logVerbose) { log().verbose("Accepting member on socket: " + socket); }
public void acceptNode(Socket socket) throws ConnectionException { log().verbose("Accepting member on socket: " + socket); if (!started) { try { log().warn( "NodeManager already shut down. Not accepting any more nodes. Closing socket " ...
log().verbose("Initalizing connection handler to " + socket);
if (logVerbose) { log().verbose("Initalizing connection handler to " + socket); }
public void acceptNode(Socket socket) throws ConnectionException { log().verbose("Accepting member on socket: " + socket); if (!started) { try { log().warn( "NodeManager already shut down. Not accepting any more nodes. Closing socket " ...
log().verbose("Connection handler ready " + handler);
if (logVerbose) { log().verbose("Connection handler ready " + handler); }
public void acceptNode(Socket socket) throws ConnectionException { log().verbose("Accepting member on socket: " + socket); if (!started) { try { log().warn( "NodeManager already shut down. Not accepting any more nodes. Closing socket " ...
log().verbose("Connection queued for acception: " + socket + "");
if (logVerbose) { log().verbose("Connection queued for acception: " + socket + ""); }
public void acceptNodeAsynchron(Socket socket) { // Create acceptor on socket if (!started) { log().warn( "Not accepting node from " + socket + ". NodeManager is not started"); try { socket.close(); } catch (IOException ...
synchronized (listeners) { listeners.add(listener); }
ListenerSupportFactory.addListener(listenerSupport, listener);
public void addNodeManagerListener(NodeManagerListener listener) { synchronized (listeners) { listeners.add(listener); } // ListenerSupportFactory.addListener(listenerSupport, listener); }
log().verbose("Broadcasting message to supernodes: " + message);
if (logVerbose) { log().verbose("Broadcasting message to supernodes: " + message); }
public int broadcastMessageToSupernodes(Message message, int nSupernodes) { log().verbose("Broadcasting message to supernodes: " + message); int nNodes = 0; List<Member> supernodes = new LinkedList(); synchronized (knownNodes) { for (Member node : knownNodes.values()) { ...
log().verbose("Broadcasting nodelist");
if (logVerbose) { log().verbose("Broadcasting nodelist"); }
private void broadcastNodeList() { if (!started) { // not started, dont broadcast return; } log().verbose("Broadcasting nodelist"); // broadcast nodes Message[] nodeLists = KnownNodes.createKnowNodesList(this); for (Message message : nodeLists) { ...
log().verbose( "Freshly filled reconnection queue with " + reconnectionQueue.size() + " nodes, " + nBefore + " were in queue before");
if (logVerbose) { log().verbose( "Freshly filled reconnection queue with " + reconnectionQueue.size() + " nodes, " + nBefore + " were in queue before"); }
private void buildReconnectionQueue() { // Process only valid nodes Member[] nodes = getValidNodes(); int nBefore = reconnectionQueue.size(); synchronized (reconnectionQueue) { reconnectionQueue.clear(); // Offline limit time, all nodes before this time are not gett...
return onlineNodes.size();
return connectedNodes.size();
public int countConnectedNodes() { return onlineNodes.size(); }
int nOnlineFriends = 0; for (Member friend : friends) {
int nOnlineFriends = 0; for (Member friend : getFriends()) {
public int countOnlineFriends() { int nOnlineFriends = 0; for (Member friend : friends) { if (friend.isConnectedToNetwork()) { nOnlineFriends++; } } return nOnlineFriends; }
synchronized (listeners) { for (NodeManagerListener listener : listeners) { listener.friendAdded(new NodeManagerEvent(this, node)); } }
listenerSupport.friendAdded(new NodeManagerEvent(this, node));
private void fireFriendAdded(final Member node) { synchronized (listeners) { for (NodeManagerListener listener : listeners) { listener.friendAdded(new NodeManagerEvent(this, node)); } } // listenerSupport.friendAdded(new NodeManagerEvent(this, node)); }
synchronized (listeners) { for (NodeManagerListener listener : listeners) { listener.friendRemoved(new NodeManagerEvent(this, node)); } }
listenerSupport.friendRemoved(new NodeManagerEvent(this, node));
private void fireFriendRemoved(final Member node) { synchronized (listeners) { for (NodeManagerListener listener : listeners) { listener.friendRemoved(new NodeManagerEvent(this, node)); } } // listenerSupport.friendRemoved(new NodeManagerEvent(this, node)); ...
synchronized (listeners) { for (NodeManagerListener listener : listeners) { listener.nodeAdded(new NodeManagerEvent(this, node)); } }
listenerSupport.nodeAdded(new NodeManagerEvent(this, node));
private void fireNodeAdded(final Member node) { synchronized (listeners) { for (NodeManagerListener listener : listeners) { listener.nodeAdded(new NodeManagerEvent(this, node)); } } // listenerSupport.nodeAdded(new NodeManagerEvent(this, node)); }