Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Compiler errors in latest master

I'm seeing some compiler errors in latest master.

Seems to have been introduced by the following commit:

=======================
commit 8a834d59702025a3d1f44f379977b80068189213
Author: Alexander Kurtakov <akurtako@xxxxxxxxxx>
Date:   Mon Dec 14 11:06:00 2015 +0200

    Cleanups.
    
    Remove useless:
    * casts.
    * suppress warnings unchecked.
    * @see comments
    
    Change-Id: I4713e9ddf90195cf1e465b3743f5f0bc7e41d338
    Signed-off-by: Alexander Kurtakov <akurtako@xxxxxxxxxx>
=======================

For example, CSourceViewer.java line 188: Type mismatch: cannot convert from Object to String[]

The line is:

            String[] defaultIndentPrefixes= fIndentChars.get(IDocument.DEFAULT_CONTENT_TYPE);

As far as I can tell, fIndentChars has type Map, whose get() function returns Object.

Is there something I'm missing?

Thanks,
Nate
 		 	   		  

Back to the top