Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions ffwd-client/src/main/java/com/spotify/ffwd/Metric.java
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/*-
* -\-\-
* FastForward Client
* FastForward Java Client
* --
* Copyright (C) 2016 - 2019 Spotify AB
* Copyright (C) 2016 - 2020 Spotify AB
* --
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -27,6 +27,7 @@
import java.util.List;
import java.util.Map;

@SuppressWarnings({ "MissingJavadocMethod" })
public class Metric {

private static final long PROC = 1 << 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/*-
* -\-\-
* FastForward Client
* FastForward Java Client
* --
* Copyright (C) 2016 - 2019 Spotify AB
* Copyright (C) 2016 - 2020 Spotify AB
* --
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -26,6 +26,11 @@

public class BasicExample {

/**
* Example Initialization for a FastForward client.
*
* @throws IOException during FastForward setup
*/
public static void main(String[] args) throws IOException {
FastForward client = FastForward.setup();

Expand Down
6 changes: 3 additions & 3 deletions ffwd-client/src/main/java/com/spotify/ffwd/v1/Metric.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -26,7 +26,7 @@
import java.util.List;
import java.util.Map;


@SuppressWarnings({ "MissingJavadocMethod" })
public class Metric {

private static final long TIME = 1 << 1;
Expand Down
13 changes: 8 additions & 5 deletions ffwd-client/src/main/java/com/spotify/ffwd/v1/Value.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -33,7 +33,8 @@
*/
public abstract class Value {

Value() {}
Value() {
}


public static Value doubleValue(double value) {
Expand All @@ -54,7 +55,8 @@ public abstract <T> T match(
@AutoValue
abstract static class DoubleValue extends Value {

DoubleValue() {}
DoubleValue() {
}

@Override
public final <T> T match(
Expand All @@ -76,7 +78,8 @@ static DoubleValue create(double value) {
@AutoValue
abstract static class DistributionValue extends Value {

DistributionValue() {}
DistributionValue() {
}

@Override
public final <T> T match(
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -131,17 +131,17 @@
<plugins>
<plugin>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.2</version>
<dependencies>
<dependency>
<groupId>com.spotify.checkstyle</groupId>
<artifactId>spotify-checkstyle-config</artifactId>
<version>1.0.7</version>
<version>1.0.11</version>
</dependency>
<dependency>
<groupId>com.puppycrawl.tools</groupId>
<artifactId>checkstyle</artifactId>
<version>8.18</version>
<version>8.29</version>
</dependency>
</dependencies>
<configuration>
Expand Down