Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
bb5073e8
Commit
bb5073e8
authored
Sep 13, 2021
by
Piotr Gawron
Browse files
blank line separation is enforced
parent
f1504613
Changes
14
Hide whitespace changes
Inline
Side-by-side
checkstyle.xml
View file @
bb5073e8
...
...
@@ -121,13 +121,13 @@
<module
name=
"FallThrough"
/>
<module
name=
"UpperEll"
/>
<module
name=
"ModifierOrder"
/>
<!--
<module name="EmptyLineSeparator">
<module
name=
"EmptyLineSeparator"
>
<property
name=
"tokens"
value=
"PACKAGE_DEF, IMPORT, STATIC_IMPORT, CLASS_DEF, INTERFACE_DEF, ENUM_DEF,
STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"
/>
<property
name=
"allowNoEmptyLineBetweenFields"
value=
"true"
/>
</module>
<module name="SeparatorWrap">
<!--
<module name="SeparatorWrap">
<property name="id" value="SeparatorWrapDot"/>
<property name="tokens" value="DOT"/>
<property name="option" value="nl"/>
...
...
commons/src/test/java/lcsb/mapviewer/common/XmlParserTest.java
View file @
bb5073e8
...
...
@@ -167,7 +167,7 @@ public class XmlParserTest extends CommonTestFunctions {
}
}
;
Element
el
=
new
Tmp
();
root
.
appendChild
(
el
);
assertNotNull
(
XmlParser
.
nodeToString
(
root
,
true
));
...
...
commons/src/test/java/lcsb/mapviewer/common/comparator/ListComparatorTest.java
View file @
bb5073e8
...
...
@@ -41,6 +41,7 @@ public class ListComparatorTest {
this
.
x
=
x
;
}
}
class
DataComparator
implements
Comparator
<
Data
>
{
@Override
public
int
compare
(
Data
o1
,
Data
o2
)
{
...
...
commons/src/test/java/lcsb/mapviewer/common/comparator/SetComparatorTest.java
View file @
bb5073e8
...
...
@@ -31,6 +31,7 @@ public class SetComparatorTest {
this
.
x
=
x
;
}
}
class
DataComparator
implements
Comparator
<
Data
>
{
@Override
public
int
compare
(
Data
o1
,
Data
o2
)
{
...
...
converter-CellDesigner/src/main/java/lcsb/mapviewer/converter/model/celldesigner/CommonXmlParser.java
View file @
bb5073e8
...
...
@@ -56,6 +56,7 @@ public class CommonXmlParser {
}
public
static
Set
<
MiriamRelationType
>
RELATION_TYPES_SUPPORTED_BY_CELL_DESIGNER
;
{
RELATION_TYPES_SUPPORTED_BY_CELL_DESIGNER
=
new
HashSet
<>();
RELATION_TYPES_SUPPORTED_BY_CELL_DESIGNER
.
addAll
(
Arrays
.
asList
(
MiriamRelationType
.
values
()));
...
...
converter-graphics/src/main/java/lcsb/mapviewer/converter/graphics/bioEntity/element/species/RnaConverter.java
View file @
bb5073e8
/**
* Default constructor.
*
* @param colorExtractor
* Object that helps to convert {@link ColorSchema} values into colors
* when drawing {@link Species}
*/
package
lcsb.mapviewer.converter.graphics.bioEntity.element.species
;
import
java.awt.Color
;
...
...
converter/src/main/java/lcsb/mapviewer/converter/ColorSchemaReader.java
View file @
bb5073e8
...
...
@@ -75,6 +75,7 @@ public class ColorSchemaReader {
private
static
final
int
MIN_GV_RED_VALUE
=
128
;
private
static
Map
<
String
,
Class
<?
extends
BioEntity
>>
speciesMapping
;
static
{
speciesMapping
=
new
HashMap
<>();
speciesMapping
.
put
(
"protein"
,
Protein
.
class
);
...
...
model/src/main/java/lcsb/mapviewer/model/map/reaction/type/UnknownReducedModulationReaction.java
View file @
bb5073e8
...
...
@@ -25,6 +25,7 @@ public class UnknownReducedModulationReaction extends Reaction implements Simple
protected
UnknownReducedModulationReaction
()
{
super
();
}
public
UnknownReducedModulationReaction
(
String
elementId
)
{
super
(
elementId
);
}
...
...
model/src/test/java/lcsb/mapviewer/model/map/layout/graphics/LayerComparatorTest.java
View file @
bb5073e8
...
...
@@ -39,7 +39,7 @@ public class LayerComparatorTest extends ModelTestFunctions {
class
Tmp
extends
Layer
{
private
static
final
long
serialVersionUID
=
1L
;
}
;
Tmp
layer1
=
new
Tmp
();
Tmp
layer2
=
new
Tmp
();
...
...
pathvisio/src/test/java/lcsb/mapviewer/wikipathway/XML/StateParserTest.java
View file @
bb5073e8
...
...
@@ -41,6 +41,7 @@ public class StateParserTest extends WikipathwaysTestFunctions {
public
void
testIsModificationPosition
()
throws
Exception
{
assertTrue
(
parser
.
isModificationPosition
(
"P102"
));
}
@Test
public
void
testIsNotModificationPosition
()
throws
Exception
{
assertFalse
(
parser
.
isModificationPosition
(
"PP102"
));
...
...
persist/src/test/java/lcsb/mapviewer/persist/ApplicationContextLoaderTest.java
View file @
bb5073e8
...
...
@@ -61,6 +61,7 @@ public class ApplicationContextLoaderTest {
private
UserDao
userDao
;
}
Tmp
obj
=
new
Tmp
();
ConfigurableApplicationContext
ctx
=
new
AnnotationConfigApplicationContext
(
SpringPersistTestConfig
.
class
);
ApplicationContextLoader
.
setApplicationContext
(
ctx
);
...
...
persist/src/test/java/lcsb/mapviewer/persist/PersistTestFunctions.java
View file @
bb5073e8
...
...
@@ -17,6 +17,7 @@ public abstract class PersistTestFunctions extends PersistTestFunctionsNoTransac
@Autowired
protected
UserDao
userDao
;
protected
User
createUser
()
{
User
user
=
new
User
();
user
.
setName
(
"John"
);
...
...
service/src/main/java/lcsb/mapviewer/services/interfaces/ICommentService.java
View file @
bb5073e8
...
...
@@ -80,6 +80,7 @@ public interface ICommentService {
void
removeCommentsForModel
(
ModelData
model
);
Comment
getCommentById
(
String
projectId
,
String
commentId
);
Comment
getCommentById
(
String
projectId
,
Integer
commentId
);
User
getOwnerByCommentId
(
String
projectId
,
String
commentId
);
...
...
service/src/main/java/lcsb/mapviewer/services/interfaces/IUserService.java
View file @
bb5073e8
...
...
@@ -20,6 +20,7 @@ public interface IUserService {
void
deleteUser
(
User
user
);
User
getUserByLogin
(
String
login
);
User
getUserByLogin
(
String
login
,
boolean
loadLazy
);
List
<
User
>
getUsers
(
boolean
loadLazy
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment