lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
mit
5eaf62d5ea7355679853d5ac94dbdf72f767d521
0
seece/yotris
package com.lofibucket.yotris.ui; import com.lofibucket.yotris.ui.UserInterface; import com.lofibucket.yotris.ui.UserInterface; import com.lofibucket.yotris.util.commands.Command; import java.util.ArrayList; import java.util.List; import java.util.Observable; public class UserInterfaceMock implements UserInterface...
yotris/src/test/java/com/lofibucket/yotris/ui/UserInterfaceMock.java
package com.lofibucket.yotris.ui; import com.lofibucket.yotris.ui.UserInterface; import com.lofibucket.yotris.ui.UserInterface; import com.lofibucket.yotris.util.commands.Command; import java.util.ArrayList; import java.util.List; import java.util.Observable; public class UserInterfaceMock implements UserInterface...
fix UserInterfaceMock
yotris/src/test/java/com/lofibucket/yotris/ui/UserInterfaceMock.java
fix UserInterfaceMock
<ide><path>otris/src/test/java/com/lofibucket/yotris/ui/UserInterfaceMock.java <ide> public void reset() { <ide> } <ide> <del> @Override <del> public boolean getWaitState() { <del> return false; <del> } <del> <ide> }
JavaScript
apache-2.0
b38813bb12879cd51afdd2ac936f1966c5c32abb
0
SignalK/signalk-server-node,webmasterkai/signalk-server-node,sbender9/signalk-server-node,SignalK/signalk-server-node,sbender9/signalk-server-node,webmasterkai/signalk-server-node,webmasterkai/signalk-server-node,SignalK/signalk-server-node,sbender9/signalk-server-node,SignalK/signalk-server-node
/* * Copyright 2014-2015 Fabian Tollenaar <fabian@starting-point.nl> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless requi...
lib/interfaces/ws.js
/* * Copyright 2014-2015 Fabian Tollenaar <fabian@starting-point.nl> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * Unless requi...
fix: ws source for other users getting overwritten by new users (#355)
lib/interfaces/ws.js
fix: ws source for other users getting overwritten by new users (#355)
<ide><path>ib/interfaces/ws.js <ide> pingInterval: false <ide> }) <ide> <del> var source = 'ws' <del> <ide> if (app.securityStrategy) { <ide> primus.authorize(function (req, authorized) { <ide> try { <ide> <ide> var username = _.get(req, 'user.username') <ide> if (us...
Java
apache-2.0
bb2534fa1b950532ff7f189a40a2a3ce50d53bbd
0
SIROK/growthbeat-android,growthbeat/growthbeat-android
package com.growthpush; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Semaphore; import com.google.android.gms.gcm.GoogleCloudMessaging; import com.google.android.gms.iid.InstanceID; import com.growthbeat.Growthbeat; import com.growthbeat.Logger; import com.growthbeat.Preference; import com....
growthbeat/src/main/java/com/growthpush/GrowthPush.java
package com.growthpush; import java.util.concurrent.CountDownLatch; import java.util.concurrent.Semaphore; import com.google.android.gms.gcm.GoogleCloudMessaging; import com.google.android.gms.iid.InstanceID; import com.growthbeat.Growthbeat; import com.growthbeat.Logger; import com.growthbeat.Preference; import com....
Remove Install Event
growthbeat/src/main/java/com/growthpush/GrowthPush.java
Remove Install Event
<ide><path>rowthbeat/src/main/java/com/growthpush/GrowthPush.java <ide> setTrackingEnabled(); <ide> } <ide> <del> // TODO インストールイベントいらない or 初回のみイベントロジックの変更 <del> trackEvent(Event.EventType.custom, "Install", null, null); <del> <ide> } <ide> }); <ide>
JavaScript
apache-2.0
6ea12b7e758fcaffda8fc021d139136b9d86c13a
0
Adobe-Consulting-Services/acs-aem-commons,dfoerderreuther/acs-aem-commons,SachinMali/acs-aem-commons,npeltier/acs-aem-commons,dherges/acs-aem-commons,bstopp/acs-aem-commons,bstopp/acs-aem-commons,cpilsworth/acs-aem-commons,cpilsworth/acs-aem-commons,Adobe-Consulting-Services/acs-aem-commons,MikePfaff/acs-aem-commons,Sa...
/* * #%L * ACS AEM Commons Package * %% * Copyright (C) 2013 Adobe * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
content/src/main/content/jcr_root/apps/acs-commons/widgets/source/js/icon-picker.js
/* * #%L * ACS AEM Commons Package * %% * Copyright (C) 2013 Adobe * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unl...
fixing last few jshint errors
content/src/main/content/jcr_root/apps/acs-commons/widgets/source/js/icon-picker.js
fixing last few jshint errors
<ide><path>ontent/src/main/content/jcr_root/apps/acs-commons/widgets/source/js/icon-picker.js <ide> try { <ide> if (typeof this.optionsProvider !== "function") { <ide> try { <del> eval("p = " + this.optionsProvider); <add> eva...
Java
mit
1402c1196dba2024442f4e9e06ee6b00741491b5
0
Ordinastie/MalisisCore
/* * The MIT License (MIT) * * Copyright (c) 2014 Ordinastie * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
src/main/java/net/malisis/core/renderer/font/MalisisFont.java
/* * The MIT License (MIT) * * Copyright (c) 2014 Ordinastie * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, c...
Fixed rendering
src/main/java/net/malisis/core/renderer/font/MalisisFont.java
Fixed rendering
<ide><path>rc/main/java/net/malisis/core/renderer/font/MalisisFont.java <ide> import net.minecraft.client.renderer.Tessellator; <ide> import net.minecraft.client.renderer.WorldRenderer; <ide> import net.minecraft.client.renderer.texture.DynamicTexture; <add>import net.minecraft.client.renderer.vertex.DefaultVertexForma...
Java
apache-2.0
9f9d51de3d62968ab7207231203c2fad10e6a0be
0
airbnb/epoxy,airbnb/epoxy,airbnb/epoxy,airbnb/epoxy
package com.airbnb.epoxy; import android.util.Log; import android.util.SparseArray; import android.view.View; import android.view.View.OnLayoutChangeListener; import com.airbnb.viewmodeladapter.R; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import androidx.anno...
epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyVisibilityTracker.java
package com.airbnb.epoxy; import android.util.Log; import android.util.SparseArray; import android.view.View; import android.view.View.OnLayoutChangeListener; import com.airbnb.viewmodeladapter.R; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import androidx.anno...
Add missing `@Nullable` (#660)
epoxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyVisibilityTracker.java
Add missing `@Nullable` (#660)
<ide><path>poxy-adapter/src/main/java/com/airbnb/epoxy/EpoxyVisibilityTracker.java <ide> * @param recyclerView the recycler view <ide> * @return true if managed by an {@link BaseEpoxyAdapter} <ide> */ <del> private boolean notEpoxyManaged(RecyclerView recyclerView) { <add> private boolean notEpoxyM...
JavaScript
mit
fe4a1bde85a696e144fbc6e8ed004f68000895c4
0
MementoHackathon2015/ldf-memento-client,infitude/Client.js
/*! @license ©2014 Ruben Verborgh - Multimedia Lab / iMinds / Ghent University */ /* An SparqlIterator returns the results of a SPARQL query. */ var SparqlParser = require('sparqljs').Parser, Iterator = require('../iterators/Iterator'), TransformIterator = Iterator.TransformIterator, ReorderingGraphPattern...
lib/triple-pattern-fragments/SparqlIterator.js
/*! @license ©2014 Ruben Verborgh - Multimedia Lab / iMinds / Ghent University */ /* An SparqlIterator returns the results of a SPARQL query. */ var SparqlParser = require('sparqljs').Parser, Iterator = require('../iterators/Iterator'), TransformIterator = Iterator.TransformIterator, ReorderingGraphPattern...
Don't output blanks with *.
lib/triple-pattern-fragments/SparqlIterator.js
Don't output blanks with *.
<ide><path>ib/triple-pattern-fragments/SparqlIterator.js <ide> // Project a simple variable by copying its value <ide> if (variable !== '*') <ide> row[variable] = bindings[variable]; <del> // Project a star selector by copying all values <add> // Project a star selector by copying all variable bindi...
Java
mit
fbf65fe181d0cf37fb12fbb137de0180a3be75f7
0
digibib/ls.ext,digibib/ls.ext,digibib/ls.ext,digibib/ls.ext
package no.deichman.services.search; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.jamonapi.Monitor; import com.jamonapi.MonitorFactory; import no.deichman.services.entity.EntityService; import no.deichman.services.entity.EntityType; import no.deichman.services.uridefaults.XURI; import or...
redef/services/src/main/java/no/deichman/services/search/SearchServiceImpl.java
package no.deichman.services.search; import com.google.gson.Gson; import com.google.gson.GsonBuilder; import com.jamonapi.Monitor; import com.jamonapi.MonitorFactory; import no.deichman.services.entity.EntityService; import no.deichman.services.entity.EntityType; import no.deichman.services.uridefaults.XURI; import or...
services: improve comments
redef/services/src/main/java/no/deichman/services/search/SearchServiceImpl.java
services: improve comments
<ide><path>edef/services/src/main/java/no/deichman/services/search/SearchServiceImpl.java <ide> .setPath(format("/search/%s/%s", xuri.getType(), encode(xuri.getUri(), UTF_8))) <ide> .build()); <ide> try (CloseableHttpResponse putResponse = httpclient.execute(httpDelet...
Java
apache-2.0
2f26ff4206cadfb92b74c85ea9f8368b7f5ef427
0
amsa-code/risky,amsa-code/risky,amsa-code/risky,amsa-code/risky,amsa-code/risky
package au.gov.amsa.animator; import java.awt.Color; import java.awt.Dimension; import java.awt.EventQueue; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GraphicsEnvironment; import java.awt.Image; import java.awt.Rectangle; import java.awt.Transparency; import java.awt.geom.Point2D; import jav...
animator/src/main/java/au/gov/amsa/animator/Animator.java
package au.gov.amsa.animator; import java.awt.Color; import java.awt.EventQueue; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.GraphicsEnvironment; import java.awt.Image; import java.awt.Transparency; import java.awt.geom.Point2D; import java.awt.image.BufferedImage; import java.io.File; import...
animator dev
animator/src/main/java/au/gov/amsa/animator/Animator.java
animator dev
<ide><path>nimator/src/main/java/au/gov/amsa/animator/Animator.java <ide> package au.gov.amsa.animator; <ide> <ide> import java.awt.Color; <add>import java.awt.Dimension; <ide> import java.awt.EventQueue; <ide> import java.awt.Graphics; <ide> import java.awt.Graphics2D; <ide> import java.awt.GraphicsEnvironment; <ide>...
Java
apache-2.0
51b3ef2c856aa6850d0be621fb5235b61b942fa3
0
KurtStam/syndesis-rest,redhat-ipaas/ipaas-rest,chirino/ipaas-rest,redhat-ipaas/ipaas-rest,KurtStam/syndesis-rest,rhuss/ipaas-rest,KurtStam/ipaas-rest,rhuss/ipaas-rest,rhuss/ipaas-rest,redhat-ipaas/ipaas-rest,KurtStam/ipaas-rest,redhat-ipaas/ipaas-api-java,KurtStam/ipaas-rest,redhat-ipaas/ipaas-api-java,chirino/ipaas-re...
/** * Copyright (C) 2016 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
runtime/src/test/java/io/syndesis/runtime/APITokenRule.java
/** * Copyright (C) 2016 Red Hat, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or...
refactor(code style): remove unused imports
runtime/src/test/java/io/syndesis/runtime/APITokenRule.java
refactor(code style): remove unused imports
<ide><path>untime/src/test/java/io/syndesis/runtime/APITokenRule.java <ide> */ <ide> package io.syndesis.runtime; <ide> <del>import com.fasterxml.jackson.databind.JsonNode; <ide> import org.junit.rules.ExternalResource; <del>import org.springframework.http.HttpHeaders; <del>import org.springframework.http.HttpStatus;...
Java
apache-2.0
ae07fc170d8ebadb7a135f7ef2c6183c678f4cf3
0
universsky/mina,weijiangzhu/mina,dongjiaqiang/mina,Vicky01200059/mina,jeffmaury/mina,apache/mina,mway08/mina,yangzhongj/mina,apache/mina,universsky/mina,mway08/mina,dongjiaqiang/mina,Vicky01200059/mina,weijiangzhu/mina,yangzhongj/mina
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
transport-apr/src/main/java/org/apache/mina/transport/socket/apr/AprIoProcessor.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
* Small memory optimization * renamed managedSessions to allSessions git-svn-id: b7022df5c975f24f6cce374a8cf09e1bba3b7a2e@596591 13f79535-47bb-0310-9956-ffa450edef68
transport-apr/src/main/java/org/apache/mina/transport/socket/apr/AprIoProcessor.java
* Small memory optimization * renamed managedSessions to allSessions
<ide><path>ransport-apr/src/main/java/org/apache/mina/transport/socket/apr/AprIoProcessor.java <ide> */ <ide> <ide> public class AprIoProcessor extends AbstractIoProcessor<AprSession> { <add> private static final int INITIAL_CAPACITY = 32; <ide> <del> private final Map<Long, AprSession> managedSessions = n...
JavaScript
mit
d0ff248fb8a621b6057a976eb5001ceda897818a
0
lfabianosb/travel-advisor-job,lfabianosb/travel-advisor-job,lfabianosb/travel-advisor-job
var casper = require("casper").create({ pageSettings: { loadImages: false, loadPlugins: false, userAgent: 'Mozilla/5.0 (Windows NT 6.1; rv:53.0) Gecko/20100101 Firefox/53.0' }, logLevel: "info", verbose: false }); var system = require('system'); var target = casper.cli.get(0)...
viajanet.js
var casper = require("casper").create({ pageSettings: { loadImages: false, loadPlugins: false, userAgent: 'Mozilla/5.0 (Windows NT 6.1; rv:53.0) Gecko/20100101 Firefox/53.0' }, logLevel: "info", verbose: false }); var system = require('system'); var target = casper.cli.get(0)...
Increasing time to wait
viajanet.js
Increasing time to wait
<ide><path>iajanet.js <ide> }); <ide> <ide> casper.start(target, function() { <del> this.wait(10000); <add> this.wait(15000); <ide> <ide> //Waiting page load <ide> this.waitWhileVisible('#vn-content-view > div.fluxo-content > div > span',
JavaScript
mit
60c709119430feae37cce4d5254276463ad7e2ce
0
Turistforeningen/Hytteadmin,Turistforeningen/Hytteadmin
import Ember from 'ember'; export default Ember.Route.extend({ setupController: function(controller, model) { var groups = this.store.findAll('group'); this.controllerFor('groups').set('model', groups); var users = this.store.findAll('user').then(function (users) { console.log('users', users); ...
client/app/routes/application.js
import Ember from 'ember'; export default Ember.Route.extend({ setupController: function(controller, model) { var groups = this.store.findAll('group'); this.controllerFor('groups').set('model', groups); } });
Check for user in application route
client/app/routes/application.js
Check for user in application route
<ide><path>lient/app/routes/application.js <ide> setupController: function(controller, model) { <ide> var groups = this.store.findAll('group'); <ide> this.controllerFor('groups').set('model', groups); <add> <add> var users = this.store.findAll('user').then(function (users) { <add> console.log('users',...
JavaScript
apache-2.0
d7df3ab6b608af8a5d95f353713a36f9018ca4df
0
racker/node-swiz,racker/node-swiz
/* * Copyright 2011 Rackspace * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
tests/test-valve.js
/* * Copyright 2011 Rackspace * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
Code cleanup
tests/test-valve.js
Code cleanup
<ide><path>ests/test-valve.js <ide> // positive case 2 <ide> }; <ide> <add>function invalidIpFailMsgAsserter(assert, msg) { <add> return function(err, cleaned) { <add> assert.deepEqual(err.message, 'Invalid IP', msg); <add> } <add>} <add> <ide> exports['test_validate_ip'] = function(test, assert) { <add> var inv...
JavaScript
mit
f6bea77ba6be33a0633ebfe9af9113ca896e3b10
0
Vizzuality/GlobalFishingWatch,Vizzuality/GlobalFishingWatch,Vizzuality/GlobalFishingWatch
import { ADD_CUSTOM_LAYER, TOGGLE_LAYER_VISIBILITY, TOGGLE_LAYER_WORKSPACE_PRESENCE } from 'layers/layersActions'; import { ADD_REPORT_POLYGON, DELETE_REPORT_POLYGON, SET_REPORT_STATUS_SENT, SHOW_POLYGON } from 'report/reportActions'; import { SET_FLAG_FILTERS, CHANGE_SPEED } from 'filters/filtersActions'; import { SET...
app/src/analytics/analyticsMiddleware.js
import { ADD_CUSTOM_LAYER, TOGGLE_LAYER_VISIBILITY, TOGGLE_LAYER_WORKSPACE_PRESENCE } from 'layers/layersActions'; import { ADD_REPORT_POLYGON, DELETE_REPORT_POLYGON, SET_REPORT_STATUS_SENT, SHOW_POLYGON } from 'report/reportActions'; import { SET_FLAG_FILTERS, CHANGE_SPEED } from 'filters/filtersActions'; import { SET...
tracking the pinned vessel hue was causing an error
app/src/analytics/analyticsMiddleware.js
tracking the pinned vessel hue was causing an error
<ide><path>pp/src/analytics/analyticsMiddleware.js <ide> type: SET_PINNED_VESSEL_HUE, <ide> category: 'Settings', <ide> action: 'Change vessel track colour', <del> getPayload: 'user changes colour' <add> getPayload: () => 'user changes colour' <ide> }, <ide> { <ide> type: SET_RECENT_VESSELS_VI...
Java
mpl-2.0
6a3758386d6fcc812fe2a99cc9e4d69e50e9628d
0
seedstack/jpa-addon
/** * Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.seedstack.jpa; import...
src/test/java/org/seedstack/jpa/SpecificationIT.java
/** * Copyright (c) 2013-2016, The SeedStack authors <http://seedstack.org> * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.seedstack.jpa; import...
Improve spec test
src/test/java/org/seedstack/jpa/SpecificationIT.java
Improve spec test
<ide><path>rc/test/java/org/seedstack/jpa/SpecificationIT.java <ide> } <ide> <ide> @Test <add> public void testTrue() throws Exception { <add> assertThat(repository.get(specificationBuilder.of(Product.class) <add> .all() <add> .build()) <add> ).containsExactly(pro...
JavaScript
apache-2.0
2b8646a855626283758a3e19ccdcd6a9a32f9d17
0
joequant/etherpad-lite,lpagliari/etherpad-lite,aptivate/etherpad-lite,joequant/etherpad-lite,storytouch/etherpad-lite,cloudfoundry-community/etherpad-lite-cf,lpagliari/etherpad-lite,lpagliari/etherpad-lite,storytouch/etherpad-lite,ether/etherpad-lite,cloudfoundry-community/etherpad-lite-cf,aptivate/etherpad-lite,aptiva...
/** * The AuthorManager controlls all information about the Pad authors */ /* * 2011 Peter 'Pita' Martischka (Primary Technology Ltd) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
src/node/db/AuthorManager.js
/** * The AuthorManager controlls all information about the Pad authors */ /* * 2011 Peter 'Pita' Martischka (Primary Technology Ltd) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at ...
db/AuthorManager: early return, no functional changes
src/node/db/AuthorManager.js
db/AuthorManager: early return, no functional changes
<ide><path>rc/node/db/AuthorManager.js <ide> //return the author <ide> callback(null, author); <ide> }); <del> } <add> <add> return; <add> } <add> <ide> //there is a author with this mapper <del> else <del> { <del> //update the timestamp of this author <del> db.setSu...
Java
lgpl-2.1
dc1f5e5975ff3d43fb907c4a7ea86747d41ed497
0
aruanruan/hivedb,britt/hivedb
package org.hivedb.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.PARAMETER) public @interface IndexParam { String value(); }
src/main/java/org/hivedb/annotations/IndexParam.java
package org.hivedb.annotations; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; import org.hivedb.annotations.IndexRangeParam.Extreme; @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.PARAMETER) pu...
fix git-svn-id: 844d946efecc0c73e9bbe621f4e6d7ad48f82261@650 8f33570f-f526-0410-8023-93ba2dbcbd24
src/main/java/org/hivedb/annotations/IndexParam.java
fix
<ide><path>rc/main/java/org/hivedb/annotations/IndexParam.java <ide> import java.lang.annotation.RetentionPolicy; <ide> import java.lang.annotation.Target; <ide> <del>import org.hivedb.annotations.IndexRangeParam.Extreme; <del> <ide> @Retention(RetentionPolicy.RUNTIME) <ide> @Target(ElementType.PARAMETER) <ide> public...
Java
apache-2.0
4ca34c0b1bcb9deab6fe38b9825c7ca78ce35fd7
0
MovingBlocks/Terasology,Nanoware/Terasology,Nanoware/Terasology,Malanius/Terasology,MovingBlocks/Terasology,Malanius/Terasology,MovingBlocks/Terasology,Nanoware/Terasology
/* * Copyright 2013 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
engine/src/main/java/org/terasology/math/Side.java
/* * Copyright 2013 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
feat(JOML) Migrate side
engine/src/main/java/org/terasology/math/Side.java
feat(JOML) Migrate side
<ide><path>ngine/src/main/java/org/terasology/math/Side.java <ide> <ide> import com.google.common.collect.ImmutableList; <ide> import com.google.common.collect.Maps; <add>import org.joml.Vector3ic; <ide> import org.terasology.math.geom.Vector3f; <ide> import org.terasology.math.geom.Vector3i; <ide> <ide> <ide> /...
Java
apache-2.0
f7c45aaede7a048ab42686edeea0c7b1f9aa4f51
0
eliasku/intellij-haxe,HaxeFoundation/intellij-haxe,TiVo/intellij-haxe,EricBishton/intellij-haxe,winmain/intellij-haxe,EricBishton/intellij-haxe,winmain/intellij-haxe,eliasku/intellij-haxe,winmain/intellij-haxe,EricBishton/intellij-haxe,TiVo/intellij-haxe,TiVo/intellij-haxe,eliasku/intellij-haxe,HaxeFoundation/intellij-...
/* * Copyright 2017 Eric Bishton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
src/common/com/intellij/plugins/haxe/util/HaxeModificationTracker.java
/* * Copyright 2017 Eric Bishton * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in ...
isModifiedSince() now returns true for null Stamps.
src/common/com/intellij/plugins/haxe/util/HaxeModificationTracker.java
isModifiedSince() now returns true for null Stamps.
<ide><path>rc/common/com/intellij/plugins/haxe/util/HaxeModificationTracker.java <ide> } <ide> <ide> public boolean isModifiedSince(Stamp stamp) { <add> if (null == stamp) { <add> return true; // invalid stamp; always modified. <add> } <add> <ide> if (stamp.tracker != this) { <ide> String msg...
Java
apache-2.0
6bf869fa8458192da4ed97f84d94aef711664bb8
0
hmusavi/jpo-ode,hmusavi/jpo-ode,hmusavi/jpo-ode,hmusavi/jpo-ode,hmusavi/jpo-ode
package us.dot.its.jpo.ode.udp.isd; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.net.DatagramPacket; import java.net.InetSocketAddress; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.con...
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/udp/isd/IsdDepositor.java
package us.dot.its.jpo.ode.udp.isd; import java.io.ByteArrayInputStream; import java.io.ByteArrayOutputStream; import java.io.IOException; import java.net.DatagramPacket; import java.net.InetSocketAddress; import java.util.concurrent.ExecutionException; import java.util.concurrent.ExecutorService; import java.util.con...
ODE-314 changing to send non-repudiation once per trust established
jpo-ode-svcs/src/main/java/us/dot/its/jpo/ode/udp/isd/IsdDepositor.java
ODE-314 changing to send non-repudiation once per trust established
<ide><path>po-ode-svcs/src/main/java/us/dot/its/jpo/ode/udp/isd/IsdDepositor.java <ide> <ide> // If we've sent at least 5 messages, get a data receipt <ide> if (messagesDeposited < 5) { <add> trustMgr.setTrustEstablished(false); <ide> return encodedIsd; <ide> } <ide> <ide> } catch (IOException | Interr...
Java
apache-2.0
84466f08c549187d60b22f1f4f69d54b1ba52586
0
GerritCodeReview/plugins_importer,GerritCodeReview/plugins_importer,GerritCodeReview/plugins_importer,GerritCodeReview/plugins_importer
// Copyright (C) 2015 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
src/main/java/com/googlesource/gerrit/plugins/importer/HttpSession.java
// Copyright (C) 2015 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable ...
Skip SSL verification We do not want the queries to fail if the remote has a self signed certificate, so we skip SSL verification. A part of the code is copied from JGit. Change-Id: I45ac9a17d4fd2638822af967710e1cd52d76c769
src/main/java/com/googlesource/gerrit/plugins/importer/HttpSession.java
Skip SSL verification
<ide><path>rc/main/java/com/googlesource/gerrit/plugins/importer/HttpSession.java <ide> import org.apache.http.auth.UsernamePasswordCredentials; <ide> import org.apache.http.client.HttpClient; <ide> import org.apache.http.client.methods.HttpGet; <add>import org.apache.http.conn.ssl.SSLConnectionSocketFactory; <add>impo...
Java
mit
ca67e2d5ce235517fa47e632658985203cd45afe
0
tkuhn/memetools,tkuhn/memetools
package ch.tkuhn.memetools; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.Writer; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import ...
src/main/java/ch/tkuhn/memetools/CalculatePaperSuccess.java
package ch.tkuhn.memetools; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileReader; import java.io.FileWriter; import java.io.IOException; import java.io.Writer; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import ...
Add time variables
src/main/java/ch/tkuhn/memetools/CalculatePaperSuccess.java
Add time variables
<ide><path>rc/main/java/ch/tkuhn/memetools/CalculatePaperSuccess.java <ide> <ide> private File outputTempFile, outputFile, outputMatrixFile; <ide> <add> private int pubcount; <ide> private MemeScorer ms; <ide> private List<String> terms; <ide> private BufferedReader reader; <ide> private Map<String,Long> cpyPape...
Java
lgpl-2.1
error: pathspec 'src/opendap/coreServlet/OpendapContentHeaders.java' did not match any file(s) known to git
2cd439c65afe79d3a30db52348ce0ab2423fcf63
1
OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs,OPENDAP/olfs
///////////////////////////////////////////////////////////////////////////// // This file is part of the "Server4" project, a Java implementation of the // OPeNDAP Data Access Protocol. // // Copyright (c) 2006 OPeNDAP, Inc. // Author: Nathan David Potter <ndp@opendap.org> // // This library is free software; you can...
src/opendap/coreServlet/OpendapContentHeaders.java
olfs: Refactored Dispatch. Major changes to code and configurations.
src/opendap/coreServlet/OpendapContentHeaders.java
olfs: Refactored Dispatch. Major changes to code and configurations.
<ide><path>rc/opendap/coreServlet/OpendapContentHeaders.java <add>///////////////////////////////////////////////////////////////////////////// <add>// This file is part of the "Server4" project, a Java implementation of the <add>// OPeNDAP Data Access Protocol. <add>// <add>// Copyright (c) 2006 OPeNDAP, Inc. <add>// ...
Java
mit
cded794908652f093eca22ab5d941e752506fdeb
0
joshgarde/SpongeAPI,kenzierocks/SpongeAPI,kenzierocks/SpongeAPI,Lergin/SpongeAPI,caseif/SpongeAPI,Kiskae/SpongeAPI,gabizou/SpongeAPI,ryantheleach/SpongeAPI,jonk1993/SpongeAPI,Lergin/SpongeAPI,kashike/SpongeAPI,kashike/SpongeAPI,SpongePowered/SpongeAPI,AlphaModder/SpongeAPI,boomboompower/SpongeAPI,SpongePowered/SpongeAP...
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered.org <http://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
src/main/java/org/spongepowered/api/util/command/dispatcher/SimpleDispatcher.java
/* * This file is part of Sponge, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered.org <http://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Soft...
Fix null tab completions
src/main/java/org/spongepowered/api/util/command/dispatcher/SimpleDispatcher.java
Fix null tab completions
<ide><path>rc/main/java/org/spongepowered/api/util/command/dispatcher/SimpleDispatcher.java <ide> <ide> if (mapping.isPresent()) { <ide> List<String> ret = mapping.get().getCallable().getSuggestions(source, parts.length > 1 ? parts[1] : ""); <del> if (ret == null) { <add> ...
Java
apache-2.0
8f57f00b0df9d430f138c5ade0e4188ee1c87d20
0
tombolaltd/cordova-plugin-inappbrowser,tombolaltd/cordova-plugin-inappbrowser,tombolaltd/cordova-plugin-inappbrowser
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the...
src/android/InAppBrowser.java
/* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the...
Trying to react to poll result
src/android/InAppBrowser.java
Trying to react to poll result
<ide><path>rc/android/InAppBrowser.java <ide> if(action.equalsIgnoreCase("close")) { <ide> stopPoll(); <ide> closeDialog(); <del> return; <add> return true; <ide> } <ide> if(action.equalsIgnoreC...
JavaScript
mit
0e36b8addc5c56907f6719f3b7d7e875b3039309
0
ReissJarvis/localr,ReissJarvis/localr,ReissJarvis/localr
localr = (function() { 'use strict' var credentials = "", name = "", password = "", httpRequest = ""; return { getDetails: function(type) { if(type == "users") { localr.setCred("users"); var url = 'http://api.adam-holt.co.uk/users/g...
debug_and_test/js/debug.js
localr = (function() { 'use strict' var credentials = "", name = "", password = "", httpRequest = ""; return { getDetails: function(type) { if(type == "users") { localr.setCred("users"); var url = 'http://178.62.31.30:8080/users/get...
Updated debug.js to use api.adam-holt.co.uk
debug_and_test/js/debug.js
Updated debug.js to use api.adam-holt.co.uk
<ide><path>ebug_and_test/js/debug.js <ide> getDetails: function(type) { <ide> if(type == "users") { <ide> localr.setCred("users"); <del> var url = 'http://178.62.31.30:8080/users/get?username=' + name; <add> var url = 'http://api.adam-holt.co.uk/users/ge...
Java
mit
7fa2ff2d1dde4e62715f882b299667cab167a90e
0
amiyajima/voogasalad_VOOGirlsGeneration,mzhu22/TurnBasedStrategy
package utilities.leapMotion; import java.awt.AWTException; import java.awt.Robot; import java.awt.event.InputEvent; import java.lang.reflect.InvocationTargetException; import java.util.ResourceBundle; import com.leapmotion.leap.Controller; import com.leapmotion.leap.Frame; import com.leapmotion.leap.Gesture; import ...
src/utilities/leapMotion/LeapMotionListener.java
package utilities.leapMotion; import java.awt.AWTException; import java.awt.Robot; import java.awt.event.InputEvent; import java.lang.reflect.InvocationTargetException; import java.util.ResourceBundle; import com.leapmotion.leap.Controller; import com.leapmotion.leap.Frame; import com.leapmotion.leap.Gesture; import ...
resource address fixed
src/utilities/leapMotion/LeapMotionListener.java
resource address fixed
<ide><path>rc/utilities/leapMotion/LeapMotionListener.java <ide> private ResourceBundle myGestures; <ide> private Robot myRobot; <ide> private ILeapMouse myLeapMouse; <del> public static final String GESTURES_FILEPATH = ""; <add> public static final String PACKAGE_FILEPATH = ""; <add> public static...
Java
apache-2.0
eafa87146952f0fa0655ec9a6d64f3c7a89e62db
0
Jasig/uPortal-start,cousquer/uPortal,stalele/uPortal,jl1955/uPortal5,Jasig/uPortal,jhelmer-unicon/uPortal,jonathanmtran/uPortal,kole9273/uPortal,ASU-Capstone/uPortal,ASU-Capstone/uPortal,MichaelVose2/uPortal,Jasig/uPortal,ASU-Capstone/uPortal,GIP-RECIA/esup-uportal,chasegawa/uPortal,mgillian/uPortal,Jasig/SSP-Platform,...
package org.jasig.portal.channels; import javax.servlet.*; import javax.servlet.jsp.*; import javax.servlet.http.*; import java.io.*; import java.util.*; import com.objectspace.xml.*; import org.jasig.portal.*; import org.jasig.portal.layout.*; import java.net.*; /** * This is a user-defined channel for rendering...
source/org/jasig/portal/channels/CInlineFrame.java
package org.jasig.portal.channels; import javax.servlet.*; import javax.servlet.jsp.*; import javax.servlet.http.*; import java.io.*; import java.util.*; import com.objectspace.xml.*; import org.jasig.portal.*; import org.jasig.portal.layout.*; import java.net.*; /** * This is a user-defined channel for rendering...
add author and version tags git-svn-id: 477788cc2a8229a747c5b8073e47c1d0f6ec0604@3373 f5dbab47-78f9-eb45-b975-e544023573eb
source/org/jasig/portal/channels/CInlineFrame.java
add author and version tags
<ide><path>ource/org/jasig/portal/channels/CInlineFrame.java <ide> * For Browsers without support for Inline Frames the channel just presents <ide> * a link to open in a separate window. <ide> * <add> * @author Susan Bramhall <add> * @version $Revision$ <ide> */ <ide> public class CInlineFrame implements org.jasig...
Java
apache-2.0
20b6076b303e59d4163e53249239c45c4fa99587
0
tagbangers/wallride,tagbangers/wallride,tagbangers/wallride
/* * Copyright 2014 Tagbangers, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
wallride-core/src/main/java/org/wallride/web/support/Articles.java
/* * Copyright 2014 Tagbangers, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agree...
bug fix to Articles. Modified to search request status set "Post.Status.PUBLISHED".
wallride-core/src/main/java/org/wallride/web/support/Articles.java
bug fix to Articles.
<ide><path>allride-core/src/main/java/org/wallride/web/support/Articles.java <ide> import org.springframework.data.domain.Page; <ide> import org.thymeleaf.context.IProcessingContext; <ide> import org.wallride.domain.Article; <add>import org.wallride.domain.Post; <ide> import org.wallride.model.ArticleSearchRequest; <id...
Java
bsd-3-clause
f6bf6049f6f808bf748cf1cce4e2d8084090cc5e
0
knime-mpicbg/HCS-Tools,knime-mpicbg/HCS-Tools,knime-mpicbg/HCS-Tools,knime-mpicbg/HCS-Tools
package de.mpicbg.tds.knime.hcstools.visualization.heatmapviewer; import de.mpicbg.tds.core.TdsUtils; import de.mpicbg.tds.core.model.Plate; import de.mpicbg.tds.core.model.Well; import de.mpicbg.tds.knime.hcstools.visualization.PlateComparators; import de.mpicbg.tds.knime.hcstools.visualization.heatmapviewer.color.Gl...
src/de/mpicbg/tds/knime/hcstools/visualization/heatmapviewer/HeatMapModel2.java
package de.mpicbg.tds.knime.hcstools.visualization.heatmapviewer; import de.mpicbg.tds.core.TdsUtils; import de.mpicbg.tds.core.model.Plate; import de.mpicbg.tds.core.model.Well; import de.mpicbg.tds.knime.hcstools.visualization.PlateComparators; import de.mpicbg.tds.knime.hcstools.visualization.heatmapviewer.color.Gl...
fixed small bug in the well selection if nothing was selected it was possible to have a nullpointerexception before.
src/de/mpicbg/tds/knime/hcstools/visualization/heatmapviewer/HeatMapModel2.java
fixed small bug in the well selection
<ide><path>rc/de/mpicbg/tds/knime/hcstools/visualization/heatmapviewer/HeatMapModel2.java <ide> } <ide> <ide> public boolean isWellSelected(Well well) { <add> if ( selection.isEmpty() ) <add> return false; <ide> <ide> for (Well w : selection) { <ide> if (well.getPlateColu...
Java
agpl-3.0
2fd791f45052184dca5b189f434264e8dfdb9294
0
VietOpenCPS/opencps,VietOpenCPS/opencps,VietOpenCPS/opencps
/** * OpenCPS is the open source Core Public Services software * Copyright (C) 2016-present OpenCPS community * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of ...
portlets/opencps-portlet/docroot/WEB-INF/src/org/opencps/backend/engine/BackOfficeProcessEngine.java
/** * OpenCPS is the open source Core Public Services software * Copyright (C) 2016-present OpenCPS community * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of ...
Update BackProcessEngine
portlets/opencps-portlet/docroot/WEB-INF/src/org/opencps/backend/engine/BackOfficeProcessEngine.java
Update BackProcessEngine
<ide><path>ortlets/opencps-portlet/docroot/WEB-INF/src/org/opencps/backend/engine/BackOfficeProcessEngine.java <ide> import org.opencps.processmgt.service.ProcessStepLocalServiceUtil; <ide> import org.opencps.processmgt.service.ProcessWorkflowLocalServiceUtil; <ide> import org.opencps.processmgt.util.ProcessMgtUtil; <a...
Java
agpl-3.0
8a4c3501ae94279cba00c6952487da1c6ebd7d55
0
quikkian-ua-devops/kfs,kkronenb/kfs,ua-eas/kfs,ua-eas/kfs-devops-automation-fork,smith750/kfs,UniversityOfHawaii/kfs,quikkian-ua-devops/will-financials,smith750/kfs,quikkian-ua-devops/will-financials,ua-eas/kfs-devops-automation-fork,ua-eas/kfs-devops-automation-fork,kuali/kfs,UniversityOfHawaii/kfs,bhutchinson/kfs,qui...
/* * Copyright 2011 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by applic...
work/src/org/kuali/kfs/module/ar/report/service/impl/ContractsGrantsInvoiceReportServiceImpl.java
/* * Copyright 2011 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by applic...
KFSTI-364: refactor out address method, clarify naming of variables
work/src/org/kuali/kfs/module/ar/report/service/impl/ContractsGrantsInvoiceReportServiceImpl.java
KFSTI-364: refactor out address method, clarify naming of variables
<ide><path>ork/src/org/kuali/kfs/module/ar/report/service/impl/ContractsGrantsInvoiceReportServiceImpl.java <ide> import com.lowagie.text.Document; <ide> import com.lowagie.text.DocumentException; <ide> import com.lowagie.text.Element; <add>import com.lowagie.text.Font; <ide> import com.lowagie.text.Paragraph; <ide> im...
Java
mit
fbde00771e68a834f074c03324131dee5cf8d240
0
Vlatombe/git-plugin,ialbors/git-plugin,MarkEWaite/git-plugin,martinda/git-plugin,ndeloof/git-plugin,mklein0/git-plugin,martinda/git-plugin,nordstrand/git-plugin,Talend/git-plugin,recena/git-plugin,jenkinsci/git-plugin,nordstrand/git-plugin,bjacklyn/git-plugin,v1v/git-plugin,recena/git-plugin,ldtkms/git-plugin,mlgiroux/...
package hudson.plugins.git; import edu.umd.cs.findbugs.annotations.Nullable; import hudson.Extension; import hudson.ExtensionPoint; import hudson.Util; import hudson.model.AbstractModelObject; import hudson.model.AbstractProject; import hudson.model.Cause; import hudson.model.CauseAction; import hudson.model.Item; imp...
src/main/java/hudson/plugins/git/GitStatus.java
package hudson.plugins.git; import edu.umd.cs.findbugs.annotations.Nullable; import hudson.Extension; import hudson.ExtensionPoint; import hudson.Util; import hudson.model.AbstractModelObject; import hudson.model.AbstractProject; import hudson.model.Cause; import hudson.model.CauseAction; import hudson.model.Item; imp...
Should trigger polling at most once per project.
src/main/java/hudson/plugins/git/GitStatus.java
Should trigger polling at most once per project.
<ide><path>rc/main/java/hudson/plugins/git/GitStatus.java <ide> } <ide> <ide> /** <del> * Handle standard {@link AbstractProject} instances with a standard {@link SCMTrigger}. <add> * Handle standard {@link SCMTriggerItem} instances with a standard {@link SCMTrigger}. <ide> * <ide> * @since 1...
Java
bsd-3-clause
6d7d1b0845da1ec27c95f4db394bdc65165a2a8f
0
eugen-eugen/eugensjbehave,kops/jbehave-core,donsenior/jbehave-core,valfirst/jbehave-core,gmandnepr/jbehave-core,sischnei/jbehave-core,irfanah/jbehave-core,pocamin/jbehave-core,valfirst/jbehave-core,bsaylor/jbehave-core,sischnei/jbehave-core,mestihudson/jbehave-core,jbehave/jbehave-core,eugen-eugen/eugensjbehave,valfirs...
package org.jbehave.core.failures; import java.util.HashMap; @SuppressWarnings("serial") public class BatchFailures extends HashMap<String,Throwable> { @Override public String toString() { StringBuffer sb = new StringBuffer(); for (String name : keySet()) { Throwable cause = get(n...
jbehave-core/src/main/java/org/jbehave/core/failures/BatchFailures.java
package org.jbehave.core.failures; import java.util.HashMap; @SuppressWarnings("serial") public class BatchFailures extends HashMap<String,Throwable> { @Override public String toString() { StringBuffer sb = new StringBuffer(); for (String name : keySet()) { Throwable cause = get(n...
JBEHAVE-580: fix NPE in BatchFailures
jbehave-core/src/main/java/org/jbehave/core/failures/BatchFailures.java
JBEHAVE-580: fix NPE in BatchFailures
<ide><path>behave-core/src/main/java/org/jbehave/core/failures/BatchFailures.java <ide> sb.append("\n"); <ide> sb.append(name); <ide> sb.append(": "); <del> sb.append(cause.getMessage() != null ? cause.getMessage() : "N/A"); <add> sb.append((cause != null && cau...
Java
apache-2.0
dcdd8c9b4daf085fd5eb01da6f85d1cdd2afae29
0
evanchooly/morphia,evanchooly/morphia
package com.google.code.morphia.query; import org.bson.types.CodeWScope; import com.mongodb.DBCollection; import com.mongodb.DBObject; import com.mongodb.ReadPreference; /** * @author Scott Hernandez */ public interface Query<T> extends QueryResults<T>, Cloneable { /** * <p>Create a filter based on the spec...
morphia/src/main/java/com/google/code/morphia/query/Query.java
package com.google.code.morphia.query; import org.bson.types.CodeWScope; import com.mongodb.DBCollection; import com.mongodb.DBObject; import com.mongodb.ReadPreference; /** * @author Scott Hernandez */ public interface Query<T> extends QueryResults<T>, Cloneable { /** * <p>Create a filter based on the spec...
add mod to list of filters
morphia/src/main/java/com/google/code/morphia/query/Query.java
add mod to list of filters
<ide><path>orphia/src/main/java/com/google/code/morphia/query/Query.java <ide> * <li>{@code filter("rooms.maxBeds >=", 2)}</li> <ide> * <li>{@code filter("rooms.bathrooms exists", 1)}</li> <ide> * <li>{@code filter("stars in", new Long[]{3, 4}) //3 and 4 stars (midrange?)}</li> <add> * <li>{@code fil...
Java
bsd-3-clause
096763fcec2e92b6b122df386528355bb699fa66
0
NCIP/cagrid,NCIP/cagrid,NCIP/cagrid,NCIP/cagrid
package gov.nih.nci.cagrid.introduce.security.service; import gov.nih.nci.cagrid.common.FaultHelper; import gov.nih.nci.cagrid.common.Utils; import gov.nih.nci.cagrid.metadata.security.ServiceSecurityMetadata; import java.io.File; import java.rmi.RemoteException; import javax.naming.InitialContext; import javax.xml....
cagrid-1-0/caGrid/projects/introduce/operationProviders/ServiceSecurity/src/gov/nih/nci/cagrid/introduce/security/service/ServiceSecurityImpl.java
package gov.nih.nci.cagrid.introduce.security.service; import gov.nih.nci.cagrid.common.FaultHelper; import gov.nih.nci.cagrid.common.Utils; import gov.nih.nci.cagrid.dorian.service.Dorian; import gov.nih.nci.cagrid.metadata.security.ServiceSecurityMetadata; import gov.nih.nci.cagrid.syncgts.bean.SyncReport; import ...
*** empty log message ***
cagrid-1-0/caGrid/projects/introduce/operationProviders/ServiceSecurity/src/gov/nih/nci/cagrid/introduce/security/service/ServiceSecurityImpl.java
*** empty log message ***
<ide><path>agrid-1-0/caGrid/projects/introduce/operationProviders/ServiceSecurity/src/gov/nih/nci/cagrid/introduce/security/service/ServiceSecurityImpl.java <ide> <ide> import gov.nih.nci.cagrid.common.FaultHelper; <ide> import gov.nih.nci.cagrid.common.Utils; <del>import gov.nih.nci.cagrid.dorian.service.Dorian; <ide...
Java
apache-2.0
26a5f5cb09d08e184f6105f70e3987158384e3b8
0
ahb0327/intellij-community,adedayo/intellij-community,joewalnes/idea-community,salguarnieri/intellij-community,pwoodworth/intellij-community,robovm/robovm-studio,hurricup/intellij-community,MER-GROUP/intellij-community,muntasirsyed/intellij-community,tmpgit/intellij-community,mglukhikh/intellij-community,akosyakov/inte...
/* * Copyright (c) 2000-2004 by JetBrains s.r.o. All Rights Reserved. * Use is subject to license terms. */ package com.intellij.psi; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Pair; import com.intellij.psi.util.InheritanceUtil; import com.intellij.psi.util.PsiUtil; import com.i...
openapi/src/com/intellij/psi/GenericsUtil.java
/* * Copyright (c) 2000-2004 by JetBrains s.r.o. All Rights Reserved. * Use is subject to license terms. */ package com.intellij.psi; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Pair; import com.intellij.psi.util.InheritanceUtil; import com.intellij.psi.util.PsiUtil; import com.i...
(no message)
openapi/src/com/intellij/psi/GenericsUtil.java
(no message)
<ide><path>penapi/src/com/intellij/psi/GenericsUtil.java <ide> return PsiWildcardType.createExtends(manager, getLeastUpperBound(type1, type2, compared, manager)); <ide> } <ide> <del> private static PsiClass[] getLeastUpperClasses(PsiClass aClass, PsiClass bClass) { <add> public static PsiClass[] getLeastUpperC...
JavaScript
agpl-3.0
17fedcd96e9aed52edf5dbd557422e9139f76f1c
0
schul-cloud/schulcloud-server,schul-cloud/schulcloud-server,schul-cloud/schulcloud-server
// Global hooks that run for every service const sanitizeHtml = require('sanitize-html'); const sanitize = (data, options) => { // https://www.npmjs.com/package/sanitize-html if ((options||{}).html === true) { // editor-content data data = sanitizeHtml(data, { allowedTags: [ 'h1', 'h2', 'h3', 'blockquote', 'p...
src/app.hooks.js
// Global hooks that run for every service const sanitizeHtml = require('sanitize-html'); const sanitize = (data, options) => { // https://www.npmjs.com/package/sanitize-html if ((options||{}).html === true) { // editor-content data data = sanitizeHtml(data, { allowedTags: [ 'h1', 'h2', 'h3', 'blockquote', 'p...
ignore specific values entirely
src/app.hooks.js
ignore specific values entirely
<ide><path>rc/app.hooks.js <ide> const sanitizeDeep = (data, path) => { <ide> if (typeof data === "object" && data !== null) { <ide> Object.entries(data).forEach(([key, value]) => { <del> if(typeof value === "string") <add> if(typeof value === "string") { <add> // ignore values completely <add> if (["passw...
Java
apache-2.0
25b6bc7f65e91b8100ea156f49682228f9da3d16
0
Sage-Bionetworks/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,xschildw/Synapse-Repository-Services,zimingd/Synapse-Repository-Services,Sage-Bionetworks/Synapse-Repository-Services,xs...
package org.sagebionetworks.repo.model.dbo.persistence; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_OAUTH_REFRESH_TOKEN_CLAIMS; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_OAUTH_REFRESH_TOKEN_CLIENT_ID; import static org.sagebionetworks.repo.model.query.jdo.SqlCo...
lib/jdomodels/src/main/java/org/sagebionetworks/repo/model/dbo/persistence/DBOOAuthRefreshToken.java
package org.sagebionetworks.repo.model.dbo.persistence; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_OAUTH_CLIENT_NAME; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_OAUTH_REFRESH_TOKEN_CLAIMS; import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_...
Fix column reference on incorrect table
lib/jdomodels/src/main/java/org/sagebionetworks/repo/model/dbo/persistence/DBOOAuthRefreshToken.java
Fix column reference on incorrect table
<ide><path>ib/jdomodels/src/main/java/org/sagebionetworks/repo/model/dbo/persistence/DBOOAuthRefreshToken.java <ide> package org.sagebionetworks.repo.model.dbo.persistence; <ide> <del>import static org.sagebionetworks.repo.model.query.jdo.SqlConstants.COL_OAUTH_CLIENT_NAME; <ide> import static org.sagebionetworks.repo...
JavaScript
mit
e6f1c102dd3eb944078847bc8e21f7497d09f386
0
sivertsenstian/visualclojure
const vscode = require('vscode'); const nreplClient = require('./nrepl/client'); const SESSION_TYPE = require('./nrepl/session_type'); const nreplMsg = require('./nrepl/message'); var state = require('./state'); //initial state var statusbar_connection = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left...
src/extension.js
const vscode = require('vscode'); const nreplClient = require('./nrepl/client'); const SESSION_TYPE = require('./nrepl/session_type'); const nreplMsg = require('./nrepl/message'); var state = require('./state'); //initial state var statusbar_connection = vscode.window.createStatusBarItem(vscode.StatusBarAlignment.Left...
Implemented hoverprovider to show arguments and docstring on hover for both clj and cljs.
src/extension.js
Implemented hoverprovider to show arguments and docstring on hover for both clj and cljs.
<ide><path>rc/extension.js <ide> var outputChannel = vscode.window.createOutputChannel("VisualClojure"); <ide> let diagnosticCollection = vscode.languages.createDiagnosticCollection('VisualClojure: Evaluation errors'); <ide> <add>const CLOJURE_MODE = { language: 'clojure', scheme: 'file'}; <ide> let evaluateFile; <ide...
Java
apache-2.0
cfc8941f41eeb1628e4f4665efb9a887549f845c
0
jsmadja/shmuphiscores,jsmadja/shmuphiscores,jsmadja/shmuphiscores
package controllers; import actions.User; import com.avaje.ebean.Ebean; import com.google.common.base.Predicate; import models.Difficulty; import models.Game; import models.Mode; import models.Platform; import models.Player; import models.Score; import models.Ship; import models.Stage; import play.Logger; import play....
app/controllers/ScoreController.java
package controllers; import actions.User; import com.avaje.ebean.Ebean; import com.google.common.base.Predicate; import models.Difficulty; import models.Game; import models.Mode; import models.Platform; import models.Player; import models.Score; import models.Ship; import models.Stage; import play.Logger; import play....
Fix bug when entering a big score
app/controllers/ScoreController.java
Fix bug when entering a big score
<ide><path>pp/controllers/ScoreController.java <ide> strValue.append(c); <ide> } <ide> } <del> BigDecimal value = new BigDecimal(strValue.toString()); <del> if (value.longValue() < 0) { <del> value = value.multiply(new BigDecimal("-1")); <del> } <del> ...
JavaScript
mit
f875d3a4ede7ac69f4e8043f353bb40c65f0d3b6
0
weacast/weacast,weacast/weacast,weacast/weacast
import _ from 'lodash' import logger from 'winston' // Create all element services export default async function initializeElements (app, forecast, servicesPath) { logger.info('Initializing ' + forecast.name + ' forecast') const forecastsService = app.getService('forecasts') // Register the forecast model if not...
packages/weacast-core/src/elements.js
import _ from 'lodash' import logger from 'winston' // Create all element services export default async function initializeElements (app, forecast, servicesPath) { logger.info('Initializing ' + forecast.name + ' forecast') const forecastsService = app.getService('forecasts') // Register the forecast model if not...
Fixed default clean up interval
packages/weacast-core/src/elements.js
Fixed default clean up interval
<ide><path>ackages/weacast-core/src/elements.js <ide> setTimeout(clean, 10 * 1000) <ide> // Then plan next cleanups according to provided clean interval if required, alternatively with data update <ide> // Provide a default interval if no updates <del> const cleanInterval = (forecast.updateInterval >= 0 ...
Java
mit
8460a8665b6f70c36f708274cb4f82877859567c
0
crispab/codekvast,crispab/codekvast,crispab/codekvast,crispab/codekvast,crispab/codekvast,crispab/codekvast
package se.crisp.codekvast.server.codekvast_server; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.test.IntegrationTest; import org.springframework.boot.test.SpringApplicationConfiguration; impo...
product/server/codekvast-server/src/test/java/se/crisp/codekvast/server/codekvast_server/RegistrationControllerTest.java
package se.crisp.codekvast.server.codekvast_server; import org.junit.Before; import org.junit.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.test.IntegrationTest; import org.springframework.boot.test.SpringApplicationConfiguration; impo...
Improved RegistrationControllerTest.
product/server/codekvast-server/src/test/java/se/crisp/codekvast/server/codekvast_server/RegistrationControllerTest.java
Improved RegistrationControllerTest.
<ide><path>roduct/server/codekvast-server/src/test/java/se/crisp/codekvast/server/codekvast_server/RegistrationControllerTest.java <ide> import se.crisp.codekvast.server.codekvast_server.model.RegistrationResponse; <ide> <ide> import java.net.URI; <add>import java.util.Random; <ide> <ide> import static org.hamcrest.M...
JavaScript
mit
1e8ce0145e6cc6d27dc944804919c23f4ec293e4
0
christianbueschi/teambuddy_meanjs,christianbueschi/teambuddy_meanjs,christianbueschi/teambuddy_meanjs,christianbueschi/teambuddy_meanjs
'use strict'; module.exports = { app: { title: 'Team Buddy', description: 'Organisieren leicht gemacht', keywords: 'Verein, Organisation, Administration, Eventorganisation' }, port: process.env.PORT || 8080, templateEngine: 'swig', // The secret should be set to a non-guessable string that // is used to co...
config/env/all.js
'use strict'; module.exports = { app: { title: 'Team Buddy', description: 'Organisieren leicht gemacht', keywords: 'Verein, Organisation, Administration, Eventorganisation' }, port: process.env.PORT || 3000, templateEngine: 'swig', // The secret should be set to a non-guessable string that // is used to co...
change port
config/env/all.js
change port
<ide><path>onfig/env/all.js <ide> description: 'Organisieren leicht gemacht', <ide> keywords: 'Verein, Organisation, Administration, Eventorganisation' <ide> }, <del> port: process.env.PORT || 3000, <add> port: process.env.PORT || 8080, <ide> templateEngine: 'swig', <ide> // The secret should be set to a non-gue...
Java
mit
b6a9e8ae0cec3e30731dc753dae024950ff2bd2f
0
markovandooren/jlo
package subobjectjava.translate; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Set; import jnome.core.expression.invocation.ConstructorInvocation; import jnome.core.expression.invocation.JavaMethodInvocation; import jnome.core.expression.invocation.NonLocalJavaTypeRefe...
src/subobjectjava/translate/JavaTranslator.java
package subobjectjava.translate; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Set; import jnome.core.expression.invocation.ConstructorInvocation; import jnome.core.expression.invocation.JavaMethodInvocation; import jnome.core.expression.invocation.NonLocalJavaTypeRefe...
added exceptions test
src/subobjectjava/translate/JavaTranslator.java
added exceptions test
<ide><path>rc/subobjectjava/translate/JavaTranslator.java <ide> } <ide> <ide> private void rebindOverriddenMethodsOf(Type result, Type original, Method method) throws LookupException, Error { <del> if(method.name().equals("isValid")) { <add> if(method.name().equals("setFrequency")) { <ide> System.out.println("d...
Java
bsd-3-clause
4207e6f5199471ac1f9c797d645a8c5aadafe04c
0
subgraph/Orchid,mohsenuss91/Orchid
package com.subgraph.orchid.circuits; import java.math.BigInteger; import java.util.logging.Level; import java.util.logging.Logger; import com.subgraph.orchid.Cell; import com.subgraph.orchid.CircuitNode; import com.subgraph.orchid.Connection; import com.subgraph.orchid.ConnectionCache; import com.subgraph.orchid.Con...
src/com/subgraph/orchid/circuits/CircuitBuildTask.java
package com.subgraph.orchid.circuits; import java.math.BigInteger; import java.util.logging.Level; import java.util.logging.Logger; import com.subgraph.orchid.Cell; import com.subgraph.orchid.CircuitNode; import com.subgraph.orchid.Connection; import com.subgraph.orchid.ConnectionCache; import com.subgraph.orchid.Con...
Log a warning if Tor network returns protocol violation error during circuit construction
src/com/subgraph/orchid/circuits/CircuitBuildTask.java
Log a warning if Tor network returns protocol violation error during circuit construction
<ide><path>rc/com/subgraph/orchid/circuits/CircuitBuildTask.java <ide> final String msg = CellImpl.errorToDescription(code); <ide> final String source = nodeToName(cell.getCircuitNode()); <ide> final String extendTarget = nodeToName(newNode); <add> if(code == Cell.ERROR_PROTOCOL) { <add> logProtocolViolat...
Java
apache-2.0
69fab1bf1711099ec6ffd4182b6ecba4d0791375
0
danielferber/git-to-clearcase
package br.com.danielferber.gittocc2.config.git; import java.io.File; import java.util.Properties; import br.com.danielferber.gittocc2.config.ConfigProperties; /** * * @author Daniel Felix Ferber */ public class GitConfigProperties implements GitConfig { private final ConfigProperties properties; private...
GitToClearCase/src/br/com/danielferber/gittocc2/config/git/GitConfigProperties.java
package br.com.danielferber.gittocc2.config.git; import java.io.File; import java.util.Properties; import br.com.danielferber.gittocc2.config.ConfigProperties; /** * * @author Daniel Felix Ferber */ public class GitConfigProperties implements GitConfig { private final ConfigProperties properties; private...
[dev] No prefix for git properties configuration.
GitToClearCase/src/br/com/danielferber/gittocc2/config/git/GitConfigProperties.java
[dev] No prefix for git properties configuration.
<ide><path>itToClearCase/src/br/com/danielferber/gittocc2/config/git/GitConfigProperties.java <ide> <ide> @Override <ide> public Boolean getCleanLocalGitRepository() { <del> return properties.getBoolean(prefix + "git.cleanLocalGitRepository"); <add> return properties.getBoolean(prefix + "cleanLoc...
Java
apache-2.0
007d88c855bd70cf913de6c208fc484c32e5c635
0
Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces,Gigaspaces/xap-openspaces
/******************************************************************************* * * Copyright (c) 2012 GigaSpaces Technologies Ltd. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a...
src/main/java/org/openspaces/grid/gsm/machines/DefaultMachinesSlaEnforcementEndpoint.java
/******************************************************************************* * * Copyright (c) 2012 GigaSpaces Technologies Ltd. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a...
Added more logging for investigating wrong reservationId svn path=/xap/trunk/openspaces/; revision=140082 Former-commit-id: 6def36c1ebff9e58caf698a5f69fbee0b521a0e5
src/main/java/org/openspaces/grid/gsm/machines/DefaultMachinesSlaEnforcementEndpoint.java
Added more logging for investigating wrong reservationId
<ide><path>rc/main/java/org/openspaces/grid/gsm/machines/DefaultMachinesSlaEnforcementEndpoint.java <ide> if (newAgent == null) { <ide> throw new IllegalStateException("Machine provisioning future is done without exception, but returned a null agent"); <ide> } <del> GSAReservationId r...
Java
epl-1.0
8012d2ddad26a49373aca9ce7174c158d11c7d23
0
mondo-project/mondo-demo-wt
/** */ package WTSpec4M.presentation; import java.io.IOException; import java.io.InputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.EventObject; import java.util.HashMap; import java.util.Iterat...
MONDO-Collab/org.mondo.wt.cstudy.metamodel.editor/src/WTSpec4M/presentation/WTSpec4MEditor.java
/** */ package WTSpec4M.presentation; import java.io.IOException; import java.io.InputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Date; import java.util.EventObject; import java.util.HashMap; import java.util.Iterat...
Uses the common date format for logging
MONDO-Collab/org.mondo.wt.cstudy.metamodel.editor/src/WTSpec4M/presentation/WTSpec4MEditor.java
Uses the common date format for logging
<ide><path>ONDO-Collab/org.mondo.wt.cstudy.metamodel.editor/src/WTSpec4M/presentation/WTSpec4MEditor.java <ide> } <ide> editingDomain.getResourceSet().eAdapters().add(problemIndicationAdapter); <ide> <del> final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); <del> <ide> // Submit change...
Java
epl-1.0
0e02f916d4e6b0f4c2921d0af9fa4998e72d30ef
0
kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,ESSICS/org.csstudio.display.builder,kasemir/org.csstudio.display...
/******************************************************************************* * Copyright (c) 2015-2016 Oak Ridge National Laboratory. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
org.csstudio.display.builder.runtime.test/src/org/csstudio/display/builder/runtime/test/PVFactoryTest.java
/******************************************************************************* * Copyright (c) 2015-2016 Oak Ridge National Laboratory. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, ...
PVFactoryTest: loc:// PV now uses the base, w/o initializer, as name
org.csstudio.display.builder.runtime.test/src/org/csstudio/display/builder/runtime/test/PVFactoryTest.java
PVFactoryTest: loc:// PV now uses the base, w/o initializer, as name
<ide><path>rg.csstudio.display.builder.runtime.test/src/org/csstudio/display/builder/runtime/test/PVFactoryTest.java <ide> import static org.junit.Assert.assertThat; <ide> <ide> import java.util.concurrent.CountDownLatch; <add>import java.util.concurrent.atomic.AtomicReference; <ide> <add>import org.csstudio.display....
Java
apache-2.0
78357bd4f67a1546fca6798b6759657a8e84083b
0
apache/tomcat,Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
java/org/apache/catalina/connector/Connector.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Side-effect of fixing https://issues.apache.org/bugzilla/show_bug.cgi?id=47827 No need to declare throws Exception here git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@815261 13f79535-47bb-0310-9956-ffa450edef68
java/org/apache/catalina/connector/Connector.java
Side-effect of fixing https://issues.apache.org/bugzilla/show_bug.cgi?id=47827 No need to declare throws Exception here
<ide><path>ava/org/apache/catalina/connector/Connector.java <ide> this(null); <ide> } <ide> <del> public Connector(String protocol) <del> throws Exception { <add> public Connector(String protocol) { <ide> setProtocol(protocol); <ide> // Instantiate protocol handler <ide> ...
Java
apache-2.0
903b1bb728853700a7ddb3e0ae618ba6bb0ad18e
0
winklerm/drools,manstis/drools,Multi-Support/droolsjbpm-knowledge,manstis/drools,sutaakar/droolsjbpm-knowledge,sotty/droolsjbpm-knowledge,winklerm/drools,bernardator/droolsjbpm-knowledge,bernardator/droolsjbpm-knowledge,winklerm/drools,sutaakar/droolsjbpm-knowledge,manstis/drools,droolsjbpm/droolsjbpm-knowledge,winkler...
/* * Copyright 2013 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
kie-api/src/main/java/org/kie/api/builder/KieScanner.java
/* * Copyright 2013 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
DROOLS-440: adding JMX management mbeans to kie scanner
kie-api/src/main/java/org/kie/api/builder/KieScanner.java
DROOLS-440: adding JMX management mbeans to kie scanner
<ide><path>ie-api/src/main/java/org/kie/api/builder/KieScanner.java <ide> <ide> package org.kie.api.builder; <ide> <del>import org.kie.api.Service; <ide> <ide> /** <ide> * A KieScanner is a scanner of the maven repositories (both local and remote)
Java
lgpl-2.1
1767b8360d341efe893c2360509c268e2f21f708
0
wolfgangmm/exist,adamretter/exist,dizzzz/exist,adamretter/exist,windauer/exist,lcahlander/exist,dizzzz/exist,windauer/exist,adamretter/exist,dizzzz/exist,lcahlander/exist,wolfgangmm/exist,lcahlander/exist,adamretter/exist,dizzzz/exist,windauer/exist,adamretter/exist,wolfgangmm/exist,wolfgangmm/exist,wolfgangmm/exist,wi...
/* * eXist-db Open Source Native XML Database * Copyright (C) 2001 The eXist-db Authors * * info@exist-db.org * http://www.exist-db.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foun...
exist-core/src/main/java/org/exist/storage/BrokerPool.java
/* * eXist-db Open Source Native XML Database * Copyright (C) 2001 The eXist-db Authors * * info@exist-db.org * http://www.exist-db.org * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foun...
[refactor] At least as many parsers as there are brokers
exist-core/src/main/java/org/exist/storage/BrokerPool.java
[refactor] At least as many parsers as there are brokers
<ide><path>xist-core/src/main/java/org/exist/storage/BrokerPool.java <ide> this.processMonitor = servicesManager.register(new ProcessMonitor()); <ide> this.xqueryStats = servicesManager.register(new PerformanceStats(this)); <ide> final XMLReaderObjectFactory xmlReaderObjectFactory = servicesMana...
Java
lgpl-2.1
d8a1646cb0357d3761b2f6869cc7687881ebe8c7
0
nallar/ForgeGradle,matthewprenger/ForgeGradle,kenzierocks/ForgeGradle,PaperMC/PaperGradle
/* * A Gradle plugin for the creation of Minecraft mods and MinecraftForge plugins. * Copyright (C) 2013 Minecraft Forge * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * ...
src/main/java/net/minecraftforge/gradle/common/BasePlugin.java
/* * A Gradle plugin for the creation of Minecraft mods and MinecraftForge plugins. * Copyright (C) 2013 Minecraft Forge * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * ...
fixed NPE when downloading MC jars
src/main/java/net/minecraftforge/gradle/common/BasePlugin.java
fixed NPE when downloading MC jars
<ide><path>rc/main/java/net/minecraftforge/gradle/common/BasePlugin.java <ide> @SuppressWarnings("serial") <ide> private void makeCommonTasks() <ide> { <del> Download dlClient = makeTask(TASK_DL_CLIENT, Download.class); <del> { <del> dlClient.setOutput(delayedFile(JAR_CLIENT_FRESH))...
Java
mpl-2.0
e8bb799d529de5baacb5a81682f611c8c5c4bad2
0
JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core,JurassicWordExcel/core
/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ScShapeObj.java,v $ * * $Revision: 1.4 $ * * last change: $Author: kz $ $Date: 2005-11-02 18:07:34 $ * * The Contents of this file are made available su...
qadevOOo/tests/java/mod/_sc/ScShapeObj.java
/************************************************************************* * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: ScShapeObj.java,v $ * * $Revision: 1.3 $ * * last change: $Author: rt $ $Date: 2005-09-09 02:59:51 $ * * The Contents of this file are made available su...
INTEGRATION: CWS qadev24 (1.2.72); FILE MERGED 2005/09/19 15:14:13 cn 1.2.72.2: RESYNC: (1.2-1.3); FILE MERGED 2005/09/13 07:58:26 cn 1.2.72.1: #i54533# define class variables for documents as 'static'
qadevOOo/tests/java/mod/_sc/ScShapeObj.java
INTEGRATION: CWS qadev24 (1.2.72); FILE MERGED 2005/09/19 15:14:13 cn 1.2.72.2: RESYNC: (1.2-1.3); FILE MERGED 2005/09/13 07:58:26 cn 1.2.72.1: #i54533# define class variables for documents as 'static'
<ide><path>adevOOo/tests/java/mod/_sc/ScShapeObj.java <ide> * <ide> * $RCSfile: ScShapeObj.java,v $ <ide> * <del> * $Revision: 1.3 $ <add> * $Revision: 1.4 $ <ide> * <del> * last change: $Author: rt $ $Date: 2005-09-09 02:59:51 $ <add> * last change: $Author: kz $ $Date: 2005-11-02 18:07:34 $ <ide> * <ide> *...
Java
mit
11bf781e8e204c485f4cef371bfc5da902def6e4
0
peichhorn/tinyaudioplayer
package de.fips.plugin.tinyaudioplayer.audio; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.*; import java.io.File; import java.net.URI; import org.junit.Before; import org.junit.Test; import org.mockito.InOrder; public class PlaylistAudioPlayerTest { private IPlaybackListen...
test/main/de/fips/plugin/tinyaudioplayer/audio/PlaylistAudioPlayerTest.java
package de.fips.plugin.tinyaudioplayer.audio; import static org.mockito.Matchers.eq; import static org.mockito.Mockito.*; import java.io.File; import java.net.URI; import org.junit.Before; import org.junit.Test; import org.mockito.InOrder; public class PlaylistAudioPlayerTest { private IPlaybackListen...
cleanup
test/main/de/fips/plugin/tinyaudioplayer/audio/PlaylistAudioPlayerTest.java
cleanup
<ide><path>est/main/de/fips/plugin/tinyaudioplayer/audio/PlaylistAudioPlayerTest.java <ide> // run <ide> player.stop(); <ide> // assert <del> verify(internalPlayer, never()).removePlaybackListener(any(IPlaybackListener.class)); <del> verify(internalPlayer, never()).stop(); <add> final InOrder inorder = inOrder...
JavaScript
mit
7104664a309e26d47cb9535db8e70583754f9374
0
remko/ampersand-view,AmpersandJS/ampersand-view
var test = require('tape'); var AmpersandModel = require('ampersand-model'); var AmpersandCollection = require('ampersand-rest-collection'); var AmpersandView = require('../ampersand-view'); var contains = function (str1, str2) { return str1.indexOf(str2) !== -1; }; var Model = AmpersandModel.extend({ props: ...
test/main.js
var test = require('tape'); var AmpersandModel = require('ampersand-model'); var AmpersandCollection = require('ampersand-rest-collection'); var AmpersandView = require('../ampersand-view'); var contains = function (str1, str2) { return str1.indexOf(str2) !== -1; }; var Model = AmpersandModel.extend({ props: ...
patch render test descriptor
test/main.js
patch render test descriptor
<ide><path>est/main.js <ide> t.equal(renderCount, 1, '`render` triggered exactly once, post- render()'); <ide> view.remove(); <ide> t.equal(removeCount, 1, '`remove` triggered exactly once, post- remove()'); <del> t.equal(renderCount, 1, '`render` triggered exactly once, post- remove()'); <add> t.equa...
JavaScript
mit
019a535a6963a8b5d3d0640231171d545f31c76c
0
yangshun/builder-news
function MainCtrl ($scope) { var HACKER_NEWS_API = 'https://www.kimonolabs.com/api/2he37zjs'; var DESIGNER_NEWS_API = 'https://www.kimonolabs.com/api/6dts50j0'; var ACCESS_TOKEN = 'lC5em34Ewkmh4mK8CPTGeEDJer15kwus'; $scope.news = []; $scope.displayedNews = []; $scope.currentFilter = 'all'; $scope.selecte...
js/app.js
function MainCtrl ($scope) { var HACKER_NEWS_API = 'https://www.kimonolabs.com/api/2he37zjs'; var DESIGNER_NEWS_API = 'https://www.kimonolabs.com/api/6dts50j0'; var ACCESS_TOKEN = 'lC5em34Ewkmh4mK8CPTGeEDJer15kwus'; $scope.news = []; $scope.displayedNews = []; $scope.currentFilter = 'all'; $scope.selecte...
Don't hardcode the animations
js/app.js
Don't hardcode the animations
<ide><path>s/app.js <ide> all: 'bounceInUp', <ide> hackernews: 'bounceInLeft', <ide> designernews: 'bounceInRight' <del> } <del> $('.builder-news li').removeClass('animated bounceInUp bounceInLeft bounceInRight'); <add> }; <add> $('.builder-news li').removeClass('animated ' + _.values(anim...
Java
apache-2.0
2e7fa47bcb33cdb88b15f026f6fa324b9a5dde4c
0
MICommunity/psi-jami,MICommunity/psi-jami,MICommunity/psi-jami
package psidev.psi.mi.jami.utils; import psidev.psi.mi.jami.model.CvTerm; import psidev.psi.mi.jami.model.Interactor; import psidev.psi.mi.jami.model.impl.DefaultInteractor; /** * Factory for interactors * * @author Marine Dumousseau (marine@ebi.ac.uk) * @version $Id$ * @since <pre>11/02/13</pre> */ public cla...
jami-core/src/main/java/psidev/psi/mi/jami/utils/InteractorUtils.java
package psidev.psi.mi.jami.utils; import psidev.psi.mi.jami.model.Interactor; import psidev.psi.mi.jami.model.impl.DefaultInteractor; /** * Factory for interactors * * @author Marine Dumousseau (marine@ebi.ac.uk) * @version $Id$ * @since <pre>11/02/13</pre> */ public class InteractorUtils { public static ...
Added a utility method in InteractorUtils
jami-core/src/main/java/psidev/psi/mi/jami/utils/InteractorUtils.java
Added a utility method in InteractorUtils
<ide><path>ami-core/src/main/java/psidev/psi/mi/jami/utils/InteractorUtils.java <ide> package psidev.psi.mi.jami.utils; <ide> <add>import psidev.psi.mi.jami.model.CvTerm; <ide> import psidev.psi.mi.jami.model.Interactor; <ide> import psidev.psi.mi.jami.model.impl.DefaultInteractor; <ide> <ide> public static Inter...
JavaScript
apache-2.0
3dac7f6f06e84b792b3ab60ff05eb4b362f021f4
0
vire/reality-plugin,vire/reality-plugin,realreality/reality-plugin,realreality/reality-plugin
import moment from 'moment'; import { GMAPS_API_KEY, MAPS_URL } from '../rr'; import RR from '../rr'; import { ga } from '../utils'; const loadAvailability = function(travelMode, fromAddress, toAddress) { const DEPARTURE_TIME = moment() /* we need this date to be stable at least during a month because of caching...
src/js/components/Availability.js
import moment from 'moment'; import { GMAPS_API_KEY, MAPS_URL } from '../rr'; import RR from '../rr'; import { ga } from '../utils'; const loadAvailability = function(travelMode, fromAddress, toAddress) { const DEPARTURE_TIME = moment() /* we need this date to be stable at least during a month because of caching...
fix #61 nekdy se nezobrazuje dostupnost MHD
src/js/components/Availability.js
fix #61 nekdy se nezobrazuje dostupnost MHD
<ide><path>rc/js/components/Availability.js <ide> const DEPARTURE_TIME = moment() <ide> /* we need this date to be stable at least during a month because of caching, <ide> 1 month in future seems as maximum for transit data */ <del> .startOf('month').add(1, 'weeks').add(2, 'months') <add> .startOf('mon...
Java
bsd-3-clause
error: pathspec 'core/src/main/java/org/hisp/dhis/android/core/imports/TrackerImportConflictStore.java' did not match any file(s) known to git
22ce8b27571256b2b89cba8fdd57ee15112a0be0
1
dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk
/* * Copyright (c) 2004-2019, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
core/src/main/java/org/hisp/dhis/android/core/imports/TrackerImportConflictStore.java
[ANDROSDK-772] Add TrackerImportConflictStore
core/src/main/java/org/hisp/dhis/android/core/imports/TrackerImportConflictStore.java
[ANDROSDK-772] Add TrackerImportConflictStore
<ide><path>ore/src/main/java/org/hisp/dhis/android/core/imports/TrackerImportConflictStore.java <add>/* <add> * Copyright (c) 2004-2019, University of Oslo <add> * All rights reserved. <add> * <add> * Redistribution and use in source and binary forms, with or without <add> * modification, are permitted provided that th...
Java
apache-2.0
92f40eefd744657dd4707c4b0fc56c291f42b732
0
OpenHFT/Chronicle-Wire,OpenHFT/Chronicle-Wire
/* * Copyright 2016 higherfrequencytrading.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
src/main/java/net/openhft/chronicle/wire/VanillaMessageHistory.java
/* * Copyright 2016 higherfrequencytrading.com * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable la...
Add timing when writing bytes as per when writing wire.
src/main/java/net/openhft/chronicle/wire/VanillaMessageHistory.java
Add timing when writing bytes as per when writing wire.
<ide><path>rc/main/java/net/openhft/chronicle/wire/VanillaMessageHistory.java <ide> for (int i = 0; i < sources; i++) <ide> bytes.writeLong(sourceIndexArray[i]); <ide> <del> bytes.writeUnsignedByte(timings); <del> for (int i = 0; i < timings; i++) <add> bytes.writeUnsignedByte(...
Java
apache-2.0
77d24b6a34465a318170dce25506dc3e16b93ad1
0
dianping/cat,dianping/cat,dianping/cat,dianping/cat,dianping/cat,dianping/cat,dianping/cat
/* * Copyright (c) 2011-2018, Meituan Dianping. All Rights Reserved. * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this fil...
cat-consumer/src/test/java/com/dianping/cat/consumer/AllTests.java
/* * Copyright (c) 2011-2018, Meituan Dianping. All Rights Reserved. * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to Y...
remove invalid test case
cat-consumer/src/test/java/com/dianping/cat/consumer/AllTests.java
remove invalid test case
<ide><path>at-consumer/src/test/java/com/dianping/cat/consumer/AllTests.java <ide> import com.dianping.cat.consumer.transaction.TransactionAnalyzerTest; <ide> import com.dianping.cat.consumer.transaction.TransactionReportMergerTest; <ide> import com.dianping.cat.consumer.transaction.TransactionReportTest; <del>import c...
JavaScript
mit
4357bc400296d88a5a466b5f2ee70fb436174ef6
0
moustacheminer/discordmail,moustacheminer/discordmail
console.log('Welcome to Moustacheminer Server Services'); const r = require('./db'); const path = require('path'); const cors = require('cors'); const i18n = require('i18n'); const api = require('./api'); const url = require('./url'); const docs = require('./docs'); const mail = require('./mail'); const lang = require...
server/index.js
console.log('Welcome to Moustacheminer Server Services'); const config = require('config'); const express = require('express'); const bodyParser = require('body-parser'); const cookieParser = require('cookie-parser'); const engines = require('consolidate'); const path = require('path'); const cors = require('cors'); c...
Sort requires in length order
server/index.js
Sort requires in length order
<ide><path>erver/index.js <ide> console.log('Welcome to Moustacheminer Server Services'); <ide> <del>const config = require('config'); <del>const express = require('express'); <del>const bodyParser = require('body-parser'); <del>const cookieParser = require('cookie-parser'); <del>const engines = require('consolidate')...
Java
apache-2.0
1cbb2f78890330dd2c3a6cab354336993dfd2a9c
0
ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp
/******************************************************************************* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this...
applications/order/src/org/ofbiz/order/order/OrderReadHelper.java
/******************************************************************************* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this...
Fixed a bug in the order value - was missing multiplication by orderItem- and returnItem quantity
applications/order/src/org/ofbiz/order/order/OrderReadHelper.java
Fixed a bug in the order value - was missing multiplication by orderItem- and returnItem quantity
<ide><path>pplications/order/src/org/ofbiz/order/order/OrderReadHelper.java <ide> rfmRecency = Math.toIntExact( (System.currentTimeMillis() - lastOrderDate.getTime() )/ (1000 * 60 * 60 * 24)); <ide> } <ide> BigDecimal nv = n.getBigDecimal("orderItemValue")...
JavaScript
apache-2.0
04a47e91108c5b40d48a7cf11c43ac4ef08a2088
0
IMAGINARY/snapshot-slider,IMAGINARY/snapshot-slider,IMAGINARY/snapshot-slider
'use strict'; const { WritableStreamBuffer } = require('stream-buffers'); const hummus = require('hummus'); const printer = require('printer'); const path = require('path'); module.exports = class SnapshotPrinter { static async print(pdfFilename) { await new Promise((resolve, reject) => { con...
src/js/renderer/SnapshotPrinter.js
'use strict'; const { WritableStreamBuffer } = require('stream-buffers'); const hummus = require('hummus'); const printer = require('printer'); module.exports = class SnapshotPrinter { static async print(pdfFilename) { await new Promise((resolve, reject) => { const docName = path.basename(pdf...
Fix missing import in SnapshotPrinter module
src/js/renderer/SnapshotPrinter.js
Fix missing import in SnapshotPrinter module
<ide><path>rc/js/renderer/SnapshotPrinter.js <ide> const { WritableStreamBuffer } = require('stream-buffers'); <ide> const hummus = require('hummus'); <ide> const printer = require('printer'); <add>const path = require('path'); <ide> <ide> module.exports = class SnapshotPrinter { <ide>
Java
apache-2.0
156a956e01813dddffa1852c5076240773f29a38
0
lucastheisen/apache-directory-server,apache/directory-server,drankye/directory-server,lucastheisen/apache-directory-server,darranl/directory-server,darranl/directory-server,drankye/directory-server,apache/directory-server
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
core/src/main/java/org/apache/directory/server/core/schema/PartitionSchemaLoader.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
Now use the new lookup( ServiceContext ) method git-svn-id: 90776817adfbd895fc5cfa90f675377e0a62e745@525884 13f79535-47bb-0310-9956-ffa450edef68
core/src/main/java/org/apache/directory/server/core/schema/PartitionSchemaLoader.java
Now use the new lookup( ServiceContext ) method
<ide><path>ore/src/main/java/org/apache/directory/server/core/schema/PartitionSchemaLoader.java <ide> import javax.naming.directory.SearchResult; <ide> <ide> import org.apache.directory.server.constants.MetaSchemaConstants; <add>import org.apache.directory.server.core.interceptor.context.LookupServiceContext; <ide> im...
Java
apache-2.0
0542f18274a5ebb012bb73644b354cc261c247ae
0
cheetah100/jackrabbit-ocm,Yavin/ocm
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/main/java/org/apache/jackrabbit/ocm/mapper/model/ClassDescriptor.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
Patch applied for JCR-1316 git-svn-id: 93a7552841ba555a21ad5dc8739eae854af6e0ca@616083 13f79535-47bb-0310-9956-ffa450edef68
src/main/java/org/apache/jackrabbit/ocm/mapper/model/ClassDescriptor.java
Patch applied for JCR-1316
<ide><path>rc/main/java/org/apache/jackrabbit/ocm/mapper/model/ClassDescriptor.java <ide> * @return the fieldDescriptor ID <ide> */ <ide> public FieldDescriptor getIdFieldDescriptor() { <del> return idFieldDescriptor; <add> if (null != this.idFieldDescriptor) { <add> return this.id...
Java
apache-2.0
1fdfaa36b67f3573592d4e5d0794ae581f6fd218
0
streamsets/datacollector,SandishKumarHN/datacollector,kunickiaj/datacollector,SandishKumarHN/datacollector,SandishKumarHN/datacollector,streamsets/datacollector,rockmkd/datacollector,rockmkd/datacollector,kunickiaj/datacollector,kunickiaj/datacollector,rockmkd/datacollector,streamsets/datacollector,SandishKumarHN/datac...
/* * Copyright 2017 StreamSets Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
sdc-kafka-api/src/main/java/com/streamsets/pipeline/kafka/api/FactoriesBean.java
/* * Copyright 2017 StreamSets Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed...
SDC-7871: Increase logging of kafka.FactoriesBean Adding additional logging for logging what providers were found, extra helpful when there is more then one. Also removed the MapR specific class from subclasses this one is not subclass of Kafka09 and hence doesn't belong to the list. Change-Id: I736de649321d1a123ddb1...
sdc-kafka-api/src/main/java/com/streamsets/pipeline/kafka/api/FactoriesBean.java
SDC-7871: Increase logging of kafka.FactoriesBean
<ide><path>dc-kafka-api/src/main/java/com/streamsets/pipeline/kafka/api/FactoriesBean.java <ide> <ide> import com.google.common.collect.ImmutableSet; <ide> import com.streamsets.pipeline.api.impl.Utils; <add>import org.slf4j.Logger; <add>import org.slf4j.LoggerFactory; <add> <ide> import java.util.ServiceLoader; <ide>...
Java
apache-2.0
fe2075180635e138e29cc13f7f13ab29afc26dbd
0
matyb/roman-numerals
package com.pillar.conversions.romannumerals; import static org.junit.Assert.assertEquals; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import org.junit.Before; import org.junit.Test; import com.pillar.conversions.romannumerals.RomanNumeralsConverter; public class RomanNumerals...
src/test/java/com/pillar/conversions/romannumerals/RomanNumeralsConverterTest.java
package com.pillar.conversions.romannumerals; import static org.junit.Assert.assertEquals; import java.util.LinkedHashMap; import java.util.Map; import java.util.Map.Entry; import org.junit.Before; import org.junit.Test; import com.pillar.conversions.romannumerals.RomanNumeralsConverter; public class RomanNumerals...
making comment less dramatic
src/test/java/com/pillar/conversions/romannumerals/RomanNumeralsConverterTest.java
making comment less dramatic
<ide><path>rc/test/java/com/pillar/conversions/romannumerals/RomanNumeralsConverterTest.java <ide> cases.put("MCMLXXXIX", 1989); <ide> } <ide> <del> /** <del> * <b>TODO: I KNOW THIS IS GENERALLY A BAD IDEA TO TEST > 1 THING IN ONE <del> * UNIT TEST! but enforcing symmetry between conversions felt more valuable.<...
JavaScript
artistic-2.0
e1cc2886a25ae2e4e6aeeefc3c595dfbe40e7fd2
0
cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp
var SerializationContext = require('./serialization-context.js'); var reprs = require('./reprs.js'); var Hash = require('./hash.js'); var STable = require('./sixmodel.js').STable; var repr = new reprs.KnowHOWREPR(); var core = new SerializationContext('__6MODEL_CORE__'); core.description = 'core SC'; function add_t...
src/vm/js/nqp-runtime/bootstrap.js
var SerializationContext = require('./serialization-context.js'); var reprs = require('./reprs.js'); var Hash = require('./hash.js'); var STable = require('./sixmodel.js').STable; var repr = new reprs.KnowHOWREPR(); var core = new SerializationContext('__6MODEL_CORE__'); core.description = 'core SC'; function add_t...
[js] fix bootstraping bug
src/vm/js/nqp-runtime/bootstrap.js
[js] fix bootstraping bug
<ide><path>rc/vm/js/nqp-runtime/bootstrap.js <ide> core.root_objects.push(obj); <ide> core.root_stables.push(obj._STable); <ide> obj._SC = core; <add> obj._STable._SC = core; <ide> } <ide> <ide> function add_to_sc_with_st_and_mo() {
Java
apache-2.0
23b490c1c25088977925a592736e843d366b1398
0
apache/empire-db,apache/empire-db,apache/empire-db,apache/empire-db
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
empire-db-jsf2/src/main/java/org/apache/empire/jsf2/pages/Page.java
/* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License")...
EMPIREDB-175 rename misleading method name redirectTo() to navigateTo() git-svn-id: b3b0da0efb1e558805af38d819c06f711288435d@1448948 13f79535-47bb-0310-9956-ffa450edef68
empire-db-jsf2/src/main/java/org/apache/empire/jsf2/pages/Page.java
EMPIREDB-175 rename misleading method name redirectTo() to navigateTo()
<ide><path>mpire-db-jsf2/src/main/java/org/apache/empire/jsf2/pages/Page.java <ide> return; <ide> // Oops, not redirected yet? <ide> if (getParentPage()!=null) <del> redirectTo(getParentOutcome(true)); <add> navigateTo(getParentOutcome(true)); <ide...
Java
bsd-3-clause
8d7369f891d6dc429a35b7ae763f73ad5e8670dd
0
muloem/xins,muloem/xins,muloem/xins
/* * $Id$ */ package org.xins.util.collections; import org.xins.util.MandatoryArgumentChecker; import org.xins.util.text.FastStringBuffer; /** * Exception thrown to indicate the property of a value is invalid. This * exception applies to both bootstrapping * ({@link Manageable#bootstrap(PropertyReader)}) and ini...
src/java-common/org/xins/util/collections/InvalidPropertyValueException.java
/* * $Id$ */ package org.xins.util.collections; import org.xins.util.MandatoryArgumentChecker; import org.xins.util.text.FastStringBuffer; /** * Exception thrown to indicate the property of a value is invalid. This * exception applies to both bootstrapping * ({@link Manageable#bootstrap(PropertyReader)}) and ini...
Added support for 'reason' property.
src/java-common/org/xins/util/collections/InvalidPropertyValueException.java
Added support for 'reason' property.
<ide><path>rc/java-common/org/xins/util/collections/InvalidPropertyValueException.java <ide> * @throws IllegalArgumentException <ide> * if <code>propertyName == null || propertyValue == null</code>. <ide> */ <del> private static final String createMessage(String propertyName, String propertyValue) <add...
Java
apache-2.0
1d97ba62ef8a04f40a7dcbe2a869bb5e852f18f6
0
rquast/esindexer,rquast/esindexer,rquast/esindexer
package com.esindexer; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.nio.file.Path; import java.nio.file.WatchEvent; import java.nio.file.WatchKey; import java.nio.file.WatchService; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.u...
src/main/java/com/esindexer/FileWatcher.java
package com.esindexer; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.nio.file.Path; import java.nio.file.WatchEvent; import java.nio.file.WatchKey; import java.nio.file.WatchService; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.u...
Added error checking for json creation.
src/main/java/com/esindexer/FileWatcher.java
Added error checking for json creation.
<ide><path>rc/main/java/com/esindexer/FileWatcher.java <ide> obj.put("title", processedPage.getTitle()); <ide> obj.put("content", processedPage.getContent()); <ide> obj.put("modified", processedPage.getModified()); <del> String json = obj.toJSONString(); <add> String json = null; <add> try { <add> json = obj...
Java
apache-2.0
917730e7a46107918059778c95083ea2d1b677d0
0
ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp,ilscipio/scipio-erp
package com.ilscipio.scipio.solr; import java.io.IOException; import java.net.ConnectException; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.Li...
applications/solr/src/com/ilscipio/scipio/solr/SolrProductSearch.java
package com.ilscipio.scipio.solr; import java.io.IOException; import java.net.ConnectException; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.Iterator; import java.util.Li...
solr: eca: fix error/logging service errors messages may be discarded by the global-commit handler, so must handle them explicit. also, do not log when virtual product is missing, sometimes valid.
applications/solr/src/com/ilscipio/scipio/solr/SolrProductSearch.java
solr: eca: fix error/logging
<ide><path>pplications/solr/src/com/ilscipio/scipio/solr/SolrProductSearch.java <ide> result = ServiceUtil.returnSuccess(); <ide> } <ide> } catch (Exception e) { <del> Debug.logError(e, "Solr: addToSolr: " + e.getMessage(), module); <del> result = ServiceUtil.re...
Java
lgpl-2.1
ea79b8fa0e4f962b364dc387bd040af196166ad4
0
hibernate/hibernate-ogm,ZJaffee/hibernate-ogm,DavideD/hibernate-ogm-cassandra,Sanne/hibernate-ogm,Sanne/hibernate-ogm,mp911de/hibernate-ogm,tempbottle/hibernate-ogm,DavideD/hibernate-ogm,tempbottle/hibernate-ogm,gunnarmorling/hibernate-ogm,schernolyas/hibernate-ogm,DavideD/hibernate-ogm-contrib,gunnarmorling/hibernate-...
/* * Hibernate, Relational Persistence for Idiomatic Java * * JBoss, Home of Professional Open Source * Copyright 2010-2012 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of indivi...
hibernate-ogm-mongodb/src/main/java/org/hibernate/ogm/dialect/mongodb/MongoDBDialect.java
/* * Hibernate, Relational Persistence for Idiomatic Java * * JBoss, Home of Professional Open Source * Copyright 2010-2012 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @authors tag. All rights reserved. * See the copyright.txt in the distribution for a * full listing of indivi...
OGM-174 update the object id preparation (fix typo, and add some comments)
hibernate-ogm-mongodb/src/main/java/org/hibernate/ogm/dialect/mongodb/MongoDBDialect.java
OGM-174 update the object id preparation (fix typo, and add some comments)
<ide><path>ibernate-ogm-mongodb/src/main/java/org/hibernate/ogm/dialect/mongodb/MongoDBDialect.java <ide> <ide> @Override <ide> public Tuple createTuple(EntityKey key) { <del> DBObject toSave = this.preprareIdObject( key ); <add> DBObject toSave = this.prepareIdObject( key ); <ide> return new Tuple( new MongoDBT...
Java
apache-2.0
47c78e7650d9079c17f4a5eb2197083a9d6091c8
0
wyzssw/orientdb,orientechnologies/orientdb,wyzssw/orientdb,wouterv/orientdb,allanmoso/orientdb,intfrr/orientdb,wouterv/orientdb,tempbottle/orientdb,alonsod86/orientdb,mmacfadden/orientdb,joansmith/orientdb,jdillon/orientdb,joansmith/orientdb,allanmoso/orientdb,intfrr/orientdb,cstamas/orientdb,alonsod86/orientdb,tempbot...
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastDistributedMessageService.java
/* * Copyright 2010-2012 Luca Garulli (l.garulli--at--orientechnologies.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
Distributed: improved timeout messages and fixed asynch timeout value
distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastDistributedMessageService.java
Distributed: improved timeout messages and fixed asynch timeout value
<ide><path>istributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastDistributedMessageService.java <ide> <ide> if (firstResponse == null) <ide> throw new ODistributedException("No response received from any of nodes " + currentResponseMgr.getExpectedNodes() <del> + " for requ...
Java
mit
56f33b373d8133e443f6847bbeb3293475f24f6e
0
MightyPirates/OC-LuaJ,MightyPirates/OC-LuaJ
package lua; /** * Constants for lua limits and opcodes * * @author jim_roseborough * */ public class Lua { // from llimits.h /** maximum stack for a Lua function */ public static final int MAXSTACK = 250; /** minimum size for the string table (must be power of 2) */ public static final int MINSTRTABSIZE...
src/main/java/lua/Lua.java
package lua; /** * Constants for lua limits and opcodes * * @author jim_roseborough * */ public class Lua { // from llimits.h /** maximum stack for a Lua function */ public static final int MAXSTACK = 250; /** minimum size for the string table (must be power of 2) */ public static final int MINSTRTABSIZE...
Move LUA_MULTRET def to Lua.java
src/main/java/lua/Lua.java
Move LUA_MULTRET def to Lua.java
<ide><path>rc/main/java/lua/Lua.java <ide> <ide> /** minimum size for string buffer */ <ide> public static final int LUA_MINBUFFER = 32; <add> <add> /** use return values from previous op */ <add> public static final int LUA_MULTRET = -1; <ide> <ide> <ide> // from lopcodes.h <ide> null, <ide> }; <ide> <del...
Java
mit
7f2ab8ac4a47ab22db0a0e9bee6bf81a42faf859
0
nking/curvature-scale-space-corners-and-transformations,nking/curvature-scale-space-corners-and-transformations
package algorithms.imageProcessing; import algorithms.compGeometry.clustering.KMeansPlusPlus; import java.io.IOException; import java.security.NoSuchAlgorithmException; import java.util.HashMap; import java.util.Map; import java.util.logging.Logger; /** * * @author nichole */ public class ImageProcesser { ...
src/algorithms/imageProcessing/ImageProcesser.java
package algorithms.imageProcessing; import algorithms.compGeometry.clustering.KMeansPlusPlus; import java.io.IOException; import java.security.NoSuchAlgorithmException; import java.util.HashMap; import java.util.Map; import java.util.logging.Logger; /** * * @author nichole */ public class ImageProcesser { ...
more towards outline of the sky mask algorithm.
src/algorithms/imageProcessing/ImageProcesser.java
more towards outline of the sky mask algorithm.
<ide><path>rc/algorithms/imageProcessing/ImageProcesser.java <ide> <ide> responsibilities: <ide> <del> the algorithm should determine sky and turn all pixels within the sky <del> to zero in the input image. the input theta image should be the <del> gradient t...
JavaScript
mit
b4d684fb56bc1877ef37bde06d2de142ca333a76
0
sanity-io/sanity,sanity-io/sanity,sanity-io/sanity,sanity-io/sanity
import client from '@sanity/client' import getUserConfig from './getUserConfig' /** * Creates a wrapper/getter function to retrieve a Sanity API client. * Instead of spreading the error checking logic around the project, * we call it here when (and only when) a command needs to use the API */ const defaults = { ...
packages/@sanity/cli/src/util/clientWrapper.js
import client from '@sanity/client' import getUserConfig from './getUserConfig' /** * Creates a wrapper/getter function to retrieve a Sanity API client. * Instead of spreading the error checking logic around the project, * we call it here when (and only when) a command needs to use the API */ const defaults = { ...
Add a more helpful error when the user needs to login to perform an operation
packages/@sanity/cli/src/util/clientWrapper.js
Add a more helpful error when the user needs to login to perform an operation
<ide><path>ackages/@sanity/cli/src/util/clientWrapper.js <ide> const apiConfig = api || (manifest && manifest.api) || userApiConf || {} <ide> <ide> if (requireUser && !token) { <del> throw new Error('You must login first') <add> throw new Error('You must login first - run "sanity login"') <ide> }...
Java
epl-1.0
error: pathspec 'src/main/java/com/kyloth/serleenacloud/persistence/IUserDao.java' did not match any file(s) known to git
b9080fe3adf5bfd4362361ce1f4af12ee5eb82af
1
kyloth/serleena-cloud
/****************************************************************************** * Copyright (c) 2015 Nicola Mometto * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http...
src/main/java/com/kyloth/serleenacloud/persistence/IUserDao.java
PERSISTENCE: Aggiungi IWeatherDao Related to: SHCLOUD-10
src/main/java/com/kyloth/serleenacloud/persistence/IUserDao.java
PERSISTENCE: Aggiungi IWeatherDao
<ide><path>rc/main/java/com/kyloth/serleenacloud/persistence/IUserDao.java <add>/****************************************************************************** <add>* Copyright (c) 2015 Nicola Mometto <add>* All rights reserved. This program and the accompanying materials <add>* are made available under the terms of th...
Java
apache-2.0
2836c0e20a4269913d45ab35bb4ed6865fb63080
0
prmsheriff/log4j,sreekanthpulagam/log4j,sreekanthpulagam/log4j,smathieu/librarian_sample_repo_java,MuShiiii/log4j,prmsheriff/log4j,sreekanthpulagam/log4j,qos-ch/reload4j,qos-ch/reload4j,prmsheriff/log4j,MuShiiii/log4j,MuShiiii/log4j,MuShiiii/log4j,qos-ch/reload4j,sreekanthpulagam/log4j,smathieu/librarian_sample_repo_ja...
/* * Copyright 1999,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
src/java/org/apache/log4j/chainsaw/LogPanel.java
/* * Copyright 1999,2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by ap...
Modified detial pane update implementation to only set doc in swing thread. git-svn-id: a7be136288eb2cd985a15786d66ec039c800a993@310720 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/log4j/chainsaw/LogPanel.java
Modified detial pane update implementation to only set doc in swing thread.
<ide><path>rc/java/org/apache/log4j/chainsaw/LogPanel.java <ide> .append(detailLayout.format(event)).append( <ide> detailLayout.getFooter()); <ide> if (buf.length() > 0) { <del> SwingUtilities.invokeLater(new Runnable() { <del> public void run() { <del> ...
Java
apache-2.0
64622557f36c2934cb09eb57a1b696e8d05d297a
0
linkedin/ambry,pnarayanan/ambry,cgtz/ambry,linkedin/ambry,vgkholla/ambry,pnarayanan/ambry,cgtz/ambry,cgtz/ambry,linkedin/ambry,vgkholla/ambry,cgtz/ambry,linkedin/ambry
/** * Copyright 2016 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
ambry-tools/src/main/java/com.github.ambry/tools/admin/ServerAdminTool.java
/** * Copyright 2016 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
Add a ServerAdminTool to control BlobStore (#889) - Add BlobStoreControl as a new type of Operation in ServerAdminTool. - Add new case and associated methods to send BlobStoreControlRequest.
ambry-tools/src/main/java/com.github.ambry/tools/admin/ServerAdminTool.java
Add a ServerAdminTool to control BlobStore (#889)
<ide><path>mbry-tools/src/main/java/com.github.ambry/tools/admin/ServerAdminTool.java <ide> import com.github.ambry.protocol.AdminRequest; <ide> import com.github.ambry.protocol.AdminRequestOrResponseType; <ide> import com.github.ambry.protocol.AdminResponse; <add>import com.github.ambry.protocol.BlobStoreControlAdminR...
Java
bsd-3-clause
037fc459bfeef6e448033e3b4bbef9259a2b0edb
0
orwell-int/proxy-robots,miludmann/proxy-robots,miludmann/proxy-robots,orwell-int/proxy-robots
package orwell.proxy; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import orwell.proxy.config.*; import java.io.File; import ja...
proxy-robots-module/src/test/java/orwell/proxy/ConfigurationTest.java
package orwell.proxy; import org.junit.Before; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; import org.junit.runner.RunWith; import org.junit.runners.JUnit4; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import orwell.proxy.config.*; import java.io.File; import ja...
Refactor test code
proxy-robots-module/src/test/java/orwell/proxy/ConfigurationTest.java
Refactor test code
<ide><path>roxy-robots-module/src/test/java/orwell/proxy/ConfigurationTest.java <ide> public ExpectedException exception = ExpectedException.none(); <ide> private ConfigCli configCli; <ide> <del> private Configuration buildConfigTest(String fileName, EnumConfigFileType configFileType) { <add> private Con...
Java
apache-2.0
b9321bc6f07385380baf0a28784ba45c88f0a818
0
T-Systems-MMS/perfsig-jenkins,T-Systems-MMS/perfsig-jenkins
/* * Copyright (c) 2008-2015, DYNATRACE LLC * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this li...
dynatrace/src/main/java/de/tsystems/mms/apm/performancesignature/dynatrace/rest/ManagementURLBuilder.java
/* * Copyright (c) 2008-2015, DYNATRACE LLC * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * * Redistributions of source code must retain the above copyright notice, * this li...
don't reuse method parameter
dynatrace/src/main/java/de/tsystems/mms/apm/performancesignature/dynatrace/rest/ManagementURLBuilder.java
don't reuse method parameter
<ide><path>ynatrace/src/main/java/de/tsystems/mms/apm/performancesignature/dynatrace/rest/ManagementURLBuilder.java <ide> } <ide> <ide> public URL startRecordingURL(final String profileName, final String sessionName, final String description, <del> String recordingOption, final ...
Java
apache-2.0
27de594c31474824ab4d53d80e682707064008e5
0
cogfor/mcf-cogfor,apache/manifoldcf,gladyscarrizales/manifoldcf,apache/manifoldcf,gladyscarrizales/manifoldcf,gladyscarrizales/manifoldcf,kishorejangid/manifoldcf,kishorejangid/manifoldcf,cogfor/mcf-cogfor,kishorejangid/manifoldcf,kishorejangid/manifoldcf,gladyscarrizales/manifoldcf,kishorejangid/manifoldcf,cogfor/mcf-...
/* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/CommonsHTTPSender.java
/* * Copyright 2001-2004 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Convert file-backed http access to streaming http access. git-svn-id: c7e708070c8e72aa5fc6533a297892ddf6349eb8@1413111 13f79535-47bb-0310-9956-ffa450edef68
connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/CommonsHTTPSender.java
Convert file-backed http access to streaming http access.
<ide><path>onnectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/CommonsHTTPSender.java <ide> */ <ide> package org.apache.manifoldcf.crawler.connectors.sharepoint; <ide> <add>import org.apache.manifoldcf.core.common.XThreadInputStream; <add> <ide> import org.apache.axis.AxisF...
Java
mit
53fe4b2649cab344f1d3cc68af9aa107d4ccf362
0
oscargus/jabref,oscargus/jabref,tobiasdiez/jabref,JabRef/jabref,Siedlerchr/jabref,sauliusg/jabref,zellerdev/jabref,sauliusg/jabref,tobiasdiez/jabref,sauliusg/jabref,Siedlerchr/jabref,shitikanth/jabref,tobiasdiez/jabref,Siedlerchr/jabref,oscargus/jabref,JabRef/jabref,JabRef/jabref,oscargus/jabref,oscargus/jabref,zellerd...
package org.jabref.gui.groups; import java.util.Comparator; import java.util.List; import java.util.Objects; import java.util.Optional; import java.util.function.Predicate; import java.util.stream.Collectors; import javax.swing.SwingUtilities; import javafx.application.Platform; import javafx.beans.binding.Bindings;...
src/main/java/org/jabref/gui/groups/GroupTreeViewModel.java
package org.jabref.gui.groups; import java.util.Comparator; import java.util.List; import java.util.Objects; import java.util.Optional; import java.util.function.Predicate; import java.util.stream.Collectors; import javax.swing.SwingUtilities; import javafx.application.Platform; import javafx.beans.binding.Bindings;...
Check for explicit group at different location
src/main/java/org/jabref/gui/groups/GroupTreeViewModel.java
Check for explicit group at different location
<ide><path>rc/main/java/org/jabref/gui/groups/GroupTreeViewModel.java <ide> //final UndoableAddOrRemoveGroup undo = new UndoableAddOrRemoveGroup(groupsRoot, node, UndoableAddOrRemoveGroup.REMOVE_NODE_AND_CHILDREN); <ide> //panel.getUndoManager().addEdit(undo); <ide> <del> // only rem...
Java
lgpl-2.1
e78b8576adf4f2a5ca554c155ae3241ed9ca8f35
0
ggiudetti/opencms-core,gallardo/opencms-core,mediaworx/opencms-core,alkacon/opencms-core,sbonoc/opencms-core,serrapos/opencms-core,sbonoc/opencms-core,it-tavis/opencms-core,alkacon/opencms-core,victos/opencms-core,mediaworx/opencms-core,serrapos/opencms-core,ggiudetti/opencms-core,ggiudetti/opencms-core,victos/opencms-...
/* * File : $Source: /alkacon/cvs/opencms/src-modules/org/opencms/ade/publish/Attic/CmsPublishService.java,v $ * Date : $Date: 2010/04/13 13:59:20 $ * Version: $Revision: 1.6 $ * * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (C) 2002 - 2009 Alkacon Software (h...
src-modules/org/opencms/ade/publish/CmsPublishService.java
/* * File : $Source: /alkacon/cvs/opencms/src-modules/org/opencms/ade/publish/Attic/CmsPublishService.java,v $ * Date : $Date: 2010/04/13 09:17:28 $ * Version: $Revision: 1.5 $ * * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (C) 2002 - 2009 Alkacon Software (h...
minor improvements
src-modules/org/opencms/ade/publish/CmsPublishService.java
minor improvements
<ide><path>rc-modules/org/opencms/ade/publish/CmsPublishService.java <ide> /* <ide> * File : $Source: /alkacon/cvs/opencms/src-modules/org/opencms/ade/publish/Attic/CmsPublishService.java,v $ <del> * Date : $Date: 2010/04/13 09:17:28 $ <del> * Version: $Revision: 1.5 $ <add> * Date : $Date: 2010/04/13 13:59:20 $...
Java
agpl-3.0
11d933ad8ae4c5cd3f0f1bb6860200f857d10f3a
0
ubicity-devs/ubicity-rss
package at.ac.ait.ubicity.rss.impl; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.List; import org.apache.log4j.Logger; import org.jdom2.Element; import at.ac.ait.ubicity.contracts.rss.RssDTO; import com.rometools.rome.feed.synd.SyndCategory; import com.rom...
src/main/java/at/ac/ait/ubicity/rss/impl/RssParser.java
package at.ac.ait.ubicity.rss.impl; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.util.Date; import java.util.List; import org.apache.log4j.Logger; import org.jdom2.Element; import at.ac.ait.ubicity.contracts.rss.RssDTO; import com.rometools.rome.feed.synd.SyndC...
fixed newEntry method
src/main/java/at/ac/ait/ubicity/rss/impl/RssParser.java
fixed newEntry method
<ide><path>rc/main/java/at/ac/ait/ubicity/rss/impl/RssParser.java <ide> import java.net.MalformedURLException; <ide> import java.net.URL; <ide> import java.util.ArrayList; <del>import java.util.Date; <ide> import java.util.List; <ide> <ide> import org.apache.log4j.Logger; <ide> SyndFeed feed = input.build(new Xml...
JavaScript
mit
4436bb95d016b21de68cdebeccc117cb2ed99443
0
4commerce-technologies-AG/meteor,AnthonyAstige/meteor,mjmasn/meteor,Hansoft/meteor,4commerce-technologies-AG/meteor,Hansoft/meteor,AnthonyAstige/meteor,nuvipannu/meteor,jdivy/meteor,AnthonyAstige/meteor,Hansoft/meteor,nuvipannu/meteor,nuvipannu/meteor,lorensr/meteor,AnthonyAstige/meteor,mjmasn/meteor,lorensr/meteor,lor...
var callbackQueue = []; var isLoadingCompleted = false; var isReady = false; // Keeps track of how many events to wait for in addition to loading completing, // before we're considered ready. var readyHoldsCount = 0; var holdReady = function () { readyHoldsCount++; } var releaseReadyHold = function () { readyHo...
packages/meteor/startup_client.js
var callbackQueue = []; var isLoadingCompleted = false; var isReady = false; // Keeps track of how many events to wait for in addition to loading completing, // before we're considered ready. var readyHoldsCount = 0; var holdReady = function () { readyHoldsCount++; } var releaseReadyHold = function () { readyHo...
Consider startup successful after all callbacks have completed
packages/meteor/startup_client.js
Consider startup successful after all callbacks have completed
<ide><path>ackages/meteor/startup_client.js <ide> // Run startup callbacks <ide> while (callbackQueue.length) <ide> (callbackQueue.shift())(); <add> <add> if (Meteor.isCordova) { <add> // Notify the WebAppCordova plugin startup was completed successfully, so we can <add> // roll back faulty versions if t...
Java
apache-2.0
7dd2316d4a659a8395609197f53ab33030b869f7
0
cuba-platform/cuba,cuba-platform/cuba,cuba-platform/cuba
package com.haulmont.cuba.gui.components; import com.haulmont.chile.core.model.MetaClass; import com.haulmont.cuba.core.app.LockService; import com.haulmont.cuba.core.entity.Entity; import com.haulmont.cuba.core.global.*; import com.haulmont.cuba.gui.ComponentsHelper; import com.haulmont.cuba.gui.components.actions.Cr...
modules/gui/src/com/haulmont/cuba/gui/components/EntityCombinedScreen.java
package com.haulmont.cuba.gui.components; import com.haulmont.chile.core.model.MetaClass; import com.haulmont.cuba.core.app.LockService; import com.haulmont.cuba.core.entity.Entity; import com.haulmont.cuba.core.global.*; import com.haulmont.cuba.gui.ComponentsHelper; import com.haulmont.cuba.gui.components.actions.Cr...
Add an ability to check required fields in more than one FieldGroup in the entity combined screen #1249
modules/gui/src/com/haulmont/cuba/gui/components/EntityCombinedScreen.java
Add an ability to check required fields in more than one FieldGroup in the entity combined screen #1249
<ide><path>odules/gui/src/com/haulmont/cuba/gui/components/EntityCombinedScreen.java <ide> } <ide> <ide> /** <del> * Method that is invoked by clicking Ok button after editing an existing or creating a new record. <del> */ <del> @SuppressWarnings("unchecked") <del> public void save() { <del> ...
Java
apache-2.0
e733d2372df0d7de0124337dac80f415f171faa4
0
ef-labs/vertigo,englishtown/vertigo,ef-labs/vertigo,englishtown/vertigo,kuujo/vertigo,kuujo/vertigo,kuujo/vertigo
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
src/main/java/net/kuujo/vertigo/auditor/BasicAuditor.java
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
Support disabling timeouts in network auditors.
src/main/java/net/kuujo/vertigo/auditor/BasicAuditor.java
Support disabling timeouts in network auditors.
<ide><path>rc/main/java/net/kuujo/vertigo/auditor/BasicAuditor.java <ide> private Vertx vertx; <ide> private AuditorVerticle acker; <ide> private long timeout = 30000; <del> private long cleanupInterval = 500; <add> private long cleanupInterval = 100; <ide> private long timeoutTimer; <ide> private final Map...
Java
mit
a45deb9ca1d4cb011ecd037d5d57dfd99cdd7a14
0
cs2103aug2014-w13-2j/main,cs2103aug2014-w13-2j/main
package edu.dynamic.dynamiz.UI; import java.util.ArrayList; import java.util.Calendar; import java.util.Formatter; import java.awt.color.*; import edu.dynamic.dynamiz.structure.Date; import edu.dynamic.dynamiz.structure.EventItem; import edu.dynamic.dynamiz.structure.Feedback; import edu.dynamic.dynamiz.structure.Tas...
src/edu/dynamic/dynamiz/UI/Display.java
package edu.dynamic.dynamiz.UI; import java.util.ArrayList; import java.util.Calendar; import java.util.Formatter; import java.awt.color.*; import edu.dynamic.dynamiz.structure.Date; import edu.dynamic.dynamiz.structure.EventItem; import edu.dynamic.dynamiz.structure.Feedback; import edu.dynamic.dynamiz.structure.Tas...
FeedBack display
src/edu/dynamic/dynamiz/UI/Display.java
FeedBack display
<ide><path>rc/edu/dynamic/dynamiz/UI/Display.java <ide> return tag; <ide> } <ide> <del> @Override <ide> public String displayPrompt(String promptMessage) { <ide> return promptMessage; <ide> } <ide> <ide> <del> @Override <ide> public String displayFeedBack(Feedback commandFeedBack) { <del> String s = new St...
Java
mit
ca98c67e1c8cca53ec33bb80a04bc206abdaddc0
0
nilsschmidt1337/ldparteditor,nilsschmidt1337/ldparteditor
/* MIT - License Copyright (c) 2012 - this year, Nils Schmidt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modif...
src/org/nschmidt/ldparteditor/data/VM27YTruder.java
/* MIT - License Copyright (c) 2012 - this year, Nils Schmidt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modif...
Fixed issue #915.
src/org/nschmidt/ldparteditor/data/VM27YTruder.java
Fixed issue #915.
<ide><path>rc/org/nschmidt/ldparteditor/data/VM27YTruder.java <ide> private static final double EPSILON = 0.000001; <ide> private static final double SMALL = 0.01; <ide> private double[] nullv = new double[] { 0.0, 0.0, 0.0 }; <add> private static final int X_AXIS = 0; <add> private static final int Y...
JavaScript
mit
56bce7a816701f4d72cfdd8d3b90a141601c6336
0
StraboSpot/strabo-mobile,StraboSpot/strabo-mobile
Math.radians = function(deg) { return deg * (Math.PI / 180); }; angular.module('app') .controller("MapCtrl", function( $scope, $rootScope, $cordovaGeolocation, $location, $filter, $ionicHistory, $ionicModal, $ionicPopup, $ionicActionSheet, $ionicSideMenuDelegate, NewSpot...
www/js/controllers/map.js
Math.radians = function(deg) { return deg * (Math.PI / 180); }; angular.module('app') .controller("MapCtrl", function( $scope, $rootScope, $cordovaGeolocation, $location, $filter, $ionicHistory, $ionicModal, $ionicPopup, $ionicActionSheet, NewSpot, MapView, OfflineTi...
disabled content dragging back to ionic side menu
www/js/controllers/map.js
disabled content dragging back to ionic side menu
<ide><path>ww/js/controllers/map.js <ide> $ionicModal, <ide> $ionicPopup, <ide> $ionicActionSheet, <add> $ionicSideMenuDelegate, <ide> NewSpot, <ide> MapView, <ide> OfflineTilesFactory, <ide> ViewExtentFactory, <ide> ImagesFactory, <ide> MapLayerFactory) { <add> <add> // disabl...
Java
apache-2.0
85fea1268c388ccde71379efa0abdfe90870b7d4
0
xiaomeixw/DanmakuFlameMaster,zzuli4519/DanmakuFlameMaster,zzhopen/DanmakuFlameMaster,mowangdk/DanmakuFlameMaster,xabad/DanmakuFlameMaster,Bilibili/DanmakuFlameMaster,Jaeandroid/DanmakuFlameMaster,java02014/DanmakuFlameMaster,vfs1234/DanmakuFlameMaster,kmfish/DanmakuFlameMaster,PC-ai/DanmakuFlameMaster,tsdl2013/DanmakuF...
/* * Copyright (C) 2013 Chen Hui <calmer91@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
DanmakuFlameMaster/src/main/java/master/flame/danmaku/danmaku/model/android/AndroidDisplayer.java
/* * Copyright (C) 2013 Chen Hui <calmer91@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required...
remove log
DanmakuFlameMaster/src/main/java/master/flame/danmaku/danmaku/model/android/AndroidDisplayer.java
remove log
<ide><path>anmakuFlameMaster/src/main/java/master/flame/danmaku/danmaku/model/android/AndroidDisplayer.java <ide> import android.graphics.Paint.Style; <ide> import android.graphics.Typeface; <ide> import android.text.TextPaint; <del>import android.util.Log; <ide> <ide> import master.flame.danmaku.danmaku.model.AlphaVa...
Java
bsd-3-clause
17f874b63ae9a70e44b65ebf92e30af09b6ef175
0
zygm0nt/jcabi-github,cezarykluczynski/jcabi-github,pecko/jcabi-github,cvrebert/typed-github,shelan/jcabi-github,YamStranger/jcabi-github,prondzyn/jcabi-github
/** * Copyright (c) 2013-2014, jcabi.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: 1) Redistributions of source code must retain the above * copyright notice, this list of condition...
src/main/java/com/jcabi/github/mock/MkUser.java
/** * Copyright (c) 2013-2014, jcabi.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: 1) Redistributions of source code must retain the above * copyright notice, this list of condition...
Implement MkUser.organizations()
src/main/java/com/jcabi/github/mock/MkUser.java
Implement MkUser.organizations()
<ide><path>rc/main/java/com/jcabi/github/mock/MkUser.java <ide> @Override <ide> @NotNull(message = "orgs is never NULL") <ide> public Organizations organizations() { <del> return null; <add> try { <add> return new MkOrganizations(storage, self); <add> } catch (final IOExcepti...
JavaScript
apache-2.0
2de4d7adf1806d8126a151a3b1931d53d7ea6010
0
tensorflow/tensorboard,ioeric/tensorboard,qiuminxu/tensorboard,shakedel/tensorboard,agrubb/tensorboard,qiuminxu/tensorboard,francoisluus/tensorboard-supervise,agrubb/tensorboard,ioeric/tensorboard,ioeric/tensorboard,qiuminxu/tensorboard,qiuminxu/tensorboard,ioeric/tensorboard,tensorflow/tensorboard,francoisluus/tensorb...
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
gulp_tasks/compile.js
/* Copyright 2015 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
Remove the plottable typings todo as it is currently a good solution Change: 130777731
gulp_tasks/compile.js
Remove the plottable typings todo as it is currently a good solution Change: 130777731
<ide><path>ulp_tasks/compile.js <ide> 'components/tf-*/**/*.ts', <ide> 'components/vz-*/**/*.ts', <ide> 'typings/**/*.ts', <del> // TODO(danmane): add plottable to the typings registry after updating it <del> // and remove this. <ide> 'components/plottable/plottable.d.ts' <ide> ]); <ide>
JavaScript
mit
047b576f0f7e4d9645f5d65ad245d18275583de5
0
bubbleboy14/cantools,bubbleboy14/cantools,bubbleboy14/cantools,bubbleboy14/cantools
/* This class is used to generate a slider, which is a segmented, directionally-constrained draggable DOM element. The CT.slider.Slider constructor takes an options object, 'opts', which may define any of several properties. These individual properties, as well as the 'opts' object itself, are all optional. ### Defin...
cantools/CT/slider.js
/* This class is used to generate a slider, which is a segmented, directionally-constrained draggable DOM element. The CT.slider.Slider constructor takes an options object, 'opts', which may define any of several properties. These individual properties, as well as the 'opts' object itself, are all optional. ### Defin...
CT.slider.Frame.track(), pause(): hide() playmod (especially for Frame hide)
cantools/CT/slider.js
CT.slider.Frame.track(), pause(): hide() playmod (especially for Frame hide)
<ide><path>antools/CT/slider.js <ide> }, true, true), pause = function() { <ide> audio.playing = false; <ide> audio.pause(); <add> playmod.hide(); <ide> }, resume = function() { <ide> audio.playing = true; <ide> audio.play().catch(playmod.show);