Skip to content

Commit f19dcc8

Browse files
committed
use 1.7 compiler
1 parent 54e6887 commit f19dcc8

File tree

5 files changed

+4
-10
lines changed

5 files changed

+4
-10
lines changed

cn.ieclipse.smartqq/.classpath

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<classpathentry kind="lib" path="libs/okhttp-3.8.1.jar" sourcepath="C:/Users/Jamling/.m2/repository/com/squareup/okhttp3/okhttp/3.8.1/okhttp-3.8.1-sources.jar"/>
1010
<classpathentry kind="lib" path="libs/okio-1.13.0.jar"/>
1111
<classpathentry kind="lib" path="libs/qiniu-java-sdk-7.2.7.jar" sourcepath="C:/Users/Jamling/.m2/repository/com/qiniu/qiniu-java-sdk/7.2.7/qiniu-java-sdk-7.2.7-sources.jar"/>
12-
<classpathentry kind="lib" path="libs/swing2swt.jar"/>
1312
<classpathentry combineaccessrules="false" kind="src" path="/smartim-core"/>
1413
<classpathentry combineaccessrules="false" kind="src" path="/smartim-qq"/>
1514
<classpathentry combineaccessrules="false" kind="src" path="/smartim-wechat"/>

cn.ieclipse.smartqq/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: SmartQQ
44
Bundle-SymbolicName: cn.ieclipse.smartqq;singleton:=true
5-
Bundle-Version: 2.1.2
5+
Bundle-Version: 3.0.0
66
Bundle-Activator: cn.ieclipse.smartim.IMPlugin
77
Bundle-Vendor: ieclipse.cn
88
Require-Bundle: org.eclipse.ui,

cn.ieclipse.smartqq/src/cn/ieclipse/smartim/dialogs/ReviewDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private void createSendTarget(Composite composite) {
129129
Group group = new Group(composite, SWT.NONE);
130130
group.setText(contactView.getTitle());
131131
group.setLayout(new RowLayout());
132-
for (IMChatConsole console : chats) {
132+
for (final IMChatConsole console : chats) {
133133
Button btn = new Button(group, SWT.CHECK);
134134
btn.setText(console.getName());
135135
btn.setData(console);

cn.ieclipse.smartqq/src/cn/ieclipse/smartim/htmlconsole/TabComposite.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public void addHistory(String msg, boolean scrollLock) {
284284
}
285285
// System.out.println("prepared:" + prepared);
286286
String text = msg.replace("'", "&apos;").replaceAll("\r?\n", "");
287-
StringBuilder sb = new StringBuilder();
287+
final StringBuilder sb = new StringBuilder();
288288
sb.append("add_log('");
289289
sb.append(text);
290290
sb.append("'");

cn.ieclipse.smartqq/src/cn/ieclipse/smartim/views/IMContactView.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,7 @@
2121
import org.eclipse.swt.widgets.TabFolder;
2222
import org.eclipse.swt.widgets.TabItem;
2323
import org.eclipse.ui.IActionBars;
24-
import org.eclipse.ui.IViewPart;
2524
import org.eclipse.ui.IWorkbenchActionConstants;
26-
import org.eclipse.ui.IWorkbenchPage;
27-
import org.eclipse.ui.PartInitException;
28-
import org.eclipse.ui.PlatformUI;
2925
import org.eclipse.ui.part.DrillDownAdapter;
3026
import org.eclipse.ui.part.IShowInTarget;
3127
import org.eclipse.ui.part.ShowInContext;
@@ -47,7 +43,6 @@
4743
import cn.ieclipse.smartim.htmlconsole.IMChatConsole;
4844
import cn.ieclipse.smartim.model.IContact;
4945
import cn.ieclipse.smartim.preferences.SettingsPerferencePage;
50-
import cn.ieclipse.smartqq.views.QQContactView;
5146

5247
public abstract class IMContactView extends ViewPart implements IShowInTarget {
5348

@@ -287,7 +282,7 @@ public void run() {
287282
});
288283
}
289284

290-
public void highlight(IMChatConsole console) {
285+
public void highlight(final IMChatConsole console) {
291286
IMPlugin.runOnUI(new Runnable() {
292287
@Override
293288
public void run() {

0 commit comments

Comments
 (0)