Yui-compressor compiling error: variable oldCss is already defined in method compress(Writer,int)

Yui-compressor compiling error: variable oldCss is already defined in method compress(Writer,int)

我已经下载了 yuicompressor,我正在尝试使用 "ant" 编译它,但它给我这个错误:

yuicompressor/build/build_tmp/com/yahoo/platform/yui/compressor/CssCompressor.java:341: 错误:变量 oldCss 已经在方法 compress(Writer,int) 中定义 [javac] 字符串 oldCss;

还有其他人 运行 遇到过这个问题吗?我该如何解决?

这个家伙有一个修复程序和一个 29 天前的拉取请求: https://github.com/seyfahni/yuicompressor

我做了 'git clone https://github.com/seyfahni/yuicompressor' 和 'yum install ant'。然后 'ant' 在 cli 上,它编译了 yuicompressor-2.4.9.jar 没有问题。我希望这能尽快被拉入 master 分支。对源代码的更改很小。