Skip to content
This repository has been archived by the owner on Feb 10, 2022. It is now read-only.

Commit

Permalink
Merge pull request #62 from jvirtanen/features/namespace
Browse files Browse the repository at this point in the history
Move to 'com.paritytrading' namespace
  • Loading branch information
jvirtanen committed Apr 22, 2016
2 parents 26ab0fa + 687d459 commit 9801959
Show file tree
Hide file tree
Showing 118 changed files with 223 additions and 223 deletions.
4 changes: 2 additions & 2 deletions parity-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jvirtanen.parity</groupId>
<groupId>com.paritytrading.parity</groupId>
<artifactId>parity-parent</artifactId>
<version>0.3.1-SNAPSHOT</version>
</parent>
Expand Down Expand Up @@ -71,7 +71,7 @@
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jvirtanen.parity.client.TerminalClient</mainClass>
<mainClass>com.paritytrading.parity.client.TerminalClient</mainClass>
</transformer>
</transformers>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
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;
import java.nio.ByteBuffer;
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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jvirtanen.parity.client.command;
package com.paritytrading.parity.client.command;

public class CommandException extends Exception {
}
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jvirtanen.parity.client.event;
package com.paritytrading.parity.client.event;

class DefaultEventVisitor implements EventVisitor {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jvirtanen.parity.client.event;
package com.paritytrading.parity.client.event;

public interface EventVisitor {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
2 changes: 1 addition & 1 deletion parity-file/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Download
Add a Maven dependency to Parity File Formats:

<dependency>
<groupId>org.jvirtanen.parity</groupId>
<groupId>com.paritytrading.parity</groupId>
<artifactId>parity-file</artifactId>
<version><!-- latest version --></version>
</dependency>
Expand Down
2 changes: 1 addition & 1 deletion parity-file/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jvirtanen.parity</groupId>
<groupId>com.paritytrading.parity</groupId>
<artifactId>parity-parent</artifactId>
<version>0.3.1-SNAPSHOT</version>
</parent>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jvirtanen.parity.file.taq;
package com.paritytrading.parity.file.taq;

/**
* Common definitions.
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
4 changes: 2 additions & 2 deletions parity-fix/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.jvirtanen.parity</groupId>
<groupId>com.paritytrading.parity</groupId>
<artifactId>parity-parent</artifactId>
<version>0.3.1-SNAPSHOT</version>
</parent>
Expand Down Expand Up @@ -54,7 +54,7 @@
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.jvirtanen.parity.fix.FIXGateway</mainClass>
<mainClass>com.paritytrading.parity.fix.FIXGateway</mainClass>
</transformer>
</transformers>
</configuration>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jvirtanen.parity.fix;
package com.paritytrading.parity.fix;

import java.io.Closeable;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jvirtanen.parity.fix;
package com.paritytrading.parity.fix;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jvirtanen.parity.fix;
package com.paritytrading.parity.fix;

import static org.jvirtanen.util.Applications.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -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 {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.jvirtanen.parity.fix;
package com.paritytrading.parity.fix;

import java.util.ArrayList;
import java.util.List;
Expand Down
Loading

0 comments on commit 9801959

Please sign in to comment.