Skip to content

Commit

Permalink
[pinpoint-apm#3388] remove unused option
Browse files Browse the repository at this point in the history
remove `config.show.inspector.dataSource` option
  • Loading branch information
koo-taejin committed Sep 22, 2017
1 parent fac27f5 commit 627d29b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion quickstart/web/src/main/resources/pinpoint-web.properties
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ config.sendUsage=true
config.editUserInfo=true
config.show.activeThread=true
config.show.activeThreadDump=true
config.show.inspector.dataSource=true
config.enable.activeThreadDump=true

web.hbase.selectSpans.limit=500
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ public class ConfigProperties {
@Value("#{pinpointWebProps['config.show.activeThreadDump'] ?: false}")
private boolean showActiveThreadDump;

@Value("#{pinpointWebProps['config.show.inspector.dataSource'] ?: false}")
private boolean showInspectorDataSource;

@Value("#{pinpointWebProps['config.enable.activeThreadDump'] ?: false}")
private boolean enableActiveThreadDump;

Expand Down Expand Up @@ -78,10 +75,6 @@ public boolean isShowActiveThreadDump() {
return showActiveThreadDump;
}

public boolean isShowInspectorDataSource() {
return showInspectorDataSource;
}

public boolean isEnableActiveThreadDump() {
return enableActiveThreadDump;
}
Expand Down Expand Up @@ -109,7 +102,6 @@ public String toString() {
sb.append(", editUserInfo=").append(editUserInfo);
sb.append(", showActiveThread=").append(showActiveThread);
sb.append(", showActiveThreadDump=").append(showActiveThreadDump);
sb.append(", showInspectorDataSource=").append(showInspectorDataSource);
sb.append(", enableActiveThreadDump=").append(enableActiveThreadDump);
sb.append(", enableServerMapRealTime=").append(enableServerMapRealTime);
sb.append(", openSource=").append(openSource);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ public Map<String, Object> getProperties(@RequestHeader(value=SSO_USER, required
result.put("editUserInfo", webProperties.getEditUserInfo());
result.put("showActiveThread", webProperties.isShowActiveThread());
result.put("showActiveThreadDump", webProperties.isShowActiveThreadDump());
result.put("showInspectorDataSource", webProperties.isShowInspectorDataSource());
result.put("enableServerMapRealTime", webProperties.isEnableServerMapRealTime());
result.put("showApplicationStat", webProperties.isShowApplicationStat());
result.put("openSource", webProperties.isOpenSource());
Expand Down
1 change: 0 additions & 1 deletion web/src/main/resources/pinpoint-web.properties
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ config.editUserInfo=true
config.openSource=true
config.show.activeThread=true
config.show.activeThreadDump=true
config.show.inspector.dataSource=true
config.enable.activeThreadDump=true
config.show.applicationStat=false

Expand Down

0 comments on commit 627d29b

Please sign in to comment.