FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

findbugs: serializable fields by DaanHoogland · Pull Request #533 · apache/cloudstack · GitHub

Repository navigation

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
4 changes: 4 additions & 0 deletions api/src/com/cloud/agent/api/to/LoadBalancerTO.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ public String getMonitorState() {
}

public static class CounterTO implements Serializable {
private static final long serialVersionUID = 2L;
private final String name;
private final String source;
private final String value;
Expand All @@ -335,6 +336,7 @@ public String getValue() {
}

public static class ConditionTO implements Serializable {
private static final long serialVersionUID = 2L;
private final long threshold;
private final String relationalOperator;
private final CounterTO counter;
Expand All @@ -359,6 +361,7 @@ public CounterTO getCounter() {
}

public static class AutoScalePolicyTO implements Serializable {
private static final long serialVersionUID = 2L;
private final long id;
private final int duration;
private final int quietTime;
Expand Down Expand Up @@ -401,6 +404,7 @@ public List<ConditionTO> getConditions() {
}

public static class AutoScaleVmProfileTO implements Serializable {
private static final long serialVersionUID = 2L;
private final String zoneId;
private final String domainId;
private final String serviceOfferingId;
Expand Down
5 changes: 4 additions & 1 deletion utils/src/com/cloud/utils/Pair.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@

package com.cloud.utils;

public class Pair<T, U> {
import java.io.Serializable;

public class Pair<T, U> implements Serializable {
private static final long serialVersionUID = 2L;
T t;
U u;

Expand Down

Back | FazBrowse Home | New Git URL