Skip to content

Commit 0f3204a

Browse files
committed
NO-JIRA: Suppress log-or-rethrow, exception sub-type and use-logger code smells.
1 parent 8884415 commit 0f3204a

22 files changed

+22
-0
lines changed

examples/src/main/java/com/basistech/rosette/examples/AddressSimilarityExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
/**
3030
* Example which demonstrates address similarity
3131
*/
32+
@SuppressWarnings({"java:S1166", "java:S2221", "java:S106"})
3233
public final class AddressSimilarityExample extends ExampleBase {
3334
public static void main(String[] args) {
3435
try {

examples/src/main/java/com/basistech/rosette/examples/CategoriesExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
* Gets QAG categories (http://www.iab.net/QAGInitiative/overview/taxonomy) of a web page document
3131
* located at http://www.basistech.com/about
3232
*/
33+
@SuppressWarnings({"java:S1166", "java:S2221", "java:S106"})
3334
public final class CategoriesExample extends ExampleBase {
3435
public static void main(String[] args) {
3536
try {

examples/src/main/java/com/basistech/rosette/examples/EntitiesExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
/**
2828
* Example which demonstrates the entity extraction api.
2929
*/
30+
@SuppressWarnings({"java:S1166", "java:S2221", "java:S106"})
3031
public final class EntitiesExample extends ExampleBase {
3132
public static void main(String[] args) {
3233
try {

examples/src/main/java/com/basistech/rosette/examples/InfoExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
/**
2424
* Example which demonstrates the top level info api.
2525
*/
26+
@SuppressWarnings({"java:S1166", "java:S2221", "java:S106"})
2627
public final class InfoExample extends ExampleBase {
2728
public static void main(String[] args) {
2829
try {

examples/src/main/java/com/basistech/rosette/examples/LanguageExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
/**
2828
* Example which demonstrates the language detection api.
2929
*/
30+
@SuppressWarnings({"java:S1166", "java:S2221", "java:S106"})
3031
public final class LanguageExample extends ExampleBase {
3132
public static void main(String[] args) {
3233
try {

examples/src/main/java/com/basistech/rosette/examples/LanguageMultilingualExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
/**
2828
* Example which demonstrates the language detection api with the multilingual option.
2929
*/
30+
@SuppressWarnings({"java:S1166", "java:S2221", "java:S106"})
3031
public final class LanguageMultilingualExample extends ExampleBase {
3132
public static void main(String[] args) {
3233
try {

examples/src/main/java/com/basistech/rosette/examples/MorphologyCompleteExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
/**
2929
* Example which demonstrates the complete morphology api.
3030
*/
31+
@SuppressWarnings({"java:S1166", "java:S2221", "java:S106"})
3132
public final class MorphologyCompleteExample extends ExampleBase {
3233
public static void main(String[] args) {
3334
try {

examples/src/main/java/com/basistech/rosette/examples/MorphologyCompoundComponentsExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
/**
3030
* Example which demonstrates the decompounding api.
3131
*/
32+
@SuppressWarnings({"java:S1166", "java:S2221", "java:S106"})
3233
public final class MorphologyCompoundComponentsExample extends ExampleBase {
3334
public static void main(String[] args) {
3435
try {

examples/src/main/java/com/basistech/rosette/examples/MorphologyHanReadingsExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
/**
2929
* Example which demonstrates the han readings api.
3030
*/
31+
@SuppressWarnings({"java:S1166", "java:S2221", "java:S106"})
3132
public final class MorphologyHanReadingsExample extends ExampleBase {
3233
public static void main(String[] args) {
3334
try {

examples/src/main/java/com/basistech/rosette/examples/MorphologyLemmasExample.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
/**
2929
* Example which demonstrates the lemmas api.
3030
*/
31+
@SuppressWarnings({"java:S1166", "java:S2221", "java:S106"})
3132
public final class MorphologyLemmasExample extends ExampleBase {
3233
public static void main(String[] args) {
3334
try {

0 commit comments

Comments
 (0)