Skip to content

Commit

Permalink
Whitespace style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Sep 19, 2023
1 parent 1330f22 commit 323530a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ext/java/org/jruby/ext/psych/PsychParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ private void handleDocumentStart(ThreadContext context, DocumentStartEvent dse,

private void handleMappingStart(ThreadContext context, MappingStartEvent mse, IRubyObject handler) {
Ruby runtime = context.runtime;

IRubyObject anchor = stringOrNilForAnchor(context, mse.getAnchor());
IRubyObject tag = stringOrNilFor(context, mse.getTag());
IRubyObject implicit = runtime.newBoolean(mse.isImplicit());
Expand All @@ -393,6 +394,7 @@ private void handleScalar(ThreadContext context, ScalarEvent se, IRubyObject han

private void handleSequenceStart(ThreadContext context, SequenceStartEvent sse, IRubyObject handler) {
Ruby runtime = context.runtime;

IRubyObject anchor = stringOrNilForAnchor(context, sse.getAnchor());
IRubyObject tag = stringOrNilFor(context, sse.getTag());
IRubyObject implicit = runtime.newBoolean(sse.isImplicit());
Expand All @@ -403,6 +405,7 @@ private void handleSequenceStart(ThreadContext context, SequenceStartEvent sse,

private static void raiseParserException(ThreadContext context, ReaderException re, IRubyObject rbPath) {
Ruby runtime = context.runtime;

RubyClass se;
RubyException exception;

Expand All @@ -426,6 +429,7 @@ private static void raiseParserException(ThreadContext context, ReaderException

private static void raiseParserException(ThreadContext context, MarkedYamlEngineException mye, IRubyObject rbPath) {
Ruby runtime = context.runtime;

Mark mark;
RubyClass se;
RubyException exception;
Expand All @@ -452,6 +456,7 @@ private static void raiseParserException(ThreadContext context, MarkedYamlEngine

private static void raiseParserException(ThreadContext context, MalformedInputException mie, IRubyObject rbPath) {
Ruby runtime = context.runtime;

RubyClass se;
RubyException exception;

Expand Down

0 comments on commit 323530a

Please sign in to comment.