Skip to content

Commit 5070b63

Browse files
committed
Merge branch 'master' of github.com:rubychan/coderay
2 parents cd7f90f + ca961f8 commit 5070b63

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/coderay/encoders/html/output.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,6 @@ def wrap! element, *args
7676
apply_title! title
7777
end
7878
self
79-
when nil
80-
return self
8179
else
8280
raise "Unknown value %p for :wrap" % element
8381
end

lib/coderay/scanners/java.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class Java < Scanner
2020
MAGIC_VARIABLES = %w[ this super ] # :nodoc:
2121
TYPES = %w[
2222
boolean byte char class double enum float int interface long
23-
short void
23+
short void var
2424
] << '[]' # :nodoc: because int[] should be highlighted as a type
2525
DIRECTIVES = %w[
2626
abstract extends final implements native private protected public

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy