Skip to content

Commit 2ca6bf1

Browse files
fix sonar异味
1 parent 12571bd commit 2ca6bf1

File tree

6 files changed

+17
-17
lines changed

6 files changed

+17
-17
lines changed

src/leaflet/services/ChartService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export var ChartService = ServiceBase.extend({
4141
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
4242
*/
4343
queryChart: function (params, callback, resultFormat) {
44-
params = this._processParams(params),
44+
params = this._processParams(params);
4545
this._chartServiceBase.queryChart(params, callback, resultFormat);
4646
},
4747

src/leaflet/services/ProcessingService.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export var ProcessingService = ServiceBase.extend({
205205
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
206206
*/
207207
addSummaryRegionJob: function(params, callback, seconds, resultFormat) {
208-
params = this._processParams(params),
208+
params = this._processParams(params);
209209
this._processingService.addSummaryRegionJob(params, callback, seconds, resultFormat);
210210
},
211211

@@ -381,7 +381,7 @@ export var ProcessingService = ServiceBase.extend({
381381
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
382382
*/
383383
addTopologyValidatorJob: function(params, callback, seconds, resultFormat) {
384-
params = this._processParams(params),
384+
params = this._processParams(params);
385385
this._processingService.addTopologyValidatorJob(params, callback, seconds, resultFormat);
386386
},
387387

@@ -425,7 +425,7 @@ export var ProcessingService = ServiceBase.extend({
425425
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
426426
*/
427427
addSummaryAttributesJob: function(params, callback, seconds, resultFormat) {
428-
params = this._processParams(params),
428+
params = this._processParams(params);
429429
this._processingService.addSummaryAttributesJob(params, callback, seconds, resultFormat);
430430
},
431431

src/mapboxgl/services/ProcessingService.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class ProcessingService extends ServiceBase {
6161
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
6262
*/
6363
addKernelDensityJob(params, callback, seconds, resultFormat) {
64-
params = this._processParams(params),
64+
params = this._processParams(params);
6565
this._processingService.addKernelDensityJob(params, callback, seconds, resultFormat);
6666
}
6767

@@ -193,7 +193,7 @@ export class ProcessingService extends ServiceBase {
193193
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
194194
*/
195195
addSummaryRegionJob(params, callback, seconds, resultFormat) {
196-
params = this._processParams(params),
196+
params = this._processParams(params);
197197
this._processingService.addSummaryRegionJob(params, callback, seconds, resultFormat);
198198
}
199199

@@ -369,7 +369,7 @@ export class ProcessingService extends ServiceBase {
369369
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
370370
*/
371371
addTopologyValidatorJob(params, callback, seconds, resultFormat) {
372-
params = this._processParams(params),
372+
params = this._processParams(params);
373373
this._processingService.addTopologyValidatorJob(params, callback, seconds, resultFormat);
374374
}
375375

@@ -413,7 +413,7 @@ export class ProcessingService extends ServiceBase {
413413
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
414414
*/
415415
addSummaryAttributesJob(params, callback, seconds, resultFormat) {
416-
params = this._processParams(params),
416+
params = this._processParams(params);
417417
this._processingService.addSummaryAttributesJob(params, callback, seconds, resultFormat);
418418
}
419419

src/maplibregl/services/ProcessingService.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class ProcessingService extends ServiceBase {
6060
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
6161
*/
6262
addKernelDensityJob(params, callback, seconds, resultFormat) {
63-
params = this._processParams(params),
63+
params = this._processParams(params);
6464
this._processingService.addKernelDensityJob(params, callback, seconds, resultFormat);
6565
}
6666

@@ -192,7 +192,7 @@ export class ProcessingService extends ServiceBase {
192192
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
193193
*/
194194
addSummaryRegionJob(params, callback, seconds, resultFormat) {
195-
params = this._processParams(params),
195+
params = this._processParams(params);
196196
this._processingService.addSummaryRegionJob(params, callback, seconds, resultFormat);
197197
}
198198

@@ -368,7 +368,7 @@ export class ProcessingService extends ServiceBase {
368368
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
369369
*/
370370
addTopologyValidatorJob(params, callback, seconds, resultFormat) {
371-
params = this._processParams(params),
371+
params = this._processParams(params);
372372
this._processingService.addTopologyValidatorJob(params, callback, seconds, resultFormat);
373373
}
374374

@@ -412,7 +412,7 @@ export class ProcessingService extends ServiceBase {
412412
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
413413
*/
414414
addSummaryAttributesJob(params, callback, seconds, resultFormat) {
415-
params = this._processParams(params),
415+
params = this._processParams(params);
416416
this._processingService.addSummaryAttributesJob(params, callback, seconds, resultFormat);
417417
}
418418

src/openlayers/services/ChartService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class ChartService extends ServiceBase {
3838
* @param {DataFormat} resultFormat - 返回结果类型。
3939
*/
4040
queryChart(params, callback, resultFormat) {
41-
params = this._processParams(params),
41+
params = this._processParams(params);
4242
this._chartService.queryChart(params, callback, resultFormat);
4343
}
4444

src/openlayers/services/ProcessingService.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export class ProcessingService extends ServiceBase {
6060
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
6161
*/
6262
addKernelDensityJob(params, callback, seconds, resultFormat) {
63-
params = this._processParams(params),
63+
params = this._processParams(params);
6464
this._processingService.addKernelDensityJob(params, callback, seconds, resultFormat);
6565
}
6666

@@ -192,7 +192,7 @@ export class ProcessingService extends ServiceBase {
192192
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
193193
*/
194194
addSummaryRegionJob(params, callback, seconds, resultFormat) {
195-
params = this._processParams(params),
195+
params = this._processParams(params);
196196
this._processingService.addSummaryRegionJob(params, callback, seconds, resultFormat);
197197
}
198198

@@ -368,7 +368,7 @@ export class ProcessingService extends ServiceBase {
368368
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
369369
*/
370370
addTopologyValidatorJob(params, callback, seconds, resultFormat) {
371-
params = this._processParams(params),
371+
params = this._processParams(params);
372372
this._processingService.addTopologyValidatorJob(params, callback, seconds, resultFormat);
373373
}
374374

@@ -412,7 +412,7 @@ export class ProcessingService extends ServiceBase {
412412
* @param {DataFormat} [resultFormat=DataFormat.GEOJSON] - 返回结果类型。
413413
*/
414414
addSummaryAttributesJob(params, callback, seconds, resultFormat) {
415-
params = this._processParams(params),
415+
params = this._processParams(params);
416416
this._processingService.addSummaryAttributesJob(params, callback, seconds, resultFormat);
417417
}
418418

0 commit comments

Comments
 (0)