Skip to content

Commit

Permalink
fix minor style
Browse files Browse the repository at this point in the history
  • Loading branch information
taweili committed Feb 25, 2012
1 parent b5739f4 commit 796e360
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
7 changes: 5 additions & 2 deletions pom.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project>
<modelVersion>4.0.0</modelVersion>
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.ardublock</groupId>
<artifactId>ardublock</artifactId>
<packaging>jar</packaging>
Expand Down
2 changes: 0 additions & 2 deletions src/main/java/com/ardublock/Main.java
@@ -1,8 +1,6 @@
package com.ardublock;

import java.io.IOException;
import java.util.Locale;

import javax.xml.parsers.ParserConfigurationException;

import org.xml.sax.SAXException;
Expand Down
9 changes: 3 additions & 6 deletions src/main/java/com/ardublock/core/Context.java
Expand Up @@ -69,13 +69,10 @@ private Context() {
workspaceController = new WorkspaceController();
workspaceController.resetWorkspace();
workspaceController.resetLanguage();
workspaceController.setLangResourceBundle(ResourceBundle
.getBundle("com/ardublock/block/ardublock"));
workspaceController.setLangResourceBundle(ResourceBundle.getBundle("com/ardublock/block/ardublock"));
workspaceController.setStyleList(list);
workspaceController.setLangDefDtd(this.getClass().getResourceAsStream(
LANG_DTD_PATH));
workspaceController.setLangDefStream(this.getClass()
.getResourceAsStream(ARDUBLOCK_LANG_PATH));
workspaceController.setLangDefDtd(this.getClass().getResourceAsStream(LANG_DTD_PATH));
workspaceController.setLangDefStream(this.getClass().getResourceAsStream(ARDUBLOCK_LANG_PATH));
workspaceController.loadFreshWorkspace();
workspace = workspaceController.getWorkspace();
workspaceChanged = false;
Expand Down

0 comments on commit 796e360

Please sign in to comment.