Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

New Eclipse and JForex_SDK: Eclipse shows 11 warnings
 Post subject: New Eclipse and JForex_SDK: Eclipse shows 11 warnings Post rating: 0   New post Posted: Wed 30 Jul, 2014, 13:49 

User rating: 1
Joined: Mon 27 Feb, 2012, 22:49
Posts: 119
Location: Czech Republic,
Hello support,

I today installed new Eclipse and import JForex_SDK as a Maven project (as is in Wiki). And Eclipse shows 11 warnigs:

Description Resource Path Location Type
Type safety: The expression of type Set needs unchecked conversion to conform to Collection<? extends IStrategyDescriptor> StratTablePlugin.java /JForex-SDK/src/jforex/plugin/strategies line 284 Java Problem
The method getSecondaryCurrency() from the type Instrument is deprecated TesterMainGUIMode.java /JForex-SDK/src/singlejartest line 176 Java Problem
The method setInitialDeposit(Currency, double) from the type ITesterClient is deprecated TesterMainGUIMode.java /JForex-SDK/src/singlejartest line 176 Java Problem
Set is a raw type. References to generic type Set<E> should be parameterized StratTablePlugin.java /JForex-SDK/src/jforex/plugin/strategies line 283 Java Problem
Set is a raw type. References to generic type Set<E> should be parameterized StratTablePlugin.java /JForex-SDK/src/jforex/plugin/strategies line 284 Java Problem
The import com.dukascopy.api.JFException is never used StratTableModel.java /JForex-SDK/src/jforex/plugin/strategies line 13 Java Problem
Build path specifies execution environment JavaSE-1.6. There are no JREs installed in the workspace that are strictly compatible with this environment. JForex-SDK Build path JRE System Library Problem
The serializable class does not declare a static final serialVersionUID field of type long StratTablePlugin.java /JForex-SDK/src/jforex/plugin/strategies line 169 Java Problem
The method setInitialDeposit(Currency, double) from the type ITesterClient is deprecated TesterMain.java /JForex-SDK/src/singlejartest line 115 Java Problem
Type safety: The expression of type Set needs unchecked conversion to conform to Set<IStrategyDescriptor> StratTablePlugin.java /JForex-SDK/src/jforex/plugin/strategies line 283 Java Problem
The method getSecondaryCurrency() from the type Instrument is deprecated TesterMain.java /JForex-SDK/src/singlejartest line 115 Java Problem

This is not good.


 
 Post subject: Re: New Eclipse and JForex_SDK: Eclipse shows 11 warnings Post rating: 0   New post Posted: Wed 30 Jul, 2014, 14:44 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We are going to address this as soon as available.


 

Jump to:  

  © 1998-2024 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com