Committed by
Ray Milkey
Issue fixed to remove mutable methods in interface
Change-Id: I8f2f846c5a5eb5e63045b0641dea37b68935c08f
Showing
1 changed file
with
4 additions
and
33 deletions
| ... | @@ -25,55 +25,26 @@ public interface PcepPacketStats { | ... | @@ -25,55 +25,26 @@ public interface PcepPacketStats { |
| 25 | * | 25 | * |
| 26 | * @return int value of no of packets sent | 26 | * @return int value of no of packets sent |
| 27 | */ | 27 | */ |
| 28 | - public int outPacketCount(); | 28 | + int outPacketCount(); |
| 29 | 29 | ||
| 30 | /** | 30 | /** |
| 31 | * Returns the count for no of packets received. | 31 | * Returns the count for no of packets received. |
| 32 | * | 32 | * |
| 33 | * @return int value of no of packets sent | 33 | * @return int value of no of packets sent |
| 34 | */ | 34 | */ |
| 35 | - public int inPacketCount(); | 35 | + int inPacketCount(); |
| 36 | 36 | ||
| 37 | /** | 37 | /** |
| 38 | * Returns the count for no of wrong packets received. | 38 | * Returns the count for no of wrong packets received. |
| 39 | * | 39 | * |
| 40 | * @return int value of no of wrong packets received | 40 | * @return int value of no of wrong packets received |
| 41 | */ | 41 | */ |
| 42 | - public int wrongPacketCount(); | 42 | + int wrongPacketCount(); |
| 43 | - | ||
| 44 | - /** | ||
| 45 | - * Increments the received packet counter. | ||
| 46 | - */ | ||
| 47 | - public void addInPacket(); | ||
| 48 | - | ||
| 49 | - /** | ||
| 50 | - * Increments the sent packet counter. | ||
| 51 | - */ | ||
| 52 | - public void addOutPacket(); | ||
| 53 | - | ||
| 54 | - /** | ||
| 55 | - * Increments the sent packet counter by specified value. | ||
| 56 | - * @param value of no of packets sent | ||
| 57 | - */ | ||
| 58 | - public void addOutPacket(int value); | ||
| 59 | - | ||
| 60 | - /** | ||
| 61 | - * Increments the wrong packet counter. | ||
| 62 | - */ | ||
| 63 | - public void addWrongPacket(); | ||
| 64 | 43 | ||
| 65 | /** | 44 | /** |
| 66 | * Returns the time value. | 45 | * Returns the time value. |
| 67 | * | 46 | * |
| 68 | * @return long value of time | 47 | * @return long value of time |
| 69 | */ | 48 | */ |
| 70 | - public long getTime(); | 49 | + long getTime(); |
| 71 | - | ||
| 72 | - /** | ||
| 73 | - * Sets the time value. | ||
| 74 | - * | ||
| 75 | - * @param time long value of time | ||
| 76 | - */ | ||
| 77 | - public void setTime(long time); | ||
| 78 | - | ||
| 79 | } | 50 | } | ... | ... |
-
Please register or login to post a comment