[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poi-dev
Subject:    DO NOT REPLY [Bug 40339]  New:  - HSSF: Compilation failed for org.apache.poi.hssf.record.formula.Re
From:       bugzilla () apache ! org
Date:       2006-08-29 6:05:59
Message-ID: bug-40339-7501 () http ! issues ! apache ! org/bugzilla/
[Download RAW message or body]

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40339>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40339

           Summary: HSSF: Compilation failed for
                    org.apache.poi.hssf.record.formula.Ref3DPtg
           Product: POI
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: major
          Priority: P2
         Component: HSSF
        AssignedTo: poi-dev@jakarta.apache.org
        ReportedBy: yegor@dinom.ru


After the latest commit Ref3DPtg doesn't compile:

compile-main:
    [javac] Compiling 60 source files to
D:\java\apache\jakarta-poi\poi\trunk\build\classes
    [javac]
D:\java\apache\jakarta-poi\poi\trunk\src\java\org\apache\poi\hssf\record\formula\Ref3DPtg.java:164:
cannot resolve symbol
    [javac] symbol  : method contains (java.lang.String)
    [javac] location: class java.lang.String
    [javac]             boolean appendQuotes = sheetName.contains(" ");
    [javac]                                                 ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 1 error

BUILD FAILED

I think it should be corrected as follows:
 boolean appendQuotes = sheetName.indexOf(" ") != -1;

Please apply the fix. 

Regards, Yegor

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
Mailing List:    http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta POI Project: http://jakarta.apache.org/poi/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic