Skip to content

[ZEPPELIN-1075] Merge NoteInterpreterLoader into InterpreterFactory#1102

Closed
jongyoul wants to merge 5 commits into
apache:masterfrom
jongyoul:ZEPPELIN-1075
Closed

[ZEPPELIN-1075] Merge NoteInterpreterLoader into InterpreterFactory#1102
jongyoul wants to merge 5 commits into
apache:masterfrom
jongyoul:ZEPPELIN-1075

Conversation

@jongyoul
Copy link
Copy Markdown
Member

What is this PR for?

Removing redundant codes between NoteInterpreterLoader and InterpreterFactory, reducing the cost to add new features, and making refactoring on InterpreterFactory easy

What type of PR is it?

[Refactoring]

Todos

  • - Remove NoteInterpreterLoader and move the functionality into InterpreterFactory

What is the Jira issue?

How should this be tested?

Must pass all tests

Screenshots (if appropriate)

Questions:

  • Does the licenses files need update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

@jongyoul
Copy link
Copy Markdown
Member Author

After passing the test, I'll fix some style again.

return com.google.common.base.Optional.of(settings.get(0));
}

public com.google.common.base.Optional<InterpreterSetting> getDefaultInterpreterSetting(String noteId) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

have import com.google.common.base.Optional; instead ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is because the version of JDK installed in my mac is 1.8.x and I just add import java.util.*, then I'll fix it by each packages instead of *after passing CI.

@jongyoul jongyoul closed this Jun 29, 2016
@jongyoul jongyoul reopened this Jun 29, 2016
@jongyoul jongyoul closed this Jun 29, 2016
@jongyoul jongyoul reopened this Jun 29, 2016
@jongyoul
Copy link
Copy Markdown
Member Author

CI becomes green. I'll fix style of some codes.

@jongyoul
Copy link
Copy Markdown
Member Author

jongyoul commented Jul 1, 2016

Merging there's no more discussion

@asfgit asfgit closed this in 2a2a2e8 Jul 2, 2016
PhilippGrulich pushed a commit to SWC-SENSE/zeppelin that referenced this pull request Aug 8, 2016
### What is this PR for?
Removing redundant codes between `NoteInterpreterLoader` and `InterpreterFactory`, reducing the cost to add new features, and making refactoring on `InterpreterFactory` easy

### What type of PR is it?
[Refactoring]

### Todos
* [x] - Remove `NoteInterpreterLoader` and move the functionality into `InterpreterFactory`

### What is the Jira issue?
* https://issues.apache.org/jira/browse/ZEPPELIN-1075

### How should this be tested?
Must pass all tests

### Screenshots (if appropriate)

### Questions:
* Does the licenses files need update? No
* Is there breaking changes for older versions? No
* Does this needs documentation? No

Author: Jongyoul Lee <jongyoul@gmail.com>

Closes apache#1102 from jongyoul/ZEPPELIN-1075 and squashes the following commits:

d9816f1 [Jongyoul Lee] Fixed related codes
a2d8104 [Jongyoul Lee] Fixed some style and removed unused codes
28bf520 [Jongyoul Lee] Fixed style
600de98 [Jongyoul Lee] Removed NoteInterpreterLoader Fixed some tests
536059b [Jongyoul Lee] Duplicated all method in NoteInterpreterLoader to InterpreterFactory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants