Skip to content

Commit fd7726a

Browse files
committed
optimized imports
1 parent 3cd1a22 commit fd7726a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

logicaldoc-core/src/main/java/com/logicaldoc/core/history/History.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,7 @@ public boolean match(MetadataReader metadataReader, MetadataReaderFactory metada
561561

562562
try {
563563
Class<?> beanClass = Class.forName(beanClassName);
564-
Table annotation = (Table) beanClass.getAnnotation(Table.class);
564+
Table annotation = beanClass.getAnnotation(Table.class);
565565
if (annotation != null && StringUtils.isNotEmpty(annotation.name()))
566566
tables.add(annotation.name());
567567
} catch (Exception e) {

logicaldoc-webservice/src/main/java/com/logicaldoc/webservice/WebserviceCall.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package com.logicaldoc.webservice;
22

3-
import javax.persistence.Table;
4-
53
import com.logicaldoc.core.history.History;
64

75
/**

0 commit comments

Comments
 (0)