Skip to content

Commit

Permalink
Remove unnecessary @SuppressWarnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
motlin committed Apr 13, 2022
1 parent 3bf2db5 commit 37a4461
Show file tree
Hide file tree
Showing 13 changed files with 6 additions and 19 deletions.
Expand Up @@ -411,7 +411,6 @@ final class Immutable<name>HashBag implements Immutable<name>Bag, Serializable

private <name>Bag bag;

@SuppressWarnings("UnusedDeclaration")
public Immutable<name>BagSerializationProxy()
{
// Empty constructor for Externalizable class
Expand Down
Expand Up @@ -40,7 +40,6 @@ public abstract class AbstractImmutableObject<name>Map\<V> implements ImmutableO

private Object<name>Map\<V> map;

@SuppressWarnings("UnusedDeclaration")
public ImmutableObject<name>MapSerializationProxy()
{
// Empty constructor for Externalizable class
Expand Down
Expand Up @@ -54,7 +54,6 @@ public abstract class AbstractImmutable<name>ObjectMap\<V> implements Immutable<

private <name>ObjectMap\<V> map;

@SuppressWarnings("UnusedDeclaration")
public Immutable<name>ObjectMapSerializationProxy()
{
// Empty constructor for Externalizable class
Expand Down
Expand Up @@ -456,7 +456,6 @@ final class Immutable<name1><name2>HashMap implements Immutable<name1><name2>Map

private <name1><name2>Map map;

@SuppressWarnings("UnusedDeclaration")
public Immutable<name1><name2>MapSerializationProxy()
{
// Empty constructor for Externalizable class
Expand Down
Expand Up @@ -186,7 +186,6 @@ final class Immutable<name>ArrayStack extends Abstract<name>Stack

private <name>Stack stack;

@SuppressWarnings("UnusedDeclaration")
public Immutable<name>StackSerializationProxy()
{
// Empty constructor for Externalizable class
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Goldman Sachs and others.
* Copyright (c) 2022 Goldman Sachs and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
Expand Down Expand Up @@ -68,7 +68,6 @@ public static class SynchronizedRichIterableSerializationProxy<T> implements Ext

private RichIterable<T> richIterable;

@SuppressWarnings("UnusedDeclaration")
public SynchronizedRichIterableSerializationProxy()
{
// Empty constructor for Externalizable class
Expand Down
Expand Up @@ -421,7 +421,6 @@ private static class UnmodifiableBagSerializationProxy<T> implements Externaliza

private MutableBag<T> mutableBag;

@SuppressWarnings("UnusedDeclaration")
public UnmodifiableBagSerializationProxy()
{
// Empty constructor for Externalizable class
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Goldman Sachs and others.
* Copyright (c) 2022 Goldman Sachs and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
Expand Down Expand Up @@ -100,7 +100,6 @@ private static class ImmutableBagMultimapSerializationProxy<K, V>
private ImmutableMap<K, ImmutableBag<V>> map;
private MutableMultimap<K, V> multimap;

@SuppressWarnings("UnusedDeclaration")
public ImmutableBagMultimapSerializationProxy()
{
// For Externalizable use only
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Goldman Sachs.
* Copyright (c) 2022 Goldman Sachs and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
Expand Down Expand Up @@ -186,7 +186,6 @@ private static final class ImmutableSortedBagMultimapSerializationProxy<K, V>
private static final long serialVersionUID = 1L;
private Comparator<? super V> comparator;

@SuppressWarnings("UnusedDeclaration")
public ImmutableSortedBagMultimapSerializationProxy()
{
// For Externalizable use only
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Goldman Sachs and others.
* Copyright (c) 2022 Goldman Sachs and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
Expand Down Expand Up @@ -96,7 +96,6 @@ public static class ImmutableListMultimapSerializationProxy<K, V>
{
private static final long serialVersionUID = 1L;

@SuppressWarnings("UnusedDeclaration")
public ImmutableListMultimapSerializationProxy()
{
// For Externalizable use only
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Goldman Sachs and others.
* Copyright (c) 2022 Goldman Sachs and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
Expand Down Expand Up @@ -96,7 +96,6 @@ private static final class ImmutableSetMultimapSerializationProxy<K, V>
{
private static final long serialVersionUID = 1L;

@SuppressWarnings("UnusedDeclaration")
public ImmutableSetMultimapSerializationProxy()
{
// For Externalizable use only
Expand Down
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021 Goldman Sachs.
* Copyright (c) 2022 Goldman Sachs and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* and Eclipse Distribution License v. 1.0 which accompany this distribution.
Expand Down Expand Up @@ -118,7 +118,6 @@ private static final class ImmutableSortedSetMultimapSerializationProxy<K, V>
private static final long serialVersionUID = 1L;
private Comparator<? super V> comparator;

@SuppressWarnings("UnusedDeclaration")
public ImmutableSortedSetMultimapSerializationProxy()
{
// For Externalizable use only
Expand Down
Expand Up @@ -1163,7 +1163,6 @@ private static class ImmutableStackSerializationProxy<T> implements Externalizab

private StackIterable<T> stack;

@SuppressWarnings("UnusedDeclaration")
public ImmutableStackSerializationProxy()
{
// Empty constructor for Externalizable class
Expand Down

0 comments on commit 37a4461

Please sign in to comment.