Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2016-12-02 11:21:32 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2f1556d54cc901639461e1cd9e29b5abb4b7e77c
2f1556d5
1 parent
7f0bf85e
sonarQube : Make "<attribute>" transient or serializable. Méthode moindre effort.
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
src/main/java/org/legrog/web/publisher/ListPublisherActionsView.java
src/main/java/org/legrog/web/publisher/ListPublisherVersionsView.java
src/main/java/org/legrog/web/publisher/PublisherVersionView.java
src/main/java/org/legrog/web/publisher/ListPublisherActionsView.java
View file @
2f1556d
...
...
@@ -20,13 +20,13 @@ import java.util.stream.Collectors;
@ViewScoped
public
class
ListPublisherActionsView
implements
Serializable
{
Logger
logger
=
LoggerFactory
.
getLogger
(
getClass
());
transient
Logger
logger
=
LoggerFactory
.
getLogger
(
getClass
());
protected
PublisherService
publisherService
;
transient
protected
PublisherService
publisherService
;
private
Integer
publisherId
;
private
boolean
viewAll
;
private
List
<
PublisherAction
>
publisherActions
;
transient
private
List
<
PublisherAction
>
publisherActions
;
@Inject
public
ListPublisherActionsView
(
PublisherService
publisherService
)
{
...
...
src/main/java/org/legrog/web/publisher/ListPublisherVersionsView.java
View file @
2f1556d
...
...
@@ -22,13 +22,13 @@ import java.util.stream.Collectors;
@ViewScoped
public
class
ListPublisherVersionsView
implements
Serializable
{
Logger
logger
=
LoggerFactory
.
getLogger
(
getClass
());
transient
Logger
logger
=
LoggerFactory
.
getLogger
(
getClass
());
protected
PublisherService
publisherService
;
transient
protected
PublisherService
publisherService
;
private
Integer
publisherId
;
private
boolean
viewAll
;
private
List
<
PublisherVersion
>
publisherVersions
;
transient
private
List
<
PublisherVersion
>
publisherVersions
;
@Inject
public
ListPublisherVersionsView
(
PublisherService
publisherService
)
{
...
...
src/main/java/org/legrog/web/publisher/PublisherVersionView.java
View file @
2f1556d
...
...
@@ -23,10 +23,10 @@ import java.util.List;
@Named
@ViewScoped
public
class
PublisherVersionView
implements
Serializable
{
Logger
logger
=
LoggerFactory
.
getLogger
(
getClass
());
transient
Logger
logger
=
LoggerFactory
.
getLogger
(
getClass
());
PublisherService
publisherService
;
SharedService
sharedService
;
transient
PublisherService
publisherService
;
transient
SharedService
sharedService
;
private
boolean
editMode
;
private
boolean
newPublisher
;
...
...
@@ -38,20 +38,20 @@ public class PublisherVersionView implements Serializable {
private
String
publisherPostOfficeBoxNumber
;
private
String
publisherAddressRegion
;
private
String
publisherAddressLocality
;
private
Country
publisherAddressCountry
;
transient
private
Country
publisherAddressCountry
;
private
String
publisherTelephone
;
private
String
publisherEmail
;
private
String
publisherURL
;
private
boolean
publisherActive
;
private
String
publisherHistory
;
private
Person
publisherVersionAuthor
;
transient
private
Person
publisherVersionAuthor
;
private
Timestamp
publisherVersionDatetime
;
private
Publisher
publisher
;
transient
private
Publisher
publisher
;
private
List
<
Country
>
availableCountries
;
transient
private
List
<
Country
>
availableCountries
;
private
List
<
PublisherAction
>
publisherActions
;
transient
private
List
<
PublisherAction
>
publisherActions
;
@Inject
public
PublisherVersionView
(
PublisherService
publisherService
,
SharedService
sharedService
)
{
...
...
Please
register
or
login
to post a comment