Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 40df8cf

Browse files
committed
Simplify code
1 parent df720fa commit 40df8cf

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

‎src/tureki/PhpCc.php‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ private function _exec($str_cmd)
235235

236236
private function _getArgv($str_file, $filename)
237237
{
238-
$opt = $this->_getOptions();
238+
$opt = $this->options;
239239

240240
$str_output = $opt["output_path"].$filename;
241241

@@ -259,15 +259,10 @@ private function _getArgv($str_file, $filename)
259259

260260
private function _getCmd()
261261
{
262-
$opt = $this->_getOptions();
262+
$opt = $this->options;
263263

264264
$str_cmd = $opt['java_file'] . ' -jar ' . $opt['jar_file'];
265265

266266
return $str_cmd;
267267
}
268-
269-
private function _getOptions()
270-
{
271-
return $this->options;
272-
}
273268
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /