Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a little bug #7

Open
sevenseablue opened this issue Jul 14, 2016 · 0 comments
Open

a little bug #7

sevenseablue opened this issue Jul 14, 2016 · 0 comments

Comments

@sevenseablue
Copy link

sevenseablue commented Jul 14, 2016

class
org.decaywood.utils.FileLoader

loadfile 每递归一次,不是加上一个"../", 而是加上递归的深度的个数的"../"

private static File loadFile(String rawPath, StringBuilder builder) {

-- if(!file.exists()) return loadFile(builder.append("../").toString() + rawPath, builder);
++ if (!file.exists()) return loadFile(builder.toString() + rawPath, builder);

public static File loadFile(String rawPath) {

-- return loadFile(rawPath, new StringBuilder());
++ return loadFile(rawPath, new StringBuilder("../"));
}

updateCookie has the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant