Skip to content

Commit

Permalink
First refactorings done
Browse files Browse the repository at this point in the history
  • Loading branch information
igorakkerman committed May 16, 2016
1 parent ae272ba commit 86bb1f6
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion jlib-container.iml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<orderEntry type="module" module-name="jlib-array" />
<orderEntry type="module" module-name="jlib-operator" />
<orderEntry type="module" module-name="jlib-value" />
<orderEntry type="library" name="Maven: org.checkerframework:checker-qual:1.8.10" level="project" />
<orderEntry type="library" name="Maven: org.checkerframework:checker-qual:2.0.0" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.12" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.hamcrest:hamcrest-core:1.3" level="project" />
<orderEntry type="library" scope="TEST" name="Maven: org.assertj:assertj-core:1.7.1" level="project" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
package org.jlib.container.operation;

import org.jlib.exception.InvalidStateException;

import static org.jlib.message.MessageUtility.message;
import static org.jlib.message.Messages.message;

public class ForbiddenCastException
extends InvalidStateException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@

import org.jlib.exception.InvalidArgumentException;
import org.jlib.message.Message;

import static org.jlib.message.MessageUtility.message;
import static org.jlib.message.Messages.message;

public abstract class InvalidContainerArgumentException
extends InvalidArgumentException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@

import org.jlib.exception.InvalidStateException;
import org.jlib.message.Message;

import static org.jlib.message.MessageUtility.message;
import static org.jlib.message.Messages.message;

public abstract class InvalidContainerStateException
extends InvalidStateException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@

package org.jlib.container.operation;


import static org.jlib.message.MessageUtility.message;
import static org.jlib.message.Messages.message;

/**
* {@link InvalidContainerArgumentException} thrown when trying to invalidly add
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

package org.jlib.container.operation;

import static org.jlib.message.MessageUtility.message;
import static org.jlib.message.Messages.message;

/**
* {@link InvalidContainerArgumentException} thrown when a {@link RemoveSingleByValue} does not contain
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
package org.jlib.container.storage;

import org.jlib.exception.UnexpectedStateException;

import static org.jlib.message.MessageUtility.mfmessage;
import static org.jlib.message.Messages.mfmessage;

public abstract class AbstractLinearIndexStorage<Item>
implements LinearIndexStorage<Item> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

package org.jlib.container.storage;

import static org.jlib.message.MessageUtility.message;
import static org.jlib.message.Messages.message;

public class InvalidAdditionalCapacityException
extends InvalidStorageArgumentException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

package org.jlib.container.storage;

import static org.jlib.message.MessageUtility.message;
import static org.jlib.message.Messages.message;

/**
* {@link InvalidStorageArgumentException} thrown when an invalid capacity of an {@link LinearIndexStorage} is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import org.jlib.container.storage.LinearIndexStorage;

import org.jlib.basefunctions.ApplicationObject;
import static org.jlib.message.MessageUtility.mfmessage;
import static org.jlib.message.Messages.mfmessage;

public abstract class AbstractCapacityStrategy
extends ApplicationObject {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

package org.jlib.container.storage.capacity;

import org.jlib.container.storage.LinearIndexStorage;
import org.jlib.container.storage.InvalidStorageArgumentException;
import org.jlib.container.storage.LinearIndexStorage;

import static org.jlib.message.MessageUtility.message;
import static org.jlib.message.Messages.message;

public class InvalidCapacityException
extends InvalidStorageArgumentException {
Expand Down

0 comments on commit 86bb1f6

Please sign in to comment.