Skip to content

Commit

Permalink
GH-86 Fix warning: 'Class is exposed outside of its visibility scope'
Browse files Browse the repository at this point in the history
  • Loading branch information
szysas committed Jul 10, 2024
1 parent 7a8e4fb commit 6802c6a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2023 java-coap contributors (https://github.com/open-coap/java-coap)
* Copyright (C) 2022-2024 java-coap contributors (https://github.com/open-coap/java-coap)
* Copyright (C) 2011-2021 ARM Limited. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -186,7 +186,7 @@ public final boolean put(int optionNumber, Opaque data) {
*
* @return sorted list
*/
protected List<RawOption> getRawOptions() {
List<RawOption> getRawOptions() {
LinkedList<RawOption> list = new LinkedList<>();

if (contentFormat != null) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2023 java-coap contributors (https://github.com/open-coap/java-coap)
* Copyright (C) 2022-2024 java-coap contributors (https://github.com/open-coap/java-coap)
* Copyright (C) 2011-2021 ARM Limited. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -70,7 +70,7 @@ public boolean parseOption(int type, Opaque data) {
}

@Override
protected List<RawOption> getRawOptions() {
List<RawOption> getRawOptions() {
List<RawOption> l = super.getRawOptions();
if (observe != null) {
if (observe == 0) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2022-2023 java-coap contributors (https://github.com/open-coap/java-coap)
* Copyright (C) 2022-2024 java-coap contributors (https://github.com/open-coap/java-coap)
* Copyright (C) 2011-2021 ARM Limited. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
* Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -54,7 +54,7 @@ public boolean parseOption(int type, Opaque data) {
}

@Override
protected List<RawOption> getRawOptions() {
List<RawOption> getRawOptions() {
List<RawOption> l = super.getRawOptions();
if (signallingOption2 != null) {
l.add(new RawOption(SIGN_OPTION_2, signallingOption2));
Expand Down

0 comments on commit 6802c6a

Please sign in to comment.