阅读背景:

Return语句没有返回正确的值

来源:互联网 
public static String getFirstLangScore(CRSDatabase db) {
         String firstLanguageScore = "";
        if (mGlobals.getSelectLanguage().equals("ENGLISH")) {
            String[] lowestEnglishReading = mGlobals.getEnglishReadingScore().split("CLB ");            
            firstLanguageScore = //did some calculation and updated the value

        }
        else if(mGlobals.getSelectLanguage().equals("FRENCH")){
            String[] lowestFrenchReading = mGlobals.getFrenchReadingScore().split("CLB ");

            firstLanguageScore = // did some calculation and updated the value

        }
        return firstLanguageScore;  // here it is returning the initial initialized value.

    }
public static String getFirstLangScore(CRSDatab



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: