Skip to content

Commit

Permalink
[#1388] clean sourcebase to fight warnings
Browse files Browse the repository at this point in the history
* improve lic.bc.tests
  • Loading branch information
ruspl-afed committed Aug 17, 2024
1 parent dba25d8 commit b156476
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2020, 2021 ArSysOp
* Copyright (c) 2020, 2024 ArSysOp
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand All @@ -9,6 +9,7 @@
*
* Contributors:
* ArSysOp - initial API and implementation
* ArSysOp - further support
*******************************************************************************/
package org.eclipse.passage.lic.internal.bc.tests;

Expand All @@ -32,6 +33,7 @@
import org.junit.Rule;
import org.junit.rules.TemporaryFolder;

@SuppressWarnings("restriction")
abstract class BcStreamCodecTest {

@Rule
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2020, 2021 ArSysOp
* Copyright (c) 2020, 2024 ArSysOp
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand All @@ -9,6 +9,7 @@
*
* Contributors:
* ArSysOp - initial API and implementation
* ArSysOp - further support
*******************************************************************************/
package org.eclipse.passage.lic.internal.bc.tests;

Expand All @@ -33,6 +34,7 @@
import org.eclipse.passage.lic.bc.BcStreamCodec;
import org.junit.Test;

@SuppressWarnings("restriction")
public final class KeyPairGenerationTest extends BcStreamCodecTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2020, 2021 ArSysOp
* Copyright (c) 2020, 2024 ArSysOp
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand All @@ -9,6 +9,7 @@
*
* Contributors:
* ArSysOp - initial API and implementation
* ArSysOp - further support
*******************************************************************************/
package org.eclipse.passage.lic.internal.bc.tests;

Expand All @@ -35,6 +36,7 @@
import org.eclipse.passage.lic.bc.BcStreamCodec;
import org.junit.Test;

@SuppressWarnings("restriction")
public final class StreamDecodingTest extends BcStreamCodecTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2020, 2021 ArSysOp
* Copyright (c) 2020, 2024 ArSysOp
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand All @@ -9,6 +9,7 @@
*
* Contributors:
* ArSysOp - initial API and implementation
* ArSysOp - further support
*******************************************************************************/
package org.eclipse.passage.lic.internal.bc.tests;

Expand All @@ -33,6 +34,7 @@
import org.eclipse.passage.lic.bc.BcStreamCodec;
import org.junit.Test;

@SuppressWarnings("restriction")
public final class StreamEncodingTest extends BcStreamCodecTest {

@Test
Expand Down

0 comments on commit b156476

Please sign in to comment.