Projects
Mega:24.03:SP1:Everything
jruby
_service:tar_scm:jruby-snakeyaml-1.20.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:jruby-snakeyaml-1.20.patch of Package jruby
diff --git a/core/src/main/java/org/jruby/ext/psych/PsychEmitter.java b/core/src/main/java/org/jruby/ext/psych/PsychEmitter.java index d9f3231..4a0ba0d 100644 --- a/core/src/main/java/org/jruby/ext/psych/PsychEmitter.java +++ b/core/src/main/java/org/jruby/ext/psych/PsychEmitter.java @@ -330,7 +330,7 @@ public class PsychEmitter extends RubyObject { DumperOptions options = new DumperOptions(); IRubyObject io; - private static final Mark NULL_MARK = new Mark(null, 0, 0, 0, null, 0); + private static final Mark NULL_MARK = new Mark((String) null, 0, 0, 0, (String) null, 0); // Map style constants from Psych values (ANY = 0 ... FOLDED = 5) // to SnakeYaml values; see psych/nodes/scalar.rb. diff --git a/core/src/main/java/org/jruby/ext/psych/PsychParser.java b/core/src/main/java/org/jruby/ext/psych/PsychParser.java index 33a98b5..7cff388 100644 --- a/core/src/main/java/org/jruby/ext/psych/PsychParser.java +++ b/core/src/main/java/org/jruby/ext/psych/PsychParser.java @@ -345,10 +345,10 @@ public class PsychParser extends RubyObject { } } - private static int translateFlowStyle(Boolean flowStyle) { + private static int translateFlowStyle(DumperOptions.FlowStyle flowStyle) { if (flowStyle == null) return 0; // any - if (flowStyle) return 2; + if (flowStyle.getStyleBoolean()) return 2; return 1; }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2