Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cli/src/commands/org/jnode/command/common/EchoCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public static void main(String[] args) throws Exception {
/**
* Execute the command
*/
@Override
public void execute() throws Exception {
PrintWriter out = getOutput().getPrintWriter();
String[] words = argWords.getValues();
Expand Down
1 change: 1 addition & 0 deletions cli/src/commands/org/jnode/command/common/ExitCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public static void main(String[] args) throws Exception {
/**
* Execute this command
*/
@Override
public void execute() throws Exception {
ShellManager sm = InitialNaming.lookup(ShellManager.NAME);
((CommandShell) sm.getCurrentShell()).exit();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public static void main(String[] args) throws Exception {
/**
* Execute the command
*/
@Override
public void execute() throws Exception {
exit(1);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public static void main(String[] args) throws Exception {
new SleepCommand().execute(args);
}

@Override
public void execute() throws Exception {
Integer seconds = argSeconds.getValue();
if (seconds > 0) {
Expand Down
1 change: 1 addition & 0 deletions cli/src/commands/org/jnode/command/common/TrueCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public static void main(String[] args) throws Exception {
/**
* Execute the command
*/
@Override
public void execute() throws Exception {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public UptimeCommand() {
/**
* @throws Exception if something happens
*/
@Override
public void execute() throws Exception {
PrintWriter out = getOutput().getPrintWriter();
long ut_secs = VmSystem.currentKernelMillis() / 1000;
Expand Down
1 change: 1 addition & 0 deletions cli/src/commands/org/jnode/command/file/PwdCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public static void main(String[] args) throws Exception {
new PwdCommand().execute(args);
}

@Override
public void execute() {
File file = new File("");
getOutput().getPrintWriter().println(file.getAbsolutePath());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public static void main(String[] args) throws Exception {
/**
* Execute this command
*/
@Override
public void execute() {
final VmProcessor cpu = VmProcessor.current();
PrintWriter out = getOutput().getPrintWriter();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public MemoryCommand() {
/**
* Execute this command
*/
@Override
public void execute() throws Exception {
PrintWriter out = getOutput().getPrintWriter();
final Runtime rt = Runtime.getRuntime();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public static void main(String[] args) throws Exception {
/**
* Execute this command
*/
@Override
public void execute() throws Exception {
PrintWriter out = getOutput().getPrintWriter();
Set<Class< ? >> names = InitialNaming.nameSet();
Expand Down
Loading