You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A constant field produced this code in an inner class:
public class MDIncRefresh implements MessageFlyweight
{
..
public class MDEntries implements GroupFlyweight
{
...
private static final byte[] TradingSessionIDValue = {65};
public int TradingSessionIDLength()
{
return 1;
}
public byte TradingSessionID(final int index)
{
return TradingSessionIDValue[index];
}
This is the error on the constant declaration:
The field TradingSessionIDValue cannot be declared static; static fields can only be declared in static or top level types MDIncRefresh.java /InteropTester/src/MarketData line 434 Java Problem