You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by "upthewaterspout (GitHub)" <gi...@apache.org> on 2019/02/26 17:53:08 UTC

[GitHub] [geode] upthewaterspout commented on pull request #3229: GEODE-6380: Fixing a number of static fields to be immutable

One annoying thing about java is that there is no way to declare a byte literal. So we can either cast here in the constructor, or when we declare the constants - like this

```
public static final InterestPolicy CACHE_CONTENT = new InterestPolicy("CACHE_CONTENT", *(byte)* 1);
```

If you prefer the above approach, I can change it.

[ Full content available at: https://github.com/apache/geode/pull/3229 ]
This message was relayed via gitbox.apache.org for notifications@geode.apache.org