Skip to content

Commit

Permalink
cleaned up package names to improve module isolation
Browse files Browse the repository at this point in the history
  • Loading branch information
cwensel committed Oct 14, 2023
1 parent b448e98 commit 650cc12
Show file tree
Hide file tree
Showing 362 changed files with 1,516 additions and 1,525 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.config;
package clusterless.cls.config;

import java.nio.file.Paths;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.config;
package clusterless.cls.config;

import com.fasterxml.jackson.annotation.JsonAutoDetect;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.config;
package clusterless.cls.config;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonParser;
Expand All @@ -30,8 +30,8 @@
import java.util.List;
import java.util.Properties;

import static clusterless.json.JSONUtil.readPropertiesSafe;
import static clusterless.json.JSONUtil.valueToObjectNodeNoNulls;
import static clusterless.cls.json.JSONUtil.readPropertiesSafe;
import static clusterless.cls.json.JSONUtil.valueToObjectNodeNoNulls;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.config;
package clusterless.cls.config;

import java.nio.file.Path;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.config;
package clusterless.cls.config;

import com.fasterxml.jackson.annotation.JsonIgnore;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.config;
package clusterless.cls.config;

import clusterless.util.Lazy;
import clusterless.cls.util.Lazy;

import java.util.LinkedHashMap;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.config;
package clusterless.cls.config;

/**
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.json;
package clusterless.cls.json;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.JsonParser;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.json;
package clusterless.cls.json;

import com.fasterxml.jackson.annotation.JacksonAnnotationsInside;
import com.fasterxml.jackson.annotation.JsonProperty;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.json;
package clusterless.cls.json;

public class Views {
public static class Required {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.naming;
package clusterless.cls.naming;

import java.io.Serializable;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.naming;
package clusterless.cls.naming;

import clusterless.util.Strings;
import clusterless.cls.util.Strings;

import java.util.Arrays;
import java.util.Locale;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.naming;
package clusterless.cls.naming;

import java.util.Arrays;
import java.util.Locale;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.naming;
package clusterless.cls.naming;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.naming;
package clusterless.cls.naming;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.naming;
package clusterless.cls.naming;

import java.util.Locale;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.naming;
package clusterless.cls.naming;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.temporal;
package clusterless.cls.temporal;

import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.temporal;
package clusterless.cls.temporal;

import java.time.ZoneOffset;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeFormatterBuilder;

import static clusterless.temporal.IntervalField.*;
import static clusterless.cls.temporal.IntervalField.*;
import static java.time.temporal.ChronoField.*;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.temporal;
package clusterless.cls.temporal;

import java.time.Duration;
import java.time.Instant;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.temporal;
package clusterless.cls.temporal;

import java.time.Duration;
import java.time.temporal.Temporal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.temporal;
package clusterless.cls.temporal;

import java.time.format.DateTimeFormatter;
import java.time.temporal.ChronoUnit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import java.lang.annotation.Annotation;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import clusterless.json.JSONUtil;
import clusterless.naming.Fixed;
import clusterless.naming.Label;
import clusterless.cls.json.JSONUtil;
import clusterless.cls.naming.Fixed;
import clusterless.cls.naming.Label;

import java.util.Map;
import java.util.function.Function;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import java.io.Serializable;
import java.util.Objects;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import org.checkerframework.checker.nullness.qual.Nullable;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

public class Memory {
public static String memoryUsage() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import java.util.LinkedHashMap;
import java.util.Map;
Expand Down Expand Up @@ -185,4 +185,4 @@ public static <K, V> Map<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4
}
};
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import java.util.Collection;
import java.util.LinkedHashMap;
Expand Down Expand Up @@ -260,4 +260,4 @@ public static <K, V> Map<K, V> of(K k1, V v1, K k2, V v2, K k3, V v3, K k4, V v4
}
};
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import java.io.File;
import java.net.URISyntaxException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import java.util.ArrayList;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;


import com.google.common.base.CaseFormat;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import java.util.Objects;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/

package clusterless.util;
package clusterless.cls.util;

import clusterless.naming.Partition;
import clusterless.cls.naming.Partition;
import com.google.common.base.Strings;

import javax.annotation.Nullable;
Expand Down
Loading

0 comments on commit 650cc12

Please sign in to comment.