Skip to content

Commit

Permalink
Merge branch 'release/c4.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
tommystendahl committed Feb 22, 2024
2 parents dee11a0 + 3eef1a4 commit 90a906f
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 24 deletions.
5 changes: 0 additions & 5 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
</properties>

<dependencies>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
</dependency>

<!-- Test dependencies -->
<dependency>
<groupId>org.assertj</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,13 @@
import net.openhft.chronicle.core.io.IORuntimeException;
import net.openhft.chronicle.wire.ReadMarshallable;
import net.openhft.chronicle.wire.WireIn;
import org.jetbrains.annotations.NotNull;

public class AuditRecordReadMarshallable implements ReadMarshallable
{
private StoredAuditRecord auditRecord;

@Override
public void readMarshallable(@NotNull WireIn wire) throws IORuntimeException
public void readMarshallable(WireIn wire) throws IORuntimeException
{
if (auditRecord != null)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import com.ericsson.bss.cassandra.ecaudit.common.record.AuditRecord;
import net.openhft.chronicle.wire.WireOut;
import net.openhft.chronicle.wire.WriteMarshallable;
import org.jetbrains.annotations.NotNull;

public class AuditRecordWriteMarshallable implements WriteMarshallable
{
Expand All @@ -33,7 +32,7 @@ public AuditRecordWriteMarshallable(AuditRecord auditRecord, FieldSelector confi
}

@Override
public void writeMarshallable(@NotNull WireOut wire)
public void writeMarshallable(WireOut wire)
{
// Mandatory fields
wire.write(WireTags.KEY_VERSION).int16(WireTags.VALUE_VERSION_CURRENT);
Expand Down
4 changes: 0 additions & 4 deletions ecaudit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
<artifactId>common_${artifact.flavor.version}</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.assertj</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.apache.commons.lang3.StringUtils;
import org.apache.cassandra.auth.IResource;
import org.apache.cassandra.auth.Permission;
import org.jetbrains.annotations.NotNull;

/**
* IResource implementation representing database connections.
Expand Down Expand Up @@ -116,7 +115,7 @@ public Set<Permission> applicablePermissions()
}

@Override
public int compareTo(@NotNull ConnectionResource o)
public int compareTo(ConnectionResource o)
{
return this.getName().compareTo(o.getName());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import com.ericsson.bss.cassandra.ecaudit.common.record.Status;
import com.ericsson.bss.cassandra.ecaudit.common.record.StoredAuditRecord;
import com.ericsson.bss.cassandra.ecaudit.eclog.config.EcLogYamlConfig;
import org.jetbrains.annotations.NotNull;
import org.mockito.Mock;
import org.mockito.junit.MockitoJUnitRunner;
import org.mockito.stubbing.OngoingStubbing;
Expand Down Expand Up @@ -241,7 +240,6 @@ public void testAvailableFieldFunctions()
assertThat(availableFieldFunctions.get("TIMESTAMP").apply(FULL_RECORD)).isEqualTo("123");
}

@NotNull
private QueueReader givenReaderWithSingleRecord(StoredAuditRecord authRecord)
{
QueueReader reader = mock(QueueReader.class);
Expand All @@ -250,7 +248,6 @@ private QueueReader givenReaderWithSingleRecord(StoredAuditRecord authRecord)
return reader;
}

@NotNull
private EcLogYamlConfig mockConfig(String format)
{
EcLogYamlConfig config = mock(EcLogYamlConfig.class);
Expand Down
6 changes: 0 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
<pmd-config-url>pmd-rules.xml</pmd-config-url>

<commons-cli.version>1.4</commons-cli.version>
<annotations.version>19.0.0</annotations.version>

<assertj.version>3.22.0</assertj.version>
<cassandra-driver.version>4.16.0</cassandra-driver.version>
Expand Down Expand Up @@ -102,11 +101,6 @@
<artifactId>commons-cli</artifactId>
<version>${commons-cli.version}</version>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>${annotations.version}</version>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.assertj</groupId>
Expand Down

0 comments on commit 90a906f

Please sign in to comment.