Skip to content

Commit

Permalink
Removed 'final' keyword from various classes, as it made mocking them…
Browse files Browse the repository at this point in the history
… in other projects difficult.
  • Loading branch information
Agadar committed Mar 4, 2018
1 parent 23e684b commit 4684ce2
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- General properties -->
<groupId>com.github.agadar</groupId>
<artifactId>nationstates-api-java-wrapper</artifactId>
<version>4.0.0</version>
<version>4.0.1</version>
<packaging>jar</packaging>
<name>NationStates API Java Wrapper</name>
<description>A Java library for consuming the NationStates API.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class NationStates implements INationStates {
public class NationStates implements INationStates {

/**
* The NationStates API version this wrapper uses.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class NationStatesAPIException extends RuntimeException {
public class NationStatesAPIException extends RuntimeException {

public NationStatesAPIException() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class ColonSeparatedToSetAdapter extends XmlAdapter<String, Set<String>> {
public class ColonSeparatedToSetAdapter extends XmlAdapter<String, Set<String>> {

@Override
public String marshal(Set<String> bt) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class CommaSeparatedToSetAdapter extends XmlAdapter<String, Set<String>> {
public class CommaSeparatedToSetAdapter extends XmlAdapter<String, Set<String>> {

@Override
public String marshal(Set<String> bt) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class NationQuery extends CensusQuery<NationQuery, Nation, NationShard> {
public class NationQuery extends CensusQuery<NationQuery, Nation, NationShard> {

/**
* See canReceiveTelegramFromRegion(...).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class RegionQuery extends CensusRankQuery<RegionQuery, Region, RegionShard> {
public class RegionQuery extends CensusRankQuery<RegionQuery, Region, RegionShard> {

/**
* Offset for the 10 most recent regional messages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class TelegramQuery extends APIQuery<TelegramQuery, Void> {
public class TelegramQuery extends APIQuery<TelegramQuery, Void> {

/**
* The rate limiter for normal telegrams.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class VerifyQuery extends APIQuery<VerifyQuery, Boolean> {
public class VerifyQuery extends APIQuery<VerifyQuery, Boolean> {

/**
* The nation to verify.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class VersionQuery extends APIQuery<VersionQuery, Integer> {
public class VersionQuery extends APIQuery<VersionQuery, Integer> {

/**
* Constructor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class WorldAssemblyQuery extends ShardQuery<WorldAssemblyQuery, WorldAssembly, WorldAssemblyShard> {
public class WorldAssemblyQuery extends ShardQuery<WorldAssemblyQuery, WorldAssembly, WorldAssemblyShard> {

/**
* The id of the resolution to retrieve.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class WorldQuery extends CensusRankQuery<WorldQuery, World, WorldShard> {
public class WorldQuery extends CensusRankQuery<WorldQuery, World, WorldShard> {

/**
* Nation to list dispatches of.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class DependantRateLimiter extends RateLimiter {
public class DependantRateLimiter extends RateLimiter {

/**
* The rate limiter this one is dependant on.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* @author Agadar (https://github.com/Agadar/)
*/
public final class XmlConverter implements IXmlConverter {
public class XmlConverter implements IXmlConverter {

/**
* The JAXBContext for this API.
Expand Down

0 comments on commit 4684ce2

Please sign in to comment.