From 687d4593f97670ec96267cd932b4e950629dcfce Mon Sep 17 00:00:00 2001 From: Jussi Virtanen Date: Thu, 21 Apr 2016 18:04:50 +0300 Subject: [PATCH] Move to 'com.paritytrading' namespace --- parity-client/pom.xml | 4 ++-- .../paritytrading}/parity/client/OrderEntry.java | 8 ++++---- .../parity/client/TerminalClient.java | 12 ++++++------ .../parity/client/command/CancelCommand.java | 6 +++--- .../parity/client/command/Command.java | 4 ++-- .../parity/client/command/CommandException.java | 2 +- .../parity/client/command/Commands.java | 4 ++-- .../parity/client/command/EnterCommand.java | 8 ++++---- .../parity/client/command/ErrorsCommand.java | 8 ++++---- .../parity/client/command/ExitCommand.java | 4 ++-- .../parity/client/command/HelpCommand.java | 4 ++-- .../parity/client/command/OrdersCommand.java | 8 ++++---- .../parity/client/command/TradesCommand.java | 8 ++++---- .../parity/client/event/DefaultEventVisitor.java | 2 +- .../paritytrading}/parity/client/event/Error.java | 4 ++-- .../paritytrading}/parity/client/event/Errors.java | 2 +- .../paritytrading}/parity/client/event/Event.java | 4 ++-- .../parity/client/event/EventVisitor.java | 2 +- .../paritytrading}/parity/client/event/Events.java | 6 +++--- .../paritytrading}/parity/client/event/Order.java | 6 +++--- .../paritytrading}/parity/client/event/Orders.java | 2 +- .../paritytrading}/parity/client/event/Trade.java | 6 +++--- .../paritytrading}/parity/client/event/Trades.java | 2 +- parity-file/README.md | 2 +- parity-file/pom.xml | 2 +- .../paritytrading}/parity/file/taq/TAQ.java | 2 +- .../paritytrading}/parity/file/taq/TAQWriter.java | 6 +++--- .../parity/file/taq/package-info.java | 2 +- parity-fix/pom.xml | 4 ++-- .../paritytrading}/parity/fix/Events.java | 2 +- .../paritytrading}/parity/fix/FIXAcceptor.java | 2 +- .../paritytrading}/parity/fix/FIXGateway.java | 2 +- .../paritytrading}/parity/fix/Order.java | 4 ++-- .../parity/fix/OrderEntryFactory.java | 8 ++++---- .../paritytrading}/parity/fix/Orders.java | 2 +- .../paritytrading}/parity/fix/Session.java | 8 ++++---- parity-match-perf-test/pom.xml | 2 +- .../parity/match/perf/MarketBenchmark.java | 8 ++++---- parity-match/README.md | 2 +- parity-match/pom.xml | 2 +- .../paritytrading/parity/match}/AskComparator.java | 2 +- .../paritytrading/parity/match}/BidComparator.java | 2 +- .../paritytrading}/parity/match/Level.java | 2 +- .../paritytrading}/parity/match/Market.java | 2 +- .../parity/match/MarketListener.java | 2 +- .../paritytrading}/parity/match/Order.java | 2 +- .../paritytrading}/parity/match/Orders.java | 2 +- .../paritytrading}/parity/match/Side.java | 2 +- .../paritytrading}/parity/match/package-info.java | 2 +- .../paritytrading}/parity/match/MarketEvents.java | 2 +- .../paritytrading}/parity/match/MarketTest.java | 4 ++-- parity-net/README.md | 2 +- parity-net/pom.xml | 2 +- .../parity/net/ProtocolException.java | 2 +- .../paritytrading}/parity/net/ProtocolMessage.java | 2 +- .../paritytrading}/parity/net/package-info.java | 2 +- .../paritytrading}/parity/net/pmd/PMD.java | 4 ++-- .../parity/net/pmd/PMDException.java | 4 ++-- .../paritytrading}/parity/net/pmd/PMDListener.java | 4 ++-- .../paritytrading}/parity/net/pmd/PMDParser.java | 4 ++-- .../parity/net/pmd/package-info.java | 2 +- .../paritytrading}/parity/net/pmr/PMR.java | 4 ++-- .../parity/net/pmr/PMRException.java | 4 ++-- .../paritytrading}/parity/net/pmr/PMRListener.java | 4 ++-- .../paritytrading}/parity/net/pmr/PMRParser.java | 4 ++-- .../parity/net/pmr/package-info.java | 2 +- .../paritytrading}/parity/net/poe/ByteBuffers.java | 2 +- .../paritytrading}/parity/net/poe/POE.java | 6 +++--- .../parity/net/poe/POEClientListener.java | 4 ++-- .../parity/net/poe/POEClientParser.java | 4 ++-- .../parity/net/poe/POEException.java | 4 ++-- .../parity/net/poe/POEServerListener.java | 4 ++-- .../parity/net/poe/POEServerParser.java | 4 ++-- .../parity/net/poe/package-info.java | 2 +- .../parity/net/poe/ByteBuffersTest.java | 4 ++-- parity-reporter/pom.xml | 4 ++-- .../parity/reporter/DisplayFormat.java | 6 +++--- .../parity/reporter/MarketReportListener.java | 6 +++--- .../paritytrading}/parity/reporter/TSVFormat.java | 6 +++--- .../parity/reporter/TradeReporter.java | 8 ++++---- parity-system/pom.xml | 4 ++-- .../paritytrading}/parity/system/Events.java | 2 +- .../paritytrading}/parity/system/MarketData.java | 4 ++-- .../parity/system/MarketReporting.java | 4 ++-- .../parity/system/MatchingEngine.java | 14 +++++++------- .../paritytrading}/parity/system/Order.java | 4 ++-- .../paritytrading}/parity/system/OrderEntry.java | 2 +- .../paritytrading}/parity/system/Session.java | 8 ++++---- .../parity/system/TradingSystem.java | 2 +- parity-ticker/pom.xml | 4 ++-- .../parity/ticker/DisplayFormat.java | 6 +++--- .../parity/ticker/MarketDataListener.java | 4 ++-- .../parity/ticker/MarketDataProcessor.java | 10 +++++----- .../paritytrading}/parity/ticker/StockTicker.java | 10 +++++----- .../paritytrading}/parity/ticker/TAQFormat.java | 8 ++++---- parity-top/README.md | 2 +- parity-top/pom.xml | 2 +- .../paritytrading/parity/top}/AskComparator.java | 2 +- .../paritytrading/parity/top}/BidComparator.java | 2 +- .../paritytrading}/parity/top/Level.java | 2 +- .../paritytrading}/parity/top/Market.java | 2 +- .../paritytrading}/parity/top/MarketListener.java | 2 +- .../paritytrading}/parity/top/Order.java | 2 +- .../paritytrading}/parity/top/OrderBook.java | 2 +- .../paritytrading}/parity/top/Orders.java | 2 +- .../paritytrading}/parity/top/Side.java | 2 +- .../paritytrading}/parity/top/package-info.java | 2 +- .../paritytrading}/parity/top/MarketEvents.java | 2 +- .../paritytrading}/parity/top/MarketTest.java | 4 ++-- parity-util/README.md | 2 +- parity-util/pom.xml | 2 +- .../paritytrading}/parity/util/MoldUDP64.java | 2 +- .../parity/util/OrderIDGenerator.java | 2 +- .../paritytrading}/parity/util/SoupBinTCP.java | 2 +- .../paritytrading}/parity/util/Timestamps.java | 2 +- .../paritytrading}/parity/util/package-info.java | 2 +- .../paritytrading}/parity/util/TimestampsTest.java | 2 +- pom.xml | 4 ++-- 118 files changed, 223 insertions(+), 223 deletions(-) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/OrderEntry.java (94%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/TerminalClient.java (92%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/command/CancelCommand.java (88%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/command/Command.java (71%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/command/CommandException.java (51%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/command/Commands.java (90%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/command/EnterCommand.java (88%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/command/ErrorsCommand.java (77%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/command/ExitCommand.java (83%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/command/HelpCommand.java (93%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/command/OrdersCommand.java (77%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/command/TradesCommand.java (77%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/event/DefaultEventVisitor.java (89%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/event/Error.java (87%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/event/Errors.java (93%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/event/Event.java (97%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/event/EventVisitor.java (84%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/event/Events.java (88%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/event/Order.java (90%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/event/Orders.java (96%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/event/Trade.java (85%) rename parity-client/src/main/java/{org/jvirtanen => com/paritytrading}/parity/client/event/Trades.java (96%) rename parity-file/src/main/java/{org/jvirtanen => com/paritytrading}/parity/file/taq/TAQ.java (97%) rename parity-file/src/main/java/{org/jvirtanen => com/paritytrading}/parity/file/taq/TAQWriter.java (96%) rename parity-file/src/main/java/{org/jvirtanen => com/paritytrading}/parity/file/taq/package-info.java (63%) rename parity-fix/src/main/java/{org/jvirtanen => com/paritytrading}/parity/fix/Events.java (98%) rename parity-fix/src/main/java/{org/jvirtanen => com/paritytrading}/parity/fix/FIXAcceptor.java (97%) rename parity-fix/src/main/java/{org/jvirtanen => com/paritytrading}/parity/fix/FIXGateway.java (97%) rename parity-fix/src/main/java/{org/jvirtanen => com/paritytrading}/parity/fix/Order.java (96%) rename parity-fix/src/main/java/{org/jvirtanen => com/paritytrading}/parity/fix/OrderEntryFactory.java (82%) rename parity-fix/src/main/java/{org/jvirtanen => com/paritytrading}/parity/fix/Orders.java (97%) rename parity-fix/src/main/java/{org/jvirtanen => com/paritytrading}/parity/fix/Session.java (99%) rename parity-match-perf-test/src/main/java/{org/jvirtanen => com/paritytrading}/parity/match/perf/MarketBenchmark.java (88%) rename {parity-top/src/main/java/org/jvirtanen/parity/top => parity-match/src/main/java/com/paritytrading/parity/match}/AskComparator.java (88%) rename {parity-top/src/main/java/org/jvirtanen/parity/top => parity-match/src/main/java/com/paritytrading/parity/match}/BidComparator.java (88%) rename parity-match/src/main/java/{org/jvirtanen => com/paritytrading}/parity/match/Level.java (97%) rename parity-match/src/main/java/{org/jvirtanen => com/paritytrading}/parity/match/Market.java (99%) rename parity-match/src/main/java/{org/jvirtanen => com/paritytrading}/parity/match/MarketListener.java (97%) rename parity-match/src/main/java/{org/jvirtanen => com/paritytrading}/parity/match/Order.java (93%) rename parity-match/src/main/java/{org/jvirtanen => com/paritytrading}/parity/match/Orders.java (95%) rename parity-match/src/main/java/{org/jvirtanen => com/paritytrading}/parity/match/Side.java (62%) rename parity-match/src/main/java/{org/jvirtanen => com/paritytrading}/parity/match/package-info.java (64%) rename parity-match/src/test/java/{org/jvirtanen => com/paritytrading}/parity/match/MarketEvents.java (98%) rename parity-match/src/test/java/{org/jvirtanen => com/paritytrading}/parity/match/MarketTest.java (98%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/ProtocolException.java (95%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/ProtocolMessage.java (95%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/package-info.java (71%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/pmd/PMD.java (98%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/pmd/PMDException.java (77%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/pmd/PMDListener.java (94%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/pmd/PMDParser.java (95%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/pmd/package-info.java (57%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/pmr/PMR.java (97%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/pmr/PMRException.java (77%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/pmr/PMRListener.java (87%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/pmr/PMRParser.java (92%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/pmr/package-info.java (59%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/poe/ByteBuffers.java (93%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/poe/POE.java (98%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/poe/POEClientListener.java (92%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/poe/POEClientParser.java (95%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/poe/POEException.java (77%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/poe/POEServerListener.java (86%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/poe/POEServerParser.java (92%) rename parity-net/src/main/java/{org/jvirtanen => com/paritytrading}/parity/net/poe/package-info.java (57%) rename parity-net/src/test/java/{org/jvirtanen => com/paritytrading}/parity/net/poe/ByteBuffersTest.java (92%) rename parity-reporter/src/main/java/{org/jvirtanen => com/paritytrading}/parity/reporter/DisplayFormat.java (83%) rename parity-reporter/src/main/java/{org/jvirtanen => com/paritytrading}/parity/reporter/MarketReportListener.java (76%) rename parity-reporter/src/main/java/{org/jvirtanen => com/paritytrading}/parity/reporter/TSVFormat.java (87%) rename parity-reporter/src/main/java/{org/jvirtanen => com/paritytrading}/parity/reporter/TradeReporter.java (92%) rename parity-system/src/main/java/{org/jvirtanen => com/paritytrading}/parity/system/Events.java (98%) rename parity-system/src/main/java/{org/jvirtanen => com/paritytrading}/parity/system/MarketData.java (98%) rename parity-system/src/main/java/{org/jvirtanen => com/paritytrading}/parity/system/MarketReporting.java (98%) rename parity-system/src/main/java/{org/jvirtanen => com/paritytrading}/parity/system/MatchingEngine.java (94%) rename parity-system/src/main/java/{org/jvirtanen => com/paritytrading}/parity/system/Order.java (88%) rename parity-system/src/main/java/{org/jvirtanen => com/paritytrading}/parity/system/OrderEntry.java (96%) rename parity-system/src/main/java/{org/jvirtanen => com/paritytrading}/parity/system/Session.java (96%) rename parity-system/src/main/java/{org/jvirtanen => com/paritytrading}/parity/system/TradingSystem.java (98%) rename parity-ticker/src/main/java/{org/jvirtanen => com/paritytrading}/parity/ticker/DisplayFormat.java (94%) rename parity-ticker/src/main/java/{org/jvirtanen => com/paritytrading}/parity/ticker/MarketDataListener.java (84%) rename parity-ticker/src/main/java/{org/jvirtanen => com/paritytrading}/parity/ticker/MarketDataProcessor.java (88%) rename parity-ticker/src/main/java/{org/jvirtanen => com/paritytrading}/parity/ticker/StockTicker.java (92%) rename parity-ticker/src/main/java/{org/jvirtanen => com/paritytrading}/parity/ticker/TAQFormat.java (91%) rename {parity-match/src/main/java/org/jvirtanen/parity/match => parity-top/src/main/java/com/paritytrading/parity/top}/AskComparator.java (88%) rename {parity-match/src/main/java/org/jvirtanen/parity/match => parity-top/src/main/java/com/paritytrading/parity/top}/BidComparator.java (88%) rename parity-top/src/main/java/{org/jvirtanen => com/paritytrading}/parity/top/Level.java (96%) rename parity-top/src/main/java/{org/jvirtanen => com/paritytrading}/parity/top/Market.java (99%) rename parity-top/src/main/java/{org/jvirtanen => com/paritytrading}/parity/top/MarketListener.java (96%) rename parity-top/src/main/java/{org/jvirtanen => com/paritytrading}/parity/top/Order.java (97%) rename parity-top/src/main/java/{org/jvirtanen => com/paritytrading}/parity/top/OrderBook.java (97%) rename parity-top/src/main/java/{org/jvirtanen => com/paritytrading}/parity/top/Orders.java (96%) rename parity-top/src/main/java/{org/jvirtanen => com/paritytrading}/parity/top/Side.java (63%) rename parity-top/src/main/java/{org/jvirtanen => com/paritytrading}/parity/top/package-info.java (69%) rename parity-top/src/test/java/{org/jvirtanen => com/paritytrading}/parity/top/MarketEvents.java (97%) rename parity-top/src/test/java/{org/jvirtanen => com/paritytrading}/parity/top/MarketTest.java (98%) rename parity-util/src/main/java/{org/jvirtanen => com/paritytrading}/parity/util/MoldUDP64.java (98%) rename parity-util/src/main/java/{org/jvirtanen => com/paritytrading}/parity/util/OrderIDGenerator.java (95%) rename parity-util/src/main/java/{org/jvirtanen => com/paritytrading}/parity/util/SoupBinTCP.java (98%) rename parity-util/src/main/java/{org/jvirtanen => com/paritytrading}/parity/util/Timestamps.java (94%) rename parity-util/src/main/java/{org/jvirtanen => com/paritytrading}/parity/util/package-info.java (68%) rename parity-util/src/test/java/{org/jvirtanen => com/paritytrading}/parity/util/TimestampsTest.java (94%) diff --git a/parity-client/pom.xml b/parity-client/pom.xml index 6ba33cba..6e678532 100644 --- a/parity-client/pom.xml +++ b/parity-client/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT @@ -71,7 +71,7 @@ - org.jvirtanen.parity.client.TerminalClient + com.paritytrading.parity.client.TerminalClient diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/OrderEntry.java b/parity-client/src/main/java/com/paritytrading/parity/client/OrderEntry.java similarity index 94% rename from parity-client/src/main/java/org/jvirtanen/parity/client/OrderEntry.java rename to parity-client/src/main/java/com/paritytrading/parity/client/OrderEntry.java index 9c8cd746..87a135ea 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/OrderEntry.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/OrderEntry.java @@ -1,8 +1,11 @@ -package org.jvirtanen.parity.client; +package com.paritytrading.parity.client; import com.paritytrading.nassau.soupbintcp.SoupBinTCP; import com.paritytrading.nassau.soupbintcp.SoupBinTCPClient; import com.paritytrading.nassau.soupbintcp.SoupBinTCPClientStatusListener; +import com.paritytrading.parity.net.poe.POE; +import com.paritytrading.parity.net.poe.POEClientListener; +import com.paritytrading.parity.net.poe.POEClientParser; import java.io.Closeable; import java.io.IOException; import java.net.InetSocketAddress; @@ -10,9 +13,6 @@ import java.nio.channels.SelectionKey; import java.nio.channels.Selector; import java.nio.channels.SocketChannel; -import org.jvirtanen.parity.net.poe.POE; -import org.jvirtanen.parity.net.poe.POEClientListener; -import org.jvirtanen.parity.net.poe.POEClientParser; public class OrderEntry implements Closeable { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/TerminalClient.java b/parity-client/src/main/java/com/paritytrading/parity/client/TerminalClient.java similarity index 92% rename from parity-client/src/main/java/org/jvirtanen/parity/client/TerminalClient.java rename to parity-client/src/main/java/com/paritytrading/parity/client/TerminalClient.java index b123365b..06aed894 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/TerminalClient.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/TerminalClient.java @@ -1,8 +1,13 @@ -package org.jvirtanen.parity.client; +package com.paritytrading.parity.client; import static org.jvirtanen.util.Applications.*; import com.paritytrading.nassau.soupbintcp.SoupBinTCP; +import com.paritytrading.parity.client.command.Command; +import com.paritytrading.parity.client.command.CommandException; +import com.paritytrading.parity.client.command.Commands; +import com.paritytrading.parity.client.event.Events; +import com.paritytrading.parity.util.OrderIDGenerator; import com.typesafe.config.Config; import com.typesafe.config.ConfigException; import java.io.Closeable; @@ -16,11 +21,6 @@ import jline.console.ConsoleReader; import jline.console.completer.StringsCompleter; import org.jvirtanen.config.Configs; -import org.jvirtanen.parity.client.command.Command; -import org.jvirtanen.parity.client.command.CommandException; -import org.jvirtanen.parity.client.command.Commands; -import org.jvirtanen.parity.client.event.Events; -import org.jvirtanen.parity.util.OrderIDGenerator; public class TerminalClient implements Closeable { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/command/CancelCommand.java b/parity-client/src/main/java/com/paritytrading/parity/client/command/CancelCommand.java similarity index 88% rename from parity-client/src/main/java/org/jvirtanen/parity/client/command/CancelCommand.java rename to parity-client/src/main/java/com/paritytrading/parity/client/command/CancelCommand.java index f3da3b02..3a6da13f 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/command/CancelCommand.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/command/CancelCommand.java @@ -1,10 +1,10 @@ -package org.jvirtanen.parity.client.command; +package com.paritytrading.parity.client.command; +import com.paritytrading.parity.client.TerminalClient; +import com.paritytrading.parity.net.poe.POE; import java.io.IOException; import java.util.NoSuchElementException; import java.util.Scanner; -import org.jvirtanen.parity.client.TerminalClient; -import org.jvirtanen.parity.net.poe.POE; class CancelCommand implements Command { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/command/Command.java b/parity-client/src/main/java/com/paritytrading/parity/client/command/Command.java similarity index 71% rename from parity-client/src/main/java/org/jvirtanen/parity/client/command/Command.java rename to parity-client/src/main/java/com/paritytrading/parity/client/command/Command.java index 6ec026ec..48783c90 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/command/Command.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/command/Command.java @@ -1,8 +1,8 @@ -package org.jvirtanen.parity.client.command; +package com.paritytrading.parity.client.command; +import com.paritytrading.parity.client.TerminalClient; import java.io.IOException; import java.util.Scanner; -import org.jvirtanen.parity.client.TerminalClient; public interface Command { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/command/CommandException.java b/parity-client/src/main/java/com/paritytrading/parity/client/command/CommandException.java similarity index 51% rename from parity-client/src/main/java/org/jvirtanen/parity/client/command/CommandException.java rename to parity-client/src/main/java/com/paritytrading/parity/client/command/CommandException.java index 060704cf..0a601499 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/command/CommandException.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/command/CommandException.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.client.command; +package com.paritytrading.parity.client.command; public class CommandException extends Exception { } diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/command/Commands.java b/parity-client/src/main/java/com/paritytrading/parity/client/command/Commands.java similarity index 90% rename from parity-client/src/main/java/org/jvirtanen/parity/client/command/Commands.java rename to parity-client/src/main/java/com/paritytrading/parity/client/command/Commands.java index ed192548..85115b37 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/command/Commands.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/command/Commands.java @@ -1,8 +1,8 @@ -package org.jvirtanen.parity.client.command; +package com.paritytrading.parity.client.command; +import com.paritytrading.parity.net.poe.POE; import org.eclipse.collections.api.list.ImmutableList; import org.eclipse.collections.impl.factory.Lists; -import org.jvirtanen.parity.net.poe.POE; public class Commands { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/command/EnterCommand.java b/parity-client/src/main/java/com/paritytrading/parity/client/command/EnterCommand.java similarity index 88% rename from parity-client/src/main/java/org/jvirtanen/parity/client/command/EnterCommand.java rename to parity-client/src/main/java/com/paritytrading/parity/client/command/EnterCommand.java index f2a8af42..1d15b6f6 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/command/EnterCommand.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/command/EnterCommand.java @@ -1,13 +1,13 @@ -package org.jvirtanen.parity.client.command; +package com.paritytrading.parity.client.command; -import static org.jvirtanen.parity.client.TerminalClient.*; +import static com.paritytrading.parity.client.TerminalClient.*; import com.paritytrading.foundation.ASCII; +import com.paritytrading.parity.client.TerminalClient; +import com.paritytrading.parity.net.poe.POE; import java.io.IOException; import java.util.NoSuchElementException; import java.util.Scanner; -import org.jvirtanen.parity.client.TerminalClient; -import org.jvirtanen.parity.net.poe.POE; class EnterCommand implements Command { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/command/ErrorsCommand.java b/parity-client/src/main/java/com/paritytrading/parity/client/command/ErrorsCommand.java similarity index 77% rename from parity-client/src/main/java/org/jvirtanen/parity/client/command/ErrorsCommand.java rename to parity-client/src/main/java/com/paritytrading/parity/client/command/ErrorsCommand.java index 8ba589cf..c5f78cce 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/command/ErrorsCommand.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/command/ErrorsCommand.java @@ -1,9 +1,9 @@ -package org.jvirtanen.parity.client.command; +package com.paritytrading.parity.client.command; +import com.paritytrading.parity.client.TerminalClient; +import com.paritytrading.parity.client.event.Error; +import com.paritytrading.parity.client.event.Errors; import java.util.Scanner; -import org.jvirtanen.parity.client.TerminalClient; -import org.jvirtanen.parity.client.event.Error; -import org.jvirtanen.parity.client.event.Errors; class ErrorsCommand implements Command { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/command/ExitCommand.java b/parity-client/src/main/java/com/paritytrading/parity/client/command/ExitCommand.java similarity index 83% rename from parity-client/src/main/java/org/jvirtanen/parity/client/command/ExitCommand.java rename to parity-client/src/main/java/com/paritytrading/parity/client/command/ExitCommand.java index 9413704f..9178bc42 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/command/ExitCommand.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/command/ExitCommand.java @@ -1,7 +1,7 @@ -package org.jvirtanen.parity.client.command; +package com.paritytrading.parity.client.command; +import com.paritytrading.parity.client.TerminalClient; import java.util.Scanner; -import org.jvirtanen.parity.client.TerminalClient; class ExitCommand implements Command { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/command/HelpCommand.java b/parity-client/src/main/java/com/paritytrading/parity/client/command/HelpCommand.java similarity index 93% rename from parity-client/src/main/java/org/jvirtanen/parity/client/command/HelpCommand.java rename to parity-client/src/main/java/com/paritytrading/parity/client/command/HelpCommand.java index 8416ffaf..f279d21a 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/command/HelpCommand.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/command/HelpCommand.java @@ -1,7 +1,7 @@ -package org.jvirtanen.parity.client.command; +package com.paritytrading.parity.client.command; +import com.paritytrading.parity.client.TerminalClient; import java.util.Scanner; -import org.jvirtanen.parity.client.TerminalClient; class HelpCommand implements Command { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/command/OrdersCommand.java b/parity-client/src/main/java/com/paritytrading/parity/client/command/OrdersCommand.java similarity index 77% rename from parity-client/src/main/java/org/jvirtanen/parity/client/command/OrdersCommand.java rename to parity-client/src/main/java/com/paritytrading/parity/client/command/OrdersCommand.java index f6ae72ff..3f5e1578 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/command/OrdersCommand.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/command/OrdersCommand.java @@ -1,9 +1,9 @@ -package org.jvirtanen.parity.client.command; +package com.paritytrading.parity.client.command; +import com.paritytrading.parity.client.TerminalClient; +import com.paritytrading.parity.client.event.Order; +import com.paritytrading.parity.client.event.Orders; import java.util.Scanner; -import org.jvirtanen.parity.client.TerminalClient; -import org.jvirtanen.parity.client.event.Order; -import org.jvirtanen.parity.client.event.Orders; class OrdersCommand implements Command { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/command/TradesCommand.java b/parity-client/src/main/java/com/paritytrading/parity/client/command/TradesCommand.java similarity index 77% rename from parity-client/src/main/java/org/jvirtanen/parity/client/command/TradesCommand.java rename to parity-client/src/main/java/com/paritytrading/parity/client/command/TradesCommand.java index f683d937..d3a2eea2 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/command/TradesCommand.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/command/TradesCommand.java @@ -1,9 +1,9 @@ -package org.jvirtanen.parity.client.command; +package com.paritytrading.parity.client.command; +import com.paritytrading.parity.client.TerminalClient; +import com.paritytrading.parity.client.event.Trade; +import com.paritytrading.parity.client.event.Trades; import java.util.Scanner; -import org.jvirtanen.parity.client.TerminalClient; -import org.jvirtanen.parity.client.event.Trade; -import org.jvirtanen.parity.client.event.Trades; class TradesCommand implements Command { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/event/DefaultEventVisitor.java b/parity-client/src/main/java/com/paritytrading/parity/client/event/DefaultEventVisitor.java similarity index 89% rename from parity-client/src/main/java/org/jvirtanen/parity/client/event/DefaultEventVisitor.java rename to parity-client/src/main/java/com/paritytrading/parity/client/event/DefaultEventVisitor.java index 280084d7..b367a6a6 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/event/DefaultEventVisitor.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/event/DefaultEventVisitor.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.client.event; +package com.paritytrading.parity.client.event; class DefaultEventVisitor implements EventVisitor { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Error.java b/parity-client/src/main/java/com/paritytrading/parity/client/event/Error.java similarity index 87% rename from parity-client/src/main/java/org/jvirtanen/parity/client/event/Error.java rename to parity-client/src/main/java/com/paritytrading/parity/client/event/Error.java index 07e11b4c..23179f0f 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Error.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/event/Error.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.client.event; +package com.paritytrading.parity.client.event; -import org.jvirtanen.parity.net.poe.POE; +import com.paritytrading.parity.net.poe.POE; public class Error { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Errors.java b/parity-client/src/main/java/com/paritytrading/parity/client/event/Errors.java similarity index 93% rename from parity-client/src/main/java/org/jvirtanen/parity/client/event/Errors.java rename to parity-client/src/main/java/com/paritytrading/parity/client/event/Errors.java index 71687696..14920779 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Errors.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/event/Errors.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.client.event; +package com.paritytrading.parity.client.event; import org.eclipse.collections.api.list.ImmutableList; import org.eclipse.collections.api.list.MutableList; diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Event.java b/parity-client/src/main/java/com/paritytrading/parity/client/event/Event.java similarity index 97% rename from parity-client/src/main/java/org/jvirtanen/parity/client/event/Event.java rename to parity-client/src/main/java/com/paritytrading/parity/client/event/Event.java index b5b52c9e..5767f81a 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Event.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/event/Event.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.client.event; +package com.paritytrading.parity.client.event; -import org.jvirtanen.parity.net.poe.POE; +import com.paritytrading.parity.net.poe.POE; public interface Event { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/event/EventVisitor.java b/parity-client/src/main/java/com/paritytrading/parity/client/event/EventVisitor.java similarity index 84% rename from parity-client/src/main/java/org/jvirtanen/parity/client/event/EventVisitor.java rename to parity-client/src/main/java/com/paritytrading/parity/client/event/EventVisitor.java index 57f47540..0af9390b 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/event/EventVisitor.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/event/EventVisitor.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.client.event; +package com.paritytrading.parity.client.event; public interface EventVisitor { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Events.java b/parity-client/src/main/java/com/paritytrading/parity/client/event/Events.java similarity index 88% rename from parity-client/src/main/java/org/jvirtanen/parity/client/event/Events.java rename to parity-client/src/main/java/com/paritytrading/parity/client/event/Events.java index aec9af0c..089f4ea2 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Events.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/event/Events.java @@ -1,9 +1,9 @@ -package org.jvirtanen.parity.client.event; +package com.paritytrading.parity.client.event; +import com.paritytrading.parity.net.poe.POE; +import com.paritytrading.parity.net.poe.POEClientListener; import org.eclipse.collections.api.list.ImmutableList; import org.eclipse.collections.impl.factory.Lists; -import org.jvirtanen.parity.net.poe.POE; -import org.jvirtanen.parity.net.poe.POEClientListener; public class Events implements POEClientListener { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Order.java b/parity-client/src/main/java/com/paritytrading/parity/client/event/Order.java similarity index 90% rename from parity-client/src/main/java/org/jvirtanen/parity/client/event/Order.java rename to parity-client/src/main/java/com/paritytrading/parity/client/event/Order.java index 508cbf2c..ea4100b2 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Order.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/event/Order.java @@ -1,9 +1,9 @@ -package org.jvirtanen.parity.client.event; +package com.paritytrading.parity.client.event; -import static org.jvirtanen.parity.client.TerminalClient.*; +import static com.paritytrading.parity.client.TerminalClient.*; import com.paritytrading.foundation.ASCII; -import org.jvirtanen.parity.util.Timestamps; +import com.paritytrading.parity.util.Timestamps; public class Order { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Orders.java b/parity-client/src/main/java/com/paritytrading/parity/client/event/Orders.java similarity index 96% rename from parity-client/src/main/java/org/jvirtanen/parity/client/event/Orders.java rename to parity-client/src/main/java/com/paritytrading/parity/client/event/Orders.java index 3c9070b5..af64d8f4 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Orders.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/event/Orders.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.client.event; +package com.paritytrading.parity.client.event; import org.eclipse.collections.api.list.ImmutableList; import org.eclipse.collections.api.map.MutableMap; diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Trade.java b/parity-client/src/main/java/com/paritytrading/parity/client/event/Trade.java similarity index 85% rename from parity-client/src/main/java/org/jvirtanen/parity/client/event/Trade.java rename to parity-client/src/main/java/com/paritytrading/parity/client/event/Trade.java index 42c57097..46f0fcf3 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Trade.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/event/Trade.java @@ -1,9 +1,9 @@ -package org.jvirtanen.parity.client.event; +package com.paritytrading.parity.client.event; -import static org.jvirtanen.parity.client.TerminalClient.*; +import static com.paritytrading.parity.client.TerminalClient.*; import com.paritytrading.foundation.ASCII; -import org.jvirtanen.parity.util.Timestamps; +import com.paritytrading.parity.util.Timestamps; public class Trade { diff --git a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Trades.java b/parity-client/src/main/java/com/paritytrading/parity/client/event/Trades.java similarity index 96% rename from parity-client/src/main/java/org/jvirtanen/parity/client/event/Trades.java rename to parity-client/src/main/java/com/paritytrading/parity/client/event/Trades.java index ea85bf8f..e1788ff7 100644 --- a/parity-client/src/main/java/org/jvirtanen/parity/client/event/Trades.java +++ b/parity-client/src/main/java/com/paritytrading/parity/client/event/Trades.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.client.event; +package com.paritytrading.parity.client.event; import org.eclipse.collections.api.list.ImmutableList; import org.eclipse.collections.api.map.MutableMap; diff --git a/parity-file/README.md b/parity-file/README.md index 5a1edeb8..361427db 100644 --- a/parity-file/README.md +++ b/parity-file/README.md @@ -20,7 +20,7 @@ Download Add a Maven dependency to Parity File Formats: - org.jvirtanen.parity + com.paritytrading.parity parity-file diff --git a/parity-file/pom.xml b/parity-file/pom.xml index 63b38c35..441e4fa4 100644 --- a/parity-file/pom.xml +++ b/parity-file/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT diff --git a/parity-file/src/main/java/org/jvirtanen/parity/file/taq/TAQ.java b/parity-file/src/main/java/com/paritytrading/parity/file/taq/TAQ.java similarity index 97% rename from parity-file/src/main/java/org/jvirtanen/parity/file/taq/TAQ.java rename to parity-file/src/main/java/com/paritytrading/parity/file/taq/TAQ.java index 93a688fc..62cbc30c 100644 --- a/parity-file/src/main/java/org/jvirtanen/parity/file/taq/TAQ.java +++ b/parity-file/src/main/java/com/paritytrading/parity/file/taq/TAQ.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.file.taq; +package com.paritytrading.parity.file.taq; /** * Common definitions. diff --git a/parity-file/src/main/java/org/jvirtanen/parity/file/taq/TAQWriter.java b/parity-file/src/main/java/com/paritytrading/parity/file/taq/TAQWriter.java similarity index 96% rename from parity-file/src/main/java/org/jvirtanen/parity/file/taq/TAQWriter.java rename to parity-file/src/main/java/com/paritytrading/parity/file/taq/TAQWriter.java index e5c96d8c..c2dd2a8b 100644 --- a/parity-file/src/main/java/org/jvirtanen/parity/file/taq/TAQWriter.java +++ b/parity-file/src/main/java/com/paritytrading/parity/file/taq/TAQWriter.java @@ -1,8 +1,9 @@ -package org.jvirtanen.parity.file.taq; +package com.paritytrading.parity.file.taq; +import static com.paritytrading.parity.file.taq.TAQ.*; import static java.nio.charset.StandardCharsets.*; -import static org.jvirtanen.parity.file.taq.TAQ.*; +import com.paritytrading.parity.util.Timestamps; import java.io.BufferedOutputStream; import java.io.Closeable; import java.io.File; @@ -15,7 +16,6 @@ import java.io.Writer; import java.nio.charset.Charset; import java.util.Locale; -import org.jvirtanen.parity.util.Timestamps; /** * A writer. diff --git a/parity-file/src/main/java/org/jvirtanen/parity/file/taq/package-info.java b/parity-file/src/main/java/com/paritytrading/parity/file/taq/package-info.java similarity index 63% rename from parity-file/src/main/java/org/jvirtanen/parity/file/taq/package-info.java rename to parity-file/src/main/java/com/paritytrading/parity/file/taq/package-info.java index 95555a26..b6d5024e 100644 --- a/parity-file/src/main/java/org/jvirtanen/parity/file/taq/package-info.java +++ b/parity-file/src/main/java/com/paritytrading/parity/file/taq/package-info.java @@ -1,4 +1,4 @@ /** * TAQ is one of Parity's file formats for historical market data. */ -package org.jvirtanen.parity.file.taq; +package com.paritytrading.parity.file.taq; diff --git a/parity-fix/pom.xml b/parity-fix/pom.xml index 57fdd356..6088b48d 100644 --- a/parity-fix/pom.xml +++ b/parity-fix/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT @@ -54,7 +54,7 @@ - org.jvirtanen.parity.fix.FIXGateway + com.paritytrading.parity.fix.FIXGateway diff --git a/parity-fix/src/main/java/org/jvirtanen/parity/fix/Events.java b/parity-fix/src/main/java/com/paritytrading/parity/fix/Events.java similarity index 98% rename from parity-fix/src/main/java/org/jvirtanen/parity/fix/Events.java rename to parity-fix/src/main/java/com/paritytrading/parity/fix/Events.java index 5b23980b..d79c3e84 100644 --- a/parity-fix/src/main/java/org/jvirtanen/parity/fix/Events.java +++ b/parity-fix/src/main/java/com/paritytrading/parity/fix/Events.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.fix; +package com.paritytrading.parity.fix; import java.io.Closeable; import java.io.IOException; diff --git a/parity-fix/src/main/java/org/jvirtanen/parity/fix/FIXAcceptor.java b/parity-fix/src/main/java/com/paritytrading/parity/fix/FIXAcceptor.java similarity index 97% rename from parity-fix/src/main/java/org/jvirtanen/parity/fix/FIXAcceptor.java rename to parity-fix/src/main/java/com/paritytrading/parity/fix/FIXAcceptor.java index d7581e7d..80fcbc63 100644 --- a/parity-fix/src/main/java/org/jvirtanen/parity/fix/FIXAcceptor.java +++ b/parity-fix/src/main/java/com/paritytrading/parity/fix/FIXAcceptor.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.fix; +package com.paritytrading.parity.fix; import java.io.IOException; diff --git a/parity-fix/src/main/java/org/jvirtanen/parity/fix/FIXGateway.java b/parity-fix/src/main/java/com/paritytrading/parity/fix/FIXGateway.java similarity index 97% rename from parity-fix/src/main/java/org/jvirtanen/parity/fix/FIXGateway.java rename to parity-fix/src/main/java/com/paritytrading/parity/fix/FIXGateway.java index 58ece1cc..0369570b 100644 --- a/parity-fix/src/main/java/org/jvirtanen/parity/fix/FIXGateway.java +++ b/parity-fix/src/main/java/com/paritytrading/parity/fix/FIXGateway.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.fix; +package com.paritytrading.parity.fix; import static org.jvirtanen.util.Applications.*; diff --git a/parity-fix/src/main/java/org/jvirtanen/parity/fix/Order.java b/parity-fix/src/main/java/com/paritytrading/parity/fix/Order.java similarity index 96% rename from parity-fix/src/main/java/org/jvirtanen/parity/fix/Order.java rename to parity-fix/src/main/java/com/paritytrading/parity/fix/Order.java index 0377f1fd..1a4dc204 100644 --- a/parity-fix/src/main/java/org/jvirtanen/parity/fix/Order.java +++ b/parity-fix/src/main/java/com/paritytrading/parity/fix/Order.java @@ -1,8 +1,8 @@ -package org.jvirtanen.parity.fix; +package com.paritytrading.parity.fix; import static com.paritytrading.philadelphia.fix44.FIX44Enumerations.*; -import org.jvirtanen.parity.net.poe.POE; +import com.paritytrading.parity.net.poe.POE; class Order { diff --git a/parity-fix/src/main/java/org/jvirtanen/parity/fix/OrderEntryFactory.java b/parity-fix/src/main/java/com/paritytrading/parity/fix/OrderEntryFactory.java similarity index 82% rename from parity-fix/src/main/java/org/jvirtanen/parity/fix/OrderEntryFactory.java rename to parity-fix/src/main/java/com/paritytrading/parity/fix/OrderEntryFactory.java index 944e7fe0..34a697a7 100644 --- a/parity-fix/src/main/java/org/jvirtanen/parity/fix/OrderEntryFactory.java +++ b/parity-fix/src/main/java/com/paritytrading/parity/fix/OrderEntryFactory.java @@ -1,14 +1,14 @@ -package org.jvirtanen.parity.fix; +package com.paritytrading.parity.fix; import com.paritytrading.nassau.soupbintcp.SoupBinTCPClient; import com.paritytrading.nassau.soupbintcp.SoupBinTCPClientStatusListener; +import com.paritytrading.parity.net.poe.POE; +import com.paritytrading.parity.net.poe.POEClientListener; +import com.paritytrading.parity.net.poe.POEClientParser; import java.io.IOException; import java.net.InetSocketAddress; import java.net.StandardSocketOptions; import java.nio.channels.SocketChannel; -import org.jvirtanen.parity.net.poe.POE; -import org.jvirtanen.parity.net.poe.POEClientListener; -import org.jvirtanen.parity.net.poe.POEClientParser; class OrderEntryFactory { diff --git a/parity-fix/src/main/java/org/jvirtanen/parity/fix/Orders.java b/parity-fix/src/main/java/com/paritytrading/parity/fix/Orders.java similarity index 97% rename from parity-fix/src/main/java/org/jvirtanen/parity/fix/Orders.java rename to parity-fix/src/main/java/com/paritytrading/parity/fix/Orders.java index 06c4dce6..7c9e962b 100644 --- a/parity-fix/src/main/java/org/jvirtanen/parity/fix/Orders.java +++ b/parity-fix/src/main/java/com/paritytrading/parity/fix/Orders.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.fix; +package com.paritytrading.parity.fix; import java.util.ArrayList; import java.util.List; diff --git a/parity-fix/src/main/java/org/jvirtanen/parity/fix/Session.java b/parity-fix/src/main/java/com/paritytrading/parity/fix/Session.java similarity index 99% rename from parity-fix/src/main/java/org/jvirtanen/parity/fix/Session.java rename to parity-fix/src/main/java/com/paritytrading/parity/fix/Session.java index 161550e7..7bb92493 100644 --- a/parity-fix/src/main/java/org/jvirtanen/parity/fix/Session.java +++ b/parity-fix/src/main/java/com/paritytrading/parity/fix/Session.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.fix; +package com.paritytrading.parity.fix; import static com.paritytrading.philadelphia.fix44.FIX44Enumerations.*; import static com.paritytrading.philadelphia.fix44.FIX44MsgTypes.*; @@ -8,6 +8,9 @@ import com.paritytrading.nassau.soupbintcp.SoupBinTCP; import com.paritytrading.nassau.soupbintcp.SoupBinTCPClient; import com.paritytrading.nassau.soupbintcp.SoupBinTCPClientStatusListener; +import com.paritytrading.parity.net.poe.POE; +import com.paritytrading.parity.net.poe.POEClientListener; +import com.paritytrading.parity.util.OrderIDGenerator; import com.paritytrading.philadelphia.FIXConfig; import com.paritytrading.philadelphia.FIXField; import com.paritytrading.philadelphia.FIXMessage; @@ -22,9 +25,6 @@ import java.nio.channels.SocketChannel; import java.util.ArrayList; import java.util.List; -import org.jvirtanen.parity.net.poe.POE; -import org.jvirtanen.parity.net.poe.POEClientListener; -import org.jvirtanen.parity.util.OrderIDGenerator; class Session implements Closeable { diff --git a/parity-match-perf-test/pom.xml b/parity-match-perf-test/pom.xml index cb7cb30b..18d05fc4 100644 --- a/parity-match-perf-test/pom.xml +++ b/parity-match-perf-test/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT diff --git a/parity-match-perf-test/src/main/java/org/jvirtanen/parity/match/perf/MarketBenchmark.java b/parity-match-perf-test/src/main/java/com/paritytrading/parity/match/perf/MarketBenchmark.java similarity index 88% rename from parity-match-perf-test/src/main/java/org/jvirtanen/parity/match/perf/MarketBenchmark.java rename to parity-match-perf-test/src/main/java/com/paritytrading/parity/match/perf/MarketBenchmark.java index c2c3a8dc..fd58d5b7 100644 --- a/parity-match-perf-test/src/main/java/org/jvirtanen/parity/match/perf/MarketBenchmark.java +++ b/parity-match-perf-test/src/main/java/com/paritytrading/parity/match/perf/MarketBenchmark.java @@ -1,8 +1,8 @@ -package org.jvirtanen.parity.match.perf; +package com.paritytrading.parity.match.perf; -import org.jvirtanen.parity.match.MarketListener; -import org.jvirtanen.parity.match.Market; -import org.jvirtanen.parity.match.Side; +import com.paritytrading.parity.match.MarketListener; +import com.paritytrading.parity.match.Market; +import com.paritytrading.parity.match.Side; import org.openjdk.jmh.annotations.GenerateMicroBenchmark; import org.openjdk.jmh.annotations.OutputTimeUnit; import org.openjdk.jmh.annotations.BenchmarkMode; diff --git a/parity-match/README.md b/parity-match/README.md index 87312277..3d30f590 100644 --- a/parity-match/README.md +++ b/parity-match/README.md @@ -10,7 +10,7 @@ Download Add a Maven dependency to Parity Matching Engine: - org.jvirtanen.parity + com.paritytrading.parity parity-match diff --git a/parity-match/pom.xml b/parity-match/pom.xml index 62e12b9d..aa2e201a 100644 --- a/parity-match/pom.xml +++ b/parity-match/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT diff --git a/parity-top/src/main/java/org/jvirtanen/parity/top/AskComparator.java b/parity-match/src/main/java/com/paritytrading/parity/match/AskComparator.java similarity index 88% rename from parity-top/src/main/java/org/jvirtanen/parity/top/AskComparator.java rename to parity-match/src/main/java/com/paritytrading/parity/match/AskComparator.java index e0db64cd..0a93a067 100644 --- a/parity-top/src/main/java/org/jvirtanen/parity/top/AskComparator.java +++ b/parity-match/src/main/java/com/paritytrading/parity/match/AskComparator.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.match; import it.unimi.dsi.fastutil.longs.AbstractLongComparator; diff --git a/parity-top/src/main/java/org/jvirtanen/parity/top/BidComparator.java b/parity-match/src/main/java/com/paritytrading/parity/match/BidComparator.java similarity index 88% rename from parity-top/src/main/java/org/jvirtanen/parity/top/BidComparator.java rename to parity-match/src/main/java/com/paritytrading/parity/match/BidComparator.java index 82275872..dcc87909 100644 --- a/parity-top/src/main/java/org/jvirtanen/parity/top/BidComparator.java +++ b/parity-match/src/main/java/com/paritytrading/parity/match/BidComparator.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.match; import it.unimi.dsi.fastutil.longs.AbstractLongComparator; diff --git a/parity-match/src/main/java/org/jvirtanen/parity/match/Level.java b/parity-match/src/main/java/com/paritytrading/parity/match/Level.java similarity index 97% rename from parity-match/src/main/java/org/jvirtanen/parity/match/Level.java rename to parity-match/src/main/java/com/paritytrading/parity/match/Level.java index fa179385..54b59b07 100644 --- a/parity-match/src/main/java/org/jvirtanen/parity/match/Level.java +++ b/parity-match/src/main/java/com/paritytrading/parity/match/Level.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.match; import java.util.ArrayList; diff --git a/parity-match/src/main/java/org/jvirtanen/parity/match/Market.java b/parity-match/src/main/java/com/paritytrading/parity/match/Market.java similarity index 99% rename from parity-match/src/main/java/org/jvirtanen/parity/match/Market.java rename to parity-match/src/main/java/com/paritytrading/parity/match/Market.java index ea2326fe..f2c55a89 100644 --- a/parity-match/src/main/java/org/jvirtanen/parity/match/Market.java +++ b/parity-match/src/main/java/com/paritytrading/parity/match/Market.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.match; import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap; diff --git a/parity-match/src/main/java/org/jvirtanen/parity/match/MarketListener.java b/parity-match/src/main/java/com/paritytrading/parity/match/MarketListener.java similarity index 97% rename from parity-match/src/main/java/org/jvirtanen/parity/match/MarketListener.java rename to parity-match/src/main/java/com/paritytrading/parity/match/MarketListener.java index 8ff7f763..b871ef0f 100644 --- a/parity-match/src/main/java/org/jvirtanen/parity/match/MarketListener.java +++ b/parity-match/src/main/java/com/paritytrading/parity/match/MarketListener.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.match; /** * The interface for outbound events from the matching engine. diff --git a/parity-match/src/main/java/org/jvirtanen/parity/match/Order.java b/parity-match/src/main/java/com/paritytrading/parity/match/Order.java similarity index 93% rename from parity-match/src/main/java/org/jvirtanen/parity/match/Order.java rename to parity-match/src/main/java/com/paritytrading/parity/match/Order.java index 5b400474..2282e251 100644 --- a/parity-match/src/main/java/org/jvirtanen/parity/match/Order.java +++ b/parity-match/src/main/java/com/paritytrading/parity/match/Order.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.match; class Order { diff --git a/parity-match/src/main/java/org/jvirtanen/parity/match/Orders.java b/parity-match/src/main/java/com/paritytrading/parity/match/Orders.java similarity index 95% rename from parity-match/src/main/java/org/jvirtanen/parity/match/Orders.java rename to parity-match/src/main/java/com/paritytrading/parity/match/Orders.java index 873e5c63..b300e600 100644 --- a/parity-match/src/main/java/org/jvirtanen/parity/match/Orders.java +++ b/parity-match/src/main/java/com/paritytrading/parity/match/Orders.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.match; import it.unimi.dsi.fastutil.longs.Long2ObjectRBTreeMap; import it.unimi.dsi.fastutil.longs.LongComparator; diff --git a/parity-match/src/main/java/org/jvirtanen/parity/match/Side.java b/parity-match/src/main/java/com/paritytrading/parity/match/Side.java similarity index 62% rename from parity-match/src/main/java/org/jvirtanen/parity/match/Side.java rename to parity-match/src/main/java/com/paritytrading/parity/match/Side.java index fc931889..6bf80e4c 100644 --- a/parity-match/src/main/java/org/jvirtanen/parity/match/Side.java +++ b/parity-match/src/main/java/com/paritytrading/parity/match/Side.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.match; /** * The order side. diff --git a/parity-match/src/main/java/org/jvirtanen/parity/match/package-info.java b/parity-match/src/main/java/com/paritytrading/parity/match/package-info.java similarity index 64% rename from parity-match/src/main/java/org/jvirtanen/parity/match/package-info.java rename to parity-match/src/main/java/com/paritytrading/parity/match/package-info.java index b033dc9b..a200f8dd 100644 --- a/parity-match/src/main/java/org/jvirtanen/parity/match/package-info.java +++ b/parity-match/src/main/java/com/paritytrading/parity/match/package-info.java @@ -1,4 +1,4 @@ /** * Parity Matching Engine is a high-performance matching engine. */ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.match; diff --git a/parity-match/src/test/java/org/jvirtanen/parity/match/MarketEvents.java b/parity-match/src/test/java/com/paritytrading/parity/match/MarketEvents.java similarity index 98% rename from parity-match/src/test/java/org/jvirtanen/parity/match/MarketEvents.java rename to parity-match/src/test/java/com/paritytrading/parity/match/MarketEvents.java index 4118b03c..a9305d2c 100644 --- a/parity-match/src/test/java/org/jvirtanen/parity/match/MarketEvents.java +++ b/parity-match/src/test/java/com/paritytrading/parity/match/MarketEvents.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.match; import java.util.ArrayList; import java.util.List; diff --git a/parity-match/src/test/java/org/jvirtanen/parity/match/MarketTest.java b/parity-match/src/test/java/com/paritytrading/parity/match/MarketTest.java similarity index 98% rename from parity-match/src/test/java/org/jvirtanen/parity/match/MarketTest.java rename to parity-match/src/test/java/com/paritytrading/parity/match/MarketTest.java index 878d655c..045c8589 100644 --- a/parity-match/src/test/java/org/jvirtanen/parity/match/MarketTest.java +++ b/parity-match/src/test/java/com/paritytrading/parity/match/MarketTest.java @@ -1,9 +1,9 @@ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.match; +import static com.paritytrading.parity.match.MarketEvents.*; import static java.util.Arrays.*; import static java.util.Collections.*; import static org.junit.Assert.*; -import static org.jvirtanen.parity.match.MarketEvents.*; import org.junit.Before; import org.junit.Test; diff --git a/parity-net/README.md b/parity-net/README.md index 762f2aed..9597d48e 100644 --- a/parity-net/README.md +++ b/parity-net/README.md @@ -31,7 +31,7 @@ Download Add a Maven dependency to Parity Network Protocols: - org.jvirtanen.parity + com.paritytrading.parity parity-net diff --git a/parity-net/pom.xml b/parity-net/pom.xml index c42594e9..63d3a35e 100644 --- a/parity-net/pom.xml +++ b/parity-net/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/ProtocolException.java b/parity-net/src/main/java/com/paritytrading/parity/net/ProtocolException.java similarity index 95% rename from parity-net/src/main/java/org/jvirtanen/parity/net/ProtocolException.java rename to parity-net/src/main/java/com/paritytrading/parity/net/ProtocolException.java index 91e0f223..d0e3bc4a 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/ProtocolException.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/ProtocolException.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.net; +package com.paritytrading.parity.net; import java.io.IOException; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/ProtocolMessage.java b/parity-net/src/main/java/com/paritytrading/parity/net/ProtocolMessage.java similarity index 95% rename from parity-net/src/main/java/org/jvirtanen/parity/net/ProtocolMessage.java rename to parity-net/src/main/java/com/paritytrading/parity/net/ProtocolMessage.java index 2a596ce5..1bad9dca 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/ProtocolMessage.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/ProtocolMessage.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.net; +package com.paritytrading.parity.net; import java.nio.BufferOverflowException; import java.nio.BufferUnderflowException; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/package-info.java b/parity-net/src/main/java/com/paritytrading/parity/net/package-info.java similarity index 71% rename from parity-net/src/main/java/org/jvirtanen/parity/net/package-info.java rename to parity-net/src/main/java/com/paritytrading/parity/net/package-info.java index 0e441a4e..fa6b5f36 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/package-info.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/package-info.java @@ -2,4 +2,4 @@ * Parity Network Protocols are the network protocols used by Parity Trading * System. */ -package org.jvirtanen.parity.net; +package com.paritytrading.parity.net; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMD.java b/parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMD.java similarity index 98% rename from parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMD.java rename to parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMD.java index b2b9de3a..f4edfc3a 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMD.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMD.java @@ -1,9 +1,9 @@ -package org.jvirtanen.parity.net.pmd; +package com.paritytrading.parity.net.pmd; import static com.paritytrading.foundation.ByteBuffers.*; +import com.paritytrading.parity.net.ProtocolMessage; import java.nio.ByteBuffer; -import org.jvirtanen.parity.net.ProtocolMessage; /** * Common definitions. diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDException.java b/parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMDException.java similarity index 77% rename from parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDException.java rename to parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMDException.java index 9de636b4..97c71fc9 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDException.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMDException.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.pmd; +package com.paritytrading.parity.net.pmd; -import org.jvirtanen.parity.net.ProtocolException; +import com.paritytrading.parity.net.ProtocolException; /** * Indicates a protocol error while handling the PMD protocol. diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDListener.java b/parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMDListener.java similarity index 94% rename from parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDListener.java rename to parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMDListener.java index ee59b54f..94aba537 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDListener.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMDListener.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.pmd; +package com.paritytrading.parity.net.pmd; -import static org.jvirtanen.parity.net.pmd.PMD.*; +import static com.paritytrading.parity.net.pmd.PMD.*; import java.io.IOException; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDParser.java b/parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMDParser.java similarity index 95% rename from parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDParser.java rename to parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMDParser.java index de9f6537..ab471b98 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/pmd/PMDParser.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/pmd/PMDParser.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.pmd; +package com.paritytrading.parity.net.pmd; -import static org.jvirtanen.parity.net.pmd.PMD.*; +import static com.paritytrading.parity.net.pmd.PMD.*; import com.paritytrading.nassau.MessageListener; import java.io.IOException; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/pmd/package-info.java b/parity-net/src/main/java/com/paritytrading/parity/net/pmd/package-info.java similarity index 57% rename from parity-net/src/main/java/org/jvirtanen/parity/net/pmd/package-info.java rename to parity-net/src/main/java/com/paritytrading/parity/net/pmd/package-info.java index 20524f9e..e3935b0e 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/pmd/package-info.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/pmd/package-info.java @@ -1,4 +1,4 @@ /** * PMD is Parity's native market data protocol. */ -package org.jvirtanen.parity.net.pmd; +package com.paritytrading.parity.net.pmd; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMR.java b/parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMR.java similarity index 97% rename from parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMR.java rename to parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMR.java index 353d0627..0a61d44c 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMR.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMR.java @@ -1,9 +1,9 @@ -package org.jvirtanen.parity.net.pmr; +package com.paritytrading.parity.net.pmr; import static com.paritytrading.foundation.ByteBuffers.*; +import com.paritytrading.parity.net.ProtocolMessage; import java.nio.ByteBuffer; -import org.jvirtanen.parity.net.ProtocolMessage; /** * Common definitions. diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRException.java b/parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMRException.java similarity index 77% rename from parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRException.java rename to parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMRException.java index f554ab73..25bd4070 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRException.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMRException.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.pmr; +package com.paritytrading.parity.net.pmr; -import org.jvirtanen.parity.net.ProtocolException; +import com.paritytrading.parity.net.ProtocolException; /** * Indicates a protocol error while handling the PMR protocol. diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRListener.java b/parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMRListener.java similarity index 87% rename from parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRListener.java rename to parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMRListener.java index 46ee0c65..dc8c27c8 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRListener.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMRListener.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.pmr; +package com.paritytrading.parity.net.pmr; -import static org.jvirtanen.parity.net.pmr.PMR.*; +import static com.paritytrading.parity.net.pmr.PMR.*; import java.io.IOException; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRParser.java b/parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMRParser.java similarity index 92% rename from parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRParser.java rename to parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMRParser.java index 0665236c..a14906a7 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/pmr/PMRParser.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/pmr/PMRParser.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.pmr; +package com.paritytrading.parity.net.pmr; -import static org.jvirtanen.parity.net.pmr.PMR.*; +import static com.paritytrading.parity.net.pmr.PMR.*; import com.paritytrading.nassau.MessageListener; import java.io.IOException; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/pmr/package-info.java b/parity-net/src/main/java/com/paritytrading/parity/net/pmr/package-info.java similarity index 59% rename from parity-net/src/main/java/org/jvirtanen/parity/net/pmr/package-info.java rename to parity-net/src/main/java/com/paritytrading/parity/net/pmr/package-info.java index 5b9d095c..3c3bec6f 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/pmr/package-info.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/pmr/package-info.java @@ -1,4 +1,4 @@ /** * PMR is Parity's native market reporting protocol. */ -package org.jvirtanen.parity.net.pmr; +package com.paritytrading.parity.net.pmr; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/ByteBuffers.java b/parity-net/src/main/java/com/paritytrading/parity/net/poe/ByteBuffers.java similarity index 93% rename from parity-net/src/main/java/org/jvirtanen/parity/net/poe/ByteBuffers.java rename to parity-net/src/main/java/com/paritytrading/parity/net/poe/ByteBuffers.java index 542fd631..b875e05c 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/ByteBuffers.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/poe/ByteBuffers.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.net.poe; +package com.paritytrading.parity.net.poe; import static java.nio.charset.StandardCharsets.*; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POE.java b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POE.java similarity index 98% rename from parity-net/src/main/java/org/jvirtanen/parity/net/poe/POE.java rename to parity-net/src/main/java/com/paritytrading/parity/net/poe/POE.java index bc9f64c3..99f61304 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POE.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POE.java @@ -1,10 +1,10 @@ -package org.jvirtanen.parity.net.poe; +package com.paritytrading.parity.net.poe; import static com.paritytrading.foundation.ByteBuffers.*; -import static org.jvirtanen.parity.net.poe.ByteBuffers.*; +import static com.paritytrading.parity.net.poe.ByteBuffers.*; +import com.paritytrading.parity.net.ProtocolMessage; import java.nio.ByteBuffer; -import org.jvirtanen.parity.net.ProtocolMessage; /** * Common definitions. diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEClientListener.java b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POEClientListener.java similarity index 92% rename from parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEClientListener.java rename to parity-net/src/main/java/com/paritytrading/parity/net/poe/POEClientListener.java index 88a36858..271ffe61 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEClientListener.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POEClientListener.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.poe; +package com.paritytrading.parity.net.poe; -import static org.jvirtanen.parity.net.poe.POE.*; +import static com.paritytrading.parity.net.poe.POE.*; import java.io.IOException; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEClientParser.java b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POEClientParser.java similarity index 95% rename from parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEClientParser.java rename to parity-net/src/main/java/com/paritytrading/parity/net/poe/POEClientParser.java index 4928be48..520b807e 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEClientParser.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POEClientParser.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.poe; +package com.paritytrading.parity.net.poe; -import static org.jvirtanen.parity.net.poe.POE.*; +import static com.paritytrading.parity.net.poe.POE.*; import com.paritytrading.nassau.MessageListener; import java.io.IOException; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEException.java b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POEException.java similarity index 77% rename from parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEException.java rename to parity-net/src/main/java/com/paritytrading/parity/net/poe/POEException.java index 64139b33..aaf91763 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEException.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POEException.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.poe; +package com.paritytrading.parity.net.poe; -import org.jvirtanen.parity.net.ProtocolException; +import com.paritytrading.parity.net.ProtocolException; /** * Indicates a protocol error while handling the POE protocol. diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEServerListener.java b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POEServerListener.java similarity index 86% rename from parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEServerListener.java rename to parity-net/src/main/java/com/paritytrading/parity/net/poe/POEServerListener.java index 51ddfb99..3adb4017 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEServerListener.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POEServerListener.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.poe; +package com.paritytrading.parity.net.poe; -import org.jvirtanen.parity.net.poe.POE.*; +import com.paritytrading.parity.net.poe.POE.*; import java.io.IOException; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEServerParser.java b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POEServerParser.java similarity index 92% rename from parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEServerParser.java rename to parity-net/src/main/java/com/paritytrading/parity/net/poe/POEServerParser.java index 0135f531..d00d4f3d 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/POEServerParser.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/poe/POEServerParser.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.net.poe; +package com.paritytrading.parity.net.poe; -import static org.jvirtanen.parity.net.poe.POE.*; +import static com.paritytrading.parity.net.poe.POE.*; import com.paritytrading.nassau.MessageListener; import java.io.IOException; diff --git a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/package-info.java b/parity-net/src/main/java/com/paritytrading/parity/net/poe/package-info.java similarity index 57% rename from parity-net/src/main/java/org/jvirtanen/parity/net/poe/package-info.java rename to parity-net/src/main/java/com/paritytrading/parity/net/poe/package-info.java index 45fe94e9..559c210c 100644 --- a/parity-net/src/main/java/org/jvirtanen/parity/net/poe/package-info.java +++ b/parity-net/src/main/java/com/paritytrading/parity/net/poe/package-info.java @@ -1,4 +1,4 @@ /** * POE is Parity's native order entry protocol. */ -package org.jvirtanen.parity.net.poe; +package com.paritytrading.parity.net.poe; diff --git a/parity-net/src/test/java/org/jvirtanen/parity/net/poe/ByteBuffersTest.java b/parity-net/src/test/java/com/paritytrading/parity/net/poe/ByteBuffersTest.java similarity index 92% rename from parity-net/src/test/java/org/jvirtanen/parity/net/poe/ByteBuffersTest.java rename to parity-net/src/test/java/com/paritytrading/parity/net/poe/ByteBuffersTest.java index 4acff089..d3c56c55 100644 --- a/parity-net/src/test/java/org/jvirtanen/parity/net/poe/ByteBuffersTest.java +++ b/parity-net/src/test/java/com/paritytrading/parity/net/poe/ByteBuffersTest.java @@ -1,8 +1,8 @@ -package org.jvirtanen.parity.net.poe; +package com.paritytrading.parity.net.poe; +import static com.paritytrading.parity.net.poe.ByteBuffers.*; import static java.nio.charset.StandardCharsets.*; import static org.junit.Assert.*; -import static org.jvirtanen.parity.net.poe.ByteBuffers.*; import java.nio.ByteBuffer; import org.junit.Test; diff --git a/parity-reporter/pom.xml b/parity-reporter/pom.xml index 25a59bc3..98f2fe72 100644 --- a/parity-reporter/pom.xml +++ b/parity-reporter/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT @@ -54,7 +54,7 @@ - org.jvirtanen.parity.reporter.TradeReporter + com.paritytrading.parity.reporter.TradeReporter diff --git a/parity-reporter/src/main/java/org/jvirtanen/parity/reporter/DisplayFormat.java b/parity-reporter/src/main/java/com/paritytrading/parity/reporter/DisplayFormat.java similarity index 83% rename from parity-reporter/src/main/java/org/jvirtanen/parity/reporter/DisplayFormat.java rename to parity-reporter/src/main/java/com/paritytrading/parity/reporter/DisplayFormat.java index 34c3f7b4..4d7f184d 100644 --- a/parity-reporter/src/main/java/org/jvirtanen/parity/reporter/DisplayFormat.java +++ b/parity-reporter/src/main/java/com/paritytrading/parity/reporter/DisplayFormat.java @@ -1,8 +1,8 @@ -package org.jvirtanen.parity.reporter; +package com.paritytrading.parity.reporter; import com.paritytrading.foundation.ASCII; -import org.jvirtanen.parity.net.pmr.PMR; -import org.jvirtanen.parity.util.Timestamps; +import com.paritytrading.parity.net.pmr.PMR; +import com.paritytrading.parity.util.Timestamps; class DisplayFormat extends MarketReportListener { diff --git a/parity-reporter/src/main/java/org/jvirtanen/parity/reporter/MarketReportListener.java b/parity-reporter/src/main/java/com/paritytrading/parity/reporter/MarketReportListener.java similarity index 76% rename from parity-reporter/src/main/java/org/jvirtanen/parity/reporter/MarketReportListener.java rename to parity-reporter/src/main/java/com/paritytrading/parity/reporter/MarketReportListener.java index 506c2d18..91c8b3b6 100644 --- a/parity-reporter/src/main/java/org/jvirtanen/parity/reporter/MarketReportListener.java +++ b/parity-reporter/src/main/java/com/paritytrading/parity/reporter/MarketReportListener.java @@ -1,8 +1,8 @@ -package org.jvirtanen.parity.reporter; +package com.paritytrading.parity.reporter; +import com.paritytrading.parity.net.pmr.PMR; +import com.paritytrading.parity.net.pmr.PMRListener; import java.util.Locale; -import org.jvirtanen.parity.net.pmr.PMR; -import org.jvirtanen.parity.net.pmr.PMRListener; abstract class MarketReportListener implements PMRListener { diff --git a/parity-reporter/src/main/java/org/jvirtanen/parity/reporter/TSVFormat.java b/parity-reporter/src/main/java/com/paritytrading/parity/reporter/TSVFormat.java similarity index 87% rename from parity-reporter/src/main/java/org/jvirtanen/parity/reporter/TSVFormat.java rename to parity-reporter/src/main/java/com/paritytrading/parity/reporter/TSVFormat.java index 04d1915b..5d066c2d 100644 --- a/parity-reporter/src/main/java/org/jvirtanen/parity/reporter/TSVFormat.java +++ b/parity-reporter/src/main/java/com/paritytrading/parity/reporter/TSVFormat.java @@ -1,8 +1,8 @@ -package org.jvirtanen.parity.reporter; +package com.paritytrading.parity.reporter; import com.paritytrading.foundation.ASCII; -import org.jvirtanen.parity.net.pmr.PMR; -import org.jvirtanen.parity.util.Timestamps; +import com.paritytrading.parity.net.pmr.PMR; +import com.paritytrading.parity.util.Timestamps; class TSVFormat extends MarketReportListener { diff --git a/parity-reporter/src/main/java/org/jvirtanen/parity/reporter/TradeReporter.java b/parity-reporter/src/main/java/com/paritytrading/parity/reporter/TradeReporter.java similarity index 92% rename from parity-reporter/src/main/java/org/jvirtanen/parity/reporter/TradeReporter.java rename to parity-reporter/src/main/java/com/paritytrading/parity/reporter/TradeReporter.java index 127b6ec2..470aae9a 100644 --- a/parity-reporter/src/main/java/org/jvirtanen/parity/reporter/TradeReporter.java +++ b/parity-reporter/src/main/java/com/paritytrading/parity/reporter/TradeReporter.java @@ -1,8 +1,11 @@ -package org.jvirtanen.parity.reporter; +package com.paritytrading.parity.reporter; import static org.jvirtanen.util.Applications.*; import com.paritytrading.nassau.MessageListener; +import com.paritytrading.parity.net.pmr.PMRParser; +import com.paritytrading.parity.util.MoldUDP64; +import com.paritytrading.parity.util.SoupBinTCP; import com.typesafe.config.Config; import com.typesafe.config.ConfigException; import java.io.FileNotFoundException; @@ -11,9 +14,6 @@ import java.net.InetSocketAddress; import java.net.NetworkInterface; import org.jvirtanen.config.Configs; -import org.jvirtanen.parity.net.pmr.PMRParser; -import org.jvirtanen.parity.util.MoldUDP64; -import org.jvirtanen.parity.util.SoupBinTCP; class TradeReporter { diff --git a/parity-system/pom.xml b/parity-system/pom.xml index 5f5036a7..2b454d0f 100644 --- a/parity-system/pom.xml +++ b/parity-system/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT @@ -58,7 +58,7 @@ - org.jvirtanen.parity.system.TradingSystem + com.paritytrading.parity.system.TradingSystem diff --git a/parity-system/src/main/java/org/jvirtanen/parity/system/Events.java b/parity-system/src/main/java/com/paritytrading/parity/system/Events.java similarity index 98% rename from parity-system/src/main/java/org/jvirtanen/parity/system/Events.java rename to parity-system/src/main/java/com/paritytrading/parity/system/Events.java index 517d070d..6bbc2bf1 100644 --- a/parity-system/src/main/java/org/jvirtanen/parity/system/Events.java +++ b/parity-system/src/main/java/com/paritytrading/parity/system/Events.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.system; +package com.paritytrading.parity.system; import java.io.IOException; import java.nio.channels.SelectionKey; diff --git a/parity-system/src/main/java/org/jvirtanen/parity/system/MarketData.java b/parity-system/src/main/java/com/paritytrading/parity/system/MarketData.java similarity index 98% rename from parity-system/src/main/java/org/jvirtanen/parity/system/MarketData.java rename to parity-system/src/main/java/com/paritytrading/parity/system/MarketData.java index b1fccff3..e5f35cda 100644 --- a/parity-system/src/main/java/org/jvirtanen/parity/system/MarketData.java +++ b/parity-system/src/main/java/com/paritytrading/parity/system/MarketData.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.system; +package com.paritytrading.parity.system; import static org.jvirtanen.util.Applications.*; @@ -6,6 +6,7 @@ import com.paritytrading.nassau.moldudp64.MoldUDP64DownstreamPacket; import com.paritytrading.nassau.moldudp64.MoldUDP64RequestServer; import com.paritytrading.nassau.moldudp64.MoldUDP64Server; +import com.paritytrading.parity.net.pmd.PMD; import java.io.IOException; import java.net.InetSocketAddress; import java.net.NetworkInterface; @@ -13,7 +14,6 @@ import java.net.StandardSocketOptions; import java.nio.ByteBuffer; import java.nio.channels.DatagramChannel; -import org.jvirtanen.parity.net.pmd.PMD; class MarketData { diff --git a/parity-system/src/main/java/org/jvirtanen/parity/system/MarketReporting.java b/parity-system/src/main/java/com/paritytrading/parity/system/MarketReporting.java similarity index 98% rename from parity-system/src/main/java/org/jvirtanen/parity/system/MarketReporting.java rename to parity-system/src/main/java/com/paritytrading/parity/system/MarketReporting.java index 753e74d0..f86e5cb0 100644 --- a/parity-system/src/main/java/org/jvirtanen/parity/system/MarketReporting.java +++ b/parity-system/src/main/java/com/paritytrading/parity/system/MarketReporting.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.system; +package com.paritytrading.parity.system; import static org.jvirtanen.util.Applications.*; @@ -6,6 +6,7 @@ import com.paritytrading.nassau.moldudp64.MoldUDP64DownstreamPacket; import com.paritytrading.nassau.moldudp64.MoldUDP64RequestServer; import com.paritytrading.nassau.moldudp64.MoldUDP64Server; +import com.paritytrading.parity.net.pmr.PMR; import java.io.IOException; import java.net.InetSocketAddress; import java.net.NetworkInterface; @@ -13,7 +14,6 @@ import java.net.StandardSocketOptions; import java.nio.ByteBuffer; import java.nio.channels.DatagramChannel; -import org.jvirtanen.parity.net.pmr.PMR; class MarketReporting { diff --git a/parity-system/src/main/java/org/jvirtanen/parity/system/MatchingEngine.java b/parity-system/src/main/java/com/paritytrading/parity/system/MatchingEngine.java similarity index 94% rename from parity-system/src/main/java/org/jvirtanen/parity/system/MatchingEngine.java rename to parity-system/src/main/java/com/paritytrading/parity/system/MatchingEngine.java index 1b6e86f7..687e208e 100644 --- a/parity-system/src/main/java/org/jvirtanen/parity/system/MatchingEngine.java +++ b/parity-system/src/main/java/com/paritytrading/parity/system/MatchingEngine.java @@ -1,15 +1,15 @@ -package org.jvirtanen.parity.system; +package com.paritytrading.parity.system; import com.paritytrading.foundation.ASCII; +import com.paritytrading.parity.match.Market; +import com.paritytrading.parity.match.MarketListener; +import com.paritytrading.parity.match.Side; +import com.paritytrading.parity.net.pmd.PMD; +import com.paritytrading.parity.net.pmr.PMR; +import com.paritytrading.parity.net.poe.POE; import it.unimi.dsi.fastutil.longs.Long2ObjectArrayMap; import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap; import java.util.List; -import org.jvirtanen.parity.match.Market; -import org.jvirtanen.parity.match.MarketListener; -import org.jvirtanen.parity.match.Side; -import org.jvirtanen.parity.net.pmd.PMD; -import org.jvirtanen.parity.net.pmr.PMR; -import org.jvirtanen.parity.net.poe.POE; class MatchingEngine { diff --git a/parity-system/src/main/java/org/jvirtanen/parity/system/Order.java b/parity-system/src/main/java/com/paritytrading/parity/system/Order.java similarity index 88% rename from parity-system/src/main/java/org/jvirtanen/parity/system/Order.java rename to parity-system/src/main/java/com/paritytrading/parity/system/Order.java index 3ad89700..ef051927 100644 --- a/parity-system/src/main/java/org/jvirtanen/parity/system/Order.java +++ b/parity-system/src/main/java/com/paritytrading/parity/system/Order.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.system; +package com.paritytrading.parity.system; -import org.jvirtanen.parity.match.Market; +import com.paritytrading.parity.match.Market; class Order { diff --git a/parity-system/src/main/java/org/jvirtanen/parity/system/OrderEntry.java b/parity-system/src/main/java/com/paritytrading/parity/system/OrderEntry.java similarity index 96% rename from parity-system/src/main/java/org/jvirtanen/parity/system/OrderEntry.java rename to parity-system/src/main/java/com/paritytrading/parity/system/OrderEntry.java index 2a3912b3..52dfa5f5 100644 --- a/parity-system/src/main/java/org/jvirtanen/parity/system/OrderEntry.java +++ b/parity-system/src/main/java/com/paritytrading/parity/system/OrderEntry.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.system; +package com.paritytrading.parity.system; import java.io.IOException; import java.net.InetSocketAddress; diff --git a/parity-system/src/main/java/org/jvirtanen/parity/system/Session.java b/parity-system/src/main/java/com/paritytrading/parity/system/Session.java similarity index 96% rename from parity-system/src/main/java/org/jvirtanen/parity/system/Session.java rename to parity-system/src/main/java/com/paritytrading/parity/system/Session.java index 10d09e52..96c1065f 100644 --- a/parity-system/src/main/java/org/jvirtanen/parity/system/Session.java +++ b/parity-system/src/main/java/com/paritytrading/parity/system/Session.java @@ -1,18 +1,18 @@ -package org.jvirtanen.parity.system; +package com.paritytrading.parity.system; import com.paritytrading.foundation.ASCII; import com.paritytrading.nassau.soupbintcp.SoupBinTCP; import com.paritytrading.nassau.soupbintcp.SoupBinTCPServer; import com.paritytrading.nassau.soupbintcp.SoupBinTCPServerStatusListener; +import com.paritytrading.parity.net.poe.POE; +import com.paritytrading.parity.net.poe.POEServerListener; +import com.paritytrading.parity.net.poe.POEServerParser; import java.io.Closeable; import java.io.IOException; import java.nio.ByteBuffer; import java.nio.channels.SocketChannel; import java.util.HashMap; import java.util.HashSet; -import org.jvirtanen.parity.net.poe.POE; -import org.jvirtanen.parity.net.poe.POEServerListener; -import org.jvirtanen.parity.net.poe.POEServerParser; class Session implements Closeable, SoupBinTCPServerStatusListener, POEServerListener { diff --git a/parity-system/src/main/java/org/jvirtanen/parity/system/TradingSystem.java b/parity-system/src/main/java/com/paritytrading/parity/system/TradingSystem.java similarity index 98% rename from parity-system/src/main/java/org/jvirtanen/parity/system/TradingSystem.java rename to parity-system/src/main/java/com/paritytrading/parity/system/TradingSystem.java index 4dae60c9..64e5305a 100644 --- a/parity-system/src/main/java/org/jvirtanen/parity/system/TradingSystem.java +++ b/parity-system/src/main/java/com/paritytrading/parity/system/TradingSystem.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.system; +package com.paritytrading.parity.system; import static org.jvirtanen.util.Applications.*; diff --git a/parity-ticker/pom.xml b/parity-ticker/pom.xml index 66d56566..d2c9900f 100644 --- a/parity-ticker/pom.xml +++ b/parity-ticker/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT @@ -64,7 +64,7 @@ - org.jvirtanen.parity.ticker.StockTicker + com.paritytrading.parity.ticker.StockTicker diff --git a/parity-ticker/src/main/java/org/jvirtanen/parity/ticker/DisplayFormat.java b/parity-ticker/src/main/java/com/paritytrading/parity/ticker/DisplayFormat.java similarity index 94% rename from parity-ticker/src/main/java/org/jvirtanen/parity/ticker/DisplayFormat.java rename to parity-ticker/src/main/java/com/paritytrading/parity/ticker/DisplayFormat.java index b510b038..4fd3b707 100644 --- a/parity-ticker/src/main/java/org/jvirtanen/parity/ticker/DisplayFormat.java +++ b/parity-ticker/src/main/java/com/paritytrading/parity/ticker/DisplayFormat.java @@ -1,11 +1,11 @@ -package org.jvirtanen.parity.ticker; +package com.paritytrading.parity.ticker; import com.paritytrading.foundation.ASCII; +import com.paritytrading.parity.top.Side; +import com.paritytrading.parity.util.Timestamps; import it.unimi.dsi.fastutil.longs.Long2ObjectArrayMap; import java.util.List; import java.util.Locale; -import org.jvirtanen.parity.top.Side; -import org.jvirtanen.parity.util.Timestamps; class DisplayFormat extends MarketDataListener { diff --git a/parity-ticker/src/main/java/org/jvirtanen/parity/ticker/MarketDataListener.java b/parity-ticker/src/main/java/com/paritytrading/parity/ticker/MarketDataListener.java similarity index 84% rename from parity-ticker/src/main/java/org/jvirtanen/parity/ticker/MarketDataListener.java rename to parity-ticker/src/main/java/com/paritytrading/parity/ticker/MarketDataListener.java index 6311fe68..f0adc1db 100644 --- a/parity-ticker/src/main/java/org/jvirtanen/parity/ticker/MarketDataListener.java +++ b/parity-ticker/src/main/java/com/paritytrading/parity/ticker/MarketDataListener.java @@ -1,6 +1,6 @@ -package org.jvirtanen.parity.ticker; +package com.paritytrading.parity.ticker; -import org.jvirtanen.parity.top.MarketListener; +import com.paritytrading.parity.top.MarketListener; abstract class MarketDataListener implements MarketListener { diff --git a/parity-ticker/src/main/java/org/jvirtanen/parity/ticker/MarketDataProcessor.java b/parity-ticker/src/main/java/com/paritytrading/parity/ticker/MarketDataProcessor.java similarity index 88% rename from parity-ticker/src/main/java/org/jvirtanen/parity/ticker/MarketDataProcessor.java rename to parity-ticker/src/main/java/com/paritytrading/parity/ticker/MarketDataProcessor.java index 88af5344..ada10d25 100644 --- a/parity-ticker/src/main/java/org/jvirtanen/parity/ticker/MarketDataProcessor.java +++ b/parity-ticker/src/main/java/com/paritytrading/parity/ticker/MarketDataProcessor.java @@ -1,11 +1,11 @@ -package org.jvirtanen.parity.ticker; +package com.paritytrading.parity.ticker; import static org.jvirtanen.util.Applications.*; -import org.jvirtanen.parity.net.pmd.PMD; -import org.jvirtanen.parity.net.pmd.PMDListener; -import org.jvirtanen.parity.top.Market; -import org.jvirtanen.parity.top.Side; +import com.paritytrading.parity.net.pmd.PMD; +import com.paritytrading.parity.net.pmd.PMDListener; +import com.paritytrading.parity.top.Market; +import com.paritytrading.parity.top.Side; class MarketDataProcessor implements PMDListener { diff --git a/parity-ticker/src/main/java/org/jvirtanen/parity/ticker/StockTicker.java b/parity-ticker/src/main/java/com/paritytrading/parity/ticker/StockTicker.java similarity index 92% rename from parity-ticker/src/main/java/org/jvirtanen/parity/ticker/StockTicker.java rename to parity-ticker/src/main/java/com/paritytrading/parity/ticker/StockTicker.java index c6af441e..05f84bd4 100644 --- a/parity-ticker/src/main/java/org/jvirtanen/parity/ticker/StockTicker.java +++ b/parity-ticker/src/main/java/com/paritytrading/parity/ticker/StockTicker.java @@ -1,9 +1,13 @@ -package org.jvirtanen.parity.ticker; +package com.paritytrading.parity.ticker; import static org.jvirtanen.util.Applications.*; import com.paritytrading.foundation.ASCII; import com.paritytrading.nassau.MessageListener; +import com.paritytrading.parity.net.pmd.PMDParser; +import com.paritytrading.parity.top.Market; +import com.paritytrading.parity.util.MoldUDP64; +import com.paritytrading.parity.util.SoupBinTCP; import com.typesafe.config.Config; import com.typesafe.config.ConfigException; import java.io.FileNotFoundException; @@ -13,10 +17,6 @@ import java.net.NetworkInterface; import java.util.List; import org.jvirtanen.config.Configs; -import org.jvirtanen.parity.net.pmd.PMDParser; -import org.jvirtanen.parity.top.Market; -import org.jvirtanen.parity.util.MoldUDP64; -import org.jvirtanen.parity.util.SoupBinTCP; class StockTicker { diff --git a/parity-ticker/src/main/java/org/jvirtanen/parity/ticker/TAQFormat.java b/parity-ticker/src/main/java/com/paritytrading/parity/ticker/TAQFormat.java similarity index 91% rename from parity-ticker/src/main/java/org/jvirtanen/parity/ticker/TAQFormat.java rename to parity-ticker/src/main/java/com/paritytrading/parity/ticker/TAQFormat.java index 48f8cb99..f191d184 100644 --- a/parity-ticker/src/main/java/org/jvirtanen/parity/ticker/TAQFormat.java +++ b/parity-ticker/src/main/java/com/paritytrading/parity/ticker/TAQFormat.java @@ -1,14 +1,14 @@ -package org.jvirtanen.parity.ticker; +package com.paritytrading.parity.ticker; import static java.time.format.DateTimeFormatter.ISO_LOCAL_DATE; import com.paritytrading.foundation.ASCII; +import com.paritytrading.parity.file.taq.TAQ; +import com.paritytrading.parity.file.taq.TAQWriter; +import com.paritytrading.parity.top.Side; import it.unimi.dsi.fastutil.longs.Long2ObjectArrayMap; import java.nio.charset.Charset; import java.time.LocalDate; -import org.jvirtanen.parity.file.taq.TAQ; -import org.jvirtanen.parity.file.taq.TAQWriter; -import org.jvirtanen.parity.top.Side; class TAQFormat extends MarketDataListener { diff --git a/parity-top/README.md b/parity-top/README.md index faddab5d..367ba692 100644 --- a/parity-top/README.md +++ b/parity-top/README.md @@ -11,7 +11,7 @@ Download Add a Maven dependency to Parity Top of Book: - org.jvirtanen.parity + com.paritytrading.parity parity-top diff --git a/parity-top/pom.xml b/parity-top/pom.xml index 66903dd6..0e5c0ad5 100644 --- a/parity-top/pom.xml +++ b/parity-top/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT diff --git a/parity-match/src/main/java/org/jvirtanen/parity/match/AskComparator.java b/parity-top/src/main/java/com/paritytrading/parity/top/AskComparator.java similarity index 88% rename from parity-match/src/main/java/org/jvirtanen/parity/match/AskComparator.java rename to parity-top/src/main/java/com/paritytrading/parity/top/AskComparator.java index a345ecfb..a7c3b2e3 100644 --- a/parity-match/src/main/java/org/jvirtanen/parity/match/AskComparator.java +++ b/parity-top/src/main/java/com/paritytrading/parity/top/AskComparator.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.top; import it.unimi.dsi.fastutil.longs.AbstractLongComparator; diff --git a/parity-match/src/main/java/org/jvirtanen/parity/match/BidComparator.java b/parity-top/src/main/java/com/paritytrading/parity/top/BidComparator.java similarity index 88% rename from parity-match/src/main/java/org/jvirtanen/parity/match/BidComparator.java rename to parity-top/src/main/java/com/paritytrading/parity/top/BidComparator.java index 8edeffff..77e51f24 100644 --- a/parity-match/src/main/java/org/jvirtanen/parity/match/BidComparator.java +++ b/parity-top/src/main/java/com/paritytrading/parity/top/BidComparator.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.match; +package com.paritytrading.parity.top; import it.unimi.dsi.fastutil.longs.AbstractLongComparator; diff --git a/parity-top/src/main/java/org/jvirtanen/parity/top/Level.java b/parity-top/src/main/java/com/paritytrading/parity/top/Level.java similarity index 96% rename from parity-top/src/main/java/org/jvirtanen/parity/top/Level.java rename to parity-top/src/main/java/com/paritytrading/parity/top/Level.java index 3c18246b..12edfc01 100644 --- a/parity-top/src/main/java/org/jvirtanen/parity/top/Level.java +++ b/parity-top/src/main/java/com/paritytrading/parity/top/Level.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.top; import java.util.ArrayList; diff --git a/parity-top/src/main/java/org/jvirtanen/parity/top/Market.java b/parity-top/src/main/java/com/paritytrading/parity/top/Market.java similarity index 99% rename from parity-top/src/main/java/org/jvirtanen/parity/top/Market.java rename to parity-top/src/main/java/com/paritytrading/parity/top/Market.java index 23ca8390..eba63d20 100644 --- a/parity-top/src/main/java/org/jvirtanen/parity/top/Market.java +++ b/parity-top/src/main/java/com/paritytrading/parity/top/Market.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.top; import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap; diff --git a/parity-top/src/main/java/org/jvirtanen/parity/top/MarketListener.java b/parity-top/src/main/java/com/paritytrading/parity/top/MarketListener.java similarity index 96% rename from parity-top/src/main/java/org/jvirtanen/parity/top/MarketListener.java rename to parity-top/src/main/java/com/paritytrading/parity/top/MarketListener.java index 41c70ebe..a2cd9429 100644 --- a/parity-top/src/main/java/org/jvirtanen/parity/top/MarketListener.java +++ b/parity-top/src/main/java/com/paritytrading/parity/top/MarketListener.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.top; /** * The interface for outbound events from the order book reconstruction. diff --git a/parity-top/src/main/java/org/jvirtanen/parity/top/Order.java b/parity-top/src/main/java/com/paritytrading/parity/top/Order.java similarity index 97% rename from parity-top/src/main/java/org/jvirtanen/parity/top/Order.java rename to parity-top/src/main/java/com/paritytrading/parity/top/Order.java index a9ea9988..af143218 100644 --- a/parity-top/src/main/java/org/jvirtanen/parity/top/Order.java +++ b/parity-top/src/main/java/com/paritytrading/parity/top/Order.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.top; /** * An order in an order book. diff --git a/parity-top/src/main/java/org/jvirtanen/parity/top/OrderBook.java b/parity-top/src/main/java/com/paritytrading/parity/top/OrderBook.java similarity index 97% rename from parity-top/src/main/java/org/jvirtanen/parity/top/OrderBook.java rename to parity-top/src/main/java/com/paritytrading/parity/top/OrderBook.java index e21ef349..efa22946 100644 --- a/parity-top/src/main/java/org/jvirtanen/parity/top/OrderBook.java +++ b/parity-top/src/main/java/com/paritytrading/parity/top/OrderBook.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.top; class OrderBook { diff --git a/parity-top/src/main/java/org/jvirtanen/parity/top/Orders.java b/parity-top/src/main/java/com/paritytrading/parity/top/Orders.java similarity index 96% rename from parity-top/src/main/java/org/jvirtanen/parity/top/Orders.java rename to parity-top/src/main/java/com/paritytrading/parity/top/Orders.java index ac1ff33e..0b65a0a5 100644 --- a/parity-top/src/main/java/org/jvirtanen/parity/top/Orders.java +++ b/parity-top/src/main/java/com/paritytrading/parity/top/Orders.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.top; import it.unimi.dsi.fastutil.longs.Long2ObjectRBTreeMap; import it.unimi.dsi.fastutil.longs.LongComparator; diff --git a/parity-top/src/main/java/org/jvirtanen/parity/top/Side.java b/parity-top/src/main/java/com/paritytrading/parity/top/Side.java similarity index 63% rename from parity-top/src/main/java/org/jvirtanen/parity/top/Side.java rename to parity-top/src/main/java/com/paritytrading/parity/top/Side.java index 328162a3..45200052 100644 --- a/parity-top/src/main/java/org/jvirtanen/parity/top/Side.java +++ b/parity-top/src/main/java/com/paritytrading/parity/top/Side.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.top; /** * The order side. diff --git a/parity-top/src/main/java/org/jvirtanen/parity/top/package-info.java b/parity-top/src/main/java/com/paritytrading/parity/top/package-info.java similarity index 69% rename from parity-top/src/main/java/org/jvirtanen/parity/top/package-info.java rename to parity-top/src/main/java/com/paritytrading/parity/top/package-info.java index 5c20ea6c..472dc1c0 100644 --- a/parity-top/src/main/java/org/jvirtanen/parity/top/package-info.java +++ b/parity-top/src/main/java/com/paritytrading/parity/top/package-info.java @@ -1,4 +1,4 @@ /** * Parity Top of Book implements high-performance order book reconstruction. */ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.top; diff --git a/parity-top/src/test/java/org/jvirtanen/parity/top/MarketEvents.java b/parity-top/src/test/java/com/paritytrading/parity/top/MarketEvents.java similarity index 97% rename from parity-top/src/test/java/org/jvirtanen/parity/top/MarketEvents.java rename to parity-top/src/test/java/com/paritytrading/parity/top/MarketEvents.java index 7cd4383d..0223b65e 100644 --- a/parity-top/src/test/java/org/jvirtanen/parity/top/MarketEvents.java +++ b/parity-top/src/test/java/com/paritytrading/parity/top/MarketEvents.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.top; import java.util.ArrayList; import java.util.List; diff --git a/parity-top/src/test/java/org/jvirtanen/parity/top/MarketTest.java b/parity-top/src/test/java/com/paritytrading/parity/top/MarketTest.java similarity index 98% rename from parity-top/src/test/java/org/jvirtanen/parity/top/MarketTest.java rename to parity-top/src/test/java/com/paritytrading/parity/top/MarketTest.java index 380e7cad..dbd3b429 100644 --- a/parity-top/src/test/java/org/jvirtanen/parity/top/MarketTest.java +++ b/parity-top/src/test/java/com/paritytrading/parity/top/MarketTest.java @@ -1,8 +1,8 @@ -package org.jvirtanen.parity.top; +package com.paritytrading.parity.top; +import static com.paritytrading.parity.top.MarketEvents.*; import static java.util.Arrays.*; import static org.junit.Assert.*; -import static org.jvirtanen.parity.top.MarketEvents.*; import org.junit.Before; import org.junit.Test; diff --git a/parity-util/README.md b/parity-util/README.md index 56a27a7f..a8b958ea 100644 --- a/parity-util/README.md +++ b/parity-util/README.md @@ -10,7 +10,7 @@ Download Add a Maven dependency to Parity Utilities: - org.jvirtanen.parity + com.paritytrading.parity parity-util diff --git a/parity-util/pom.xml b/parity-util/pom.xml index 7776a046..7e5e568f 100644 --- a/parity-util/pom.xml +++ b/parity-util/pom.xml @@ -4,7 +4,7 @@ 4.0.0 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT diff --git a/parity-util/src/main/java/org/jvirtanen/parity/util/MoldUDP64.java b/parity-util/src/main/java/com/paritytrading/parity/util/MoldUDP64.java similarity index 98% rename from parity-util/src/main/java/org/jvirtanen/parity/util/MoldUDP64.java rename to parity-util/src/main/java/com/paritytrading/parity/util/MoldUDP64.java index 0e32b0f8..4083eab3 100644 --- a/parity-util/src/main/java/org/jvirtanen/parity/util/MoldUDP64.java +++ b/parity-util/src/main/java/com/paritytrading/parity/util/MoldUDP64.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.util; +package com.paritytrading.parity.util; import com.paritytrading.nassau.MessageListener; import com.paritytrading.nassau.moldudp64.MoldUDP64Client; diff --git a/parity-util/src/main/java/org/jvirtanen/parity/util/OrderIDGenerator.java b/parity-util/src/main/java/com/paritytrading/parity/util/OrderIDGenerator.java similarity index 95% rename from parity-util/src/main/java/org/jvirtanen/parity/util/OrderIDGenerator.java rename to parity-util/src/main/java/com/paritytrading/parity/util/OrderIDGenerator.java index fb23143a..3f9f071b 100644 --- a/parity-util/src/main/java/org/jvirtanen/parity/util/OrderIDGenerator.java +++ b/parity-util/src/main/java/com/paritytrading/parity/util/OrderIDGenerator.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.util; +package com.paritytrading.parity.util; import java.time.LocalTime; import java.time.format.DateTimeFormatter; diff --git a/parity-util/src/main/java/org/jvirtanen/parity/util/SoupBinTCP.java b/parity-util/src/main/java/com/paritytrading/parity/util/SoupBinTCP.java similarity index 98% rename from parity-util/src/main/java/org/jvirtanen/parity/util/SoupBinTCP.java rename to parity-util/src/main/java/com/paritytrading/parity/util/SoupBinTCP.java index 5d5621e9..76ab9a1a 100644 --- a/parity-util/src/main/java/org/jvirtanen/parity/util/SoupBinTCP.java +++ b/parity-util/src/main/java/com/paritytrading/parity/util/SoupBinTCP.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.util; +package com.paritytrading.parity.util; import static com.paritytrading.nassau.soupbintcp.SoupBinTCP.*; diff --git a/parity-util/src/main/java/org/jvirtanen/parity/util/Timestamps.java b/parity-util/src/main/java/com/paritytrading/parity/util/Timestamps.java similarity index 94% rename from parity-util/src/main/java/org/jvirtanen/parity/util/Timestamps.java rename to parity-util/src/main/java/com/paritytrading/parity/util/Timestamps.java index a1b3dba4..0e38539f 100644 --- a/parity-util/src/main/java/org/jvirtanen/parity/util/Timestamps.java +++ b/parity-util/src/main/java/com/paritytrading/parity/util/Timestamps.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.util; +package com.paritytrading.parity.util; import java.time.LocalTime; import java.time.format.DateTimeFormatter; diff --git a/parity-util/src/main/java/org/jvirtanen/parity/util/package-info.java b/parity-util/src/main/java/com/paritytrading/parity/util/package-info.java similarity index 68% rename from parity-util/src/main/java/org/jvirtanen/parity/util/package-info.java rename to parity-util/src/main/java/com/paritytrading/parity/util/package-info.java index 7dd62c01..68c83f46 100644 --- a/parity-util/src/main/java/org/jvirtanen/parity/util/package-info.java +++ b/parity-util/src/main/java/com/paritytrading/parity/util/package-info.java @@ -1,4 +1,4 @@ /** * Parity Utilities contain support functions used by Parity Trading System. */ -package org.jvirtanen.parity.util; +package com.paritytrading.parity.util; diff --git a/parity-util/src/test/java/org/jvirtanen/parity/util/TimestampsTest.java b/parity-util/src/test/java/com/paritytrading/parity/util/TimestampsTest.java similarity index 94% rename from parity-util/src/test/java/org/jvirtanen/parity/util/TimestampsTest.java rename to parity-util/src/test/java/com/paritytrading/parity/util/TimestampsTest.java index bb09ef75..f6c15c5a 100644 --- a/parity-util/src/test/java/org/jvirtanen/parity/util/TimestampsTest.java +++ b/parity-util/src/test/java/com/paritytrading/parity/util/TimestampsTest.java @@ -1,4 +1,4 @@ -package org.jvirtanen.parity.util; +package com.paritytrading.parity.util; import static org.junit.Assert.*; diff --git a/pom.xml b/pom.xml index d6237d7f..f1140651 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 7 - org.jvirtanen.parity + com.paritytrading.parity parity-parent 0.3.1-SNAPSHOT pom @@ -186,7 +186,7 @@ org.apache.maven.plugins maven-javadoc-plugin - org.jvirtanen.parity.client:org.jvirtanen.parity.fix:org.jvirtanen.parity.reporter:org.jvirtanen.parity.system:org.jvirtanen.parity.ticker:*.perf + com.paritytrading.parity.client:com.paritytrading.parity.fix:com.paritytrading.parity.reporter:com.paritytrading.parity.system:com.paritytrading.parity.ticker:*.perf http://api.paritytrading.com/nassau/latest/ http://typesafehub.github.io/config/latest/api/