Skip to content

Commit a51353c

Browse files
committed
Excessive commentary removed
1 parent 1b161cb commit a51353c

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

javoc/bin/javocp/javocp.lua

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ local javoc = require("umfal").initAppFromRelative("javoc", 3)
55
-- The flag to indicate if output should be verbose or not
66
local verbose = false
77

8-
-- Parsing arguments passed to the program via "shell" API
9-
-- Refer to (https://ocdoc.cil.li/api:shell) for more information
108
local args, ops = shell.parse(...)
119

12-
-- If special options are provided or no class is given,
13-
-- we should print the help message
1410
if ops["?"] or ops["help"] or (#args == 0) then
1511
javoc.bin.javocp.output.printHelpMessage()
1612
return
@@ -24,7 +20,6 @@ if ops["d"] or ops["debug"] then
2420
javoc.util.debug.debugEnabled = true
2521
end
2622

27-
-- Name of the class to load
2823
local classToLoad = args[1]
2924

3025
local class = javoc.class.classLoader.loadClassFromFile(classToLoad, "")

javoc/bin/javocp/serialization/constantPool.lua

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@ local javoc = require("umfal")("javoc")
33

44
local serialization = {}
55

6-
---Serializes a constant from the constant pool
7-
---@param constantPool table @ Table of the constant pool - output of the
8-
--- classLoader.loadConstantPool() function
9-
---@param index number @ Index of the constant pool entry you want to
10-
--- serialize
11-
---
12-
---
13-
---@return string value @ Value of the constant
14-
--- Nil, if constant is dummy
15-
---@return string commentary @ A commentary to the constant
16-
--- Nil if not needed or dummy
176
function serialization.toString(constantPool, index)
187
local constant = constantPool[index]
198
local type = constant.type

0 commit comments

Comments
 (0)