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
apache-2.0
314274a6b55980f67511bb8159095cbd60fb5e47
0
consulo/consulo,amith01994/intellij-community,nicolargo/intellij-community,idea4bsd/idea4bsd,salguarnieri/intellij-community,xfournet/intellij-community,salguarnieri/intellij-community,suncycheng/intellij-community,MichaelNedzelsky/intellij-community,ernestp/consulo,robovm/robovm-studio,FHannes/intellij-community,caot/...
/* * Copyright 2000-2012 JetBrains s.r.o. * * 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 agre...
platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java
/* * Copyright 2000-2012 JetBrains s.r.o. * * 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 agre...
do not use showAndGet() for modal dialogs
platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java
do not use showAndGet() for modal dialogs
<ide><path>latform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java <ide> showAndGetOk(); <ide> } <ide> <add> public boolean showAndGet() { <add> show(); <add> return isOK(); <add> } <add> <add> /** <add> * You need this method ONLY for NON-MODAL dialogs. Otherwise, use {@link #show()} or {...
Java
apache-2.0
88ba04e909de442c4ed04a9ace8accf3ac2e839f
0
fengjx/ttwx,fengjx/ttwx,fengjx/ttwx,fengjx/ttwx
package com.fengjx.ttwx.common.plugin.db; import com.fengjx.ttwx.common.utils.CommonUtils; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.BatchPreparedStatementSett...
src/main/java/com/fengjx/ttwx/common/plugin/db/Model.java
package com.fengjx.ttwx.common.plugin.db; import com.fengjx.ttwx.common.utils.CommonUtils; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang3.StringUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.jdbc.core.BatchPreparedStatementSett...
删除方法insertOrUpdate
src/main/java/com/fengjx/ttwx/common/plugin/db/Model.java
删除方法insertOrUpdate
<ide><path>rc/main/java/com/fengjx/ttwx/common/plugin/db/Model.java <ide> } <ide> int result = jdbcTemplate.update(sql.toString(), paras.toArray()); <ide> return result >= 1; <del> } <del> <del> /** <del> * 新增或者更新 <del> * <del> * @param cls <del> * @param attrs <del> * ...
Java
apache-2.0
f95518a379d670dea5d86a74761be2b1d0c45996
0
tapglue/android_sdk,tapglue/android_sdk
package com.tapglue.sdk; import android.app.Application; import android.test.ApplicationTestCase; import com.tapglue.sdk.entities.Connection; import com.tapglue.sdk.entities.ConnectionList; import com.tapglue.sdk.entities.Friend; import com.tapglue.sdk.entities.User; import com.tapglue.sdk.http.payloads.SocialConnect...
sdk/src/androidTest/java/com/tapglue/sdk/ConnectionIntegrationTest.java
package com.tapglue.sdk; import android.app.Application; import android.test.ApplicationTestCase; import com.tapglue.sdk.entities.Connection; import com.tapglue.sdk.entities.ConnectionList; import com.tapglue.sdk.entities.Friend; import com.tapglue.sdk.entities.User; import com.tapglue.sdk.http.payloads.SocialConnect...
Fix retrieveUser acceptance test
sdk/src/androidTest/java/com/tapglue/sdk/ConnectionIntegrationTest.java
Fix retrieveUser acceptance test
<ide><path>dk/src/androidTest/java/com/tapglue/sdk/ConnectionIntegrationTest.java <ide> } <ide> <ide> public void testRetrieveUser() throws IOException { <del> User user = new User("retrieveUserTest", PASSWORD); <del> User createdUser = tapglue.createUser(user); <del> tapglue.loginWithUser...
JavaScript
mit
ec641a78986886e8d2f99e3f640017db1dd43797
0
jimbolla/react-redux,gnoff/react-redux,rackt/react-redux,gaearon/react-redux,reactjs/react-redux
// encapsulates the subscription logic for connecting a component to the redux store, as // well as nesting subscriptions of descendant components, so that we can ensure the // ancestor components re-render before descendants function initListeners() { let current = [] let next = [] return { clear() { ...
src/utils/Subscription.js
// encapsulates the subscription logic for connecting a component to the redux store, as // well as nesting subscriptions of descendant components, so that we can ensure the // ancestor components re-render before descendants function initListeners() { let count = 0 let current = [] let next = [] return { ...
refactors out count variable in Subscription.js
src/utils/Subscription.js
refactors out count variable in Subscription.js
<ide><path>rc/utils/Subscription.js <ide> // ancestor components re-render before descendants <ide> <ide> function initListeners() { <del> let count = 0 <ide> let current = [] <ide> let next = [] <ide> <ide> return { <ide> clear() { <del> count = 0 <ide> next = null <ide> current = null <i...
Java
mit
0bc580b66699bc53104b93f9a30c30d2463ce70a
0
seece/yotris
package yotris.util; import java.util.ArrayList; public class ScoreDAO { private String filepath; private ArrayList<ScoreEntry> scorelist; public ScoreDAO() { this("data/scores.dat"); } public ScoreDAO(String filepath) { this.filepath = filepath; this.scorelist = new ArrayList<>(); } public Array...
yotris/src/yotris/util/ScoreDAO.java
package yotris.util; import java.util.ArrayList; public class ScoreDAO { private String filepath; private ArrayList<ScoreEntry> scorelist; public ScoreDAO() { this("data/scores.dat"); } public ScoreDAO(String filepath) { this.filepath = filepath; this.scorelist = new ArrayList<>(); } public Array...
add mockup saving
yotris/src/yotris/util/ScoreDAO.java
add mockup saving
<ide><path>otris/src/yotris/util/ScoreDAO.java <ide> return scorelist; <ide> } <ide> <add> public boolean saveScorelist() { <add> return true; <add> } <add> <add> <ide> <ide> }
Java
mit
8301a11f6bb77fc4f961877270249b30a65faf86
0
mickleness/pumpernickel,mickleness/pumpernickel,mickleness/pumpernickel
/** * This software is released as part of the Pumpernickel project. * * All com.pump resources in the Pumpernickel project are distributed under the * MIT License: * https://raw.githubusercontent.com/mickleness/pumpernickel/master/License.txt * * More information about the Pumpernickel project is available he...
pump-location/src/main/java/com/pump/io/location/FileLocation.java
/** * This software is released as part of the Pumpernickel project. * * All com.pump resources in the Pumpernickel project are distributed under the * MIT License: * https://raw.githubusercontent.com/mickleness/pumpernickel/master/License.txt * * More information about the Pumpernickel project is available he...
Fixing getIcon(..) method so it correctly consults FileIcon
pump-location/src/main/java/com/pump/io/location/FileLocation.java
Fixing getIcon(..) method so it correctly consults FileIcon
<ide><path>ump-location/src/main/java/com/pump/io/location/FileLocation.java <ide> <ide> import com.pump.icon.FileIcon; <ide> import com.pump.io.IOUtils; <add>import com.pump.swing.BasicCancellable; <ide> import com.pump.swing.Cancellable; <ide> import com.pump.util.Receiver; <ide> <del>/** An <code>IOLocation</code>...
Java
apache-2.0
f5493dcbeae061129e0ab9145f9133ac08aa4809
0
maichler/izpack,rsharipov/izpack,Helpstone/izpack,tomas-forsman/izpack,yukron/izpack,izpack/izpack,maichler/izpack,Murdock01/izpack,tomas-forsman/izpack,yukron/izpack,optotronic/izpack,maichler/izpack,izpack/izpack,stenix71/izpack,kanayo/izpack,mtjandra/izpack,akuhtz/izpack,kanayo/izpack,Murdock01/izpack,codehaus/izpac...
/* * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved. * * http://izpack.org/ * http://izpack.codehaus.org/ * * Copyright 2001 Johannes Lehtinen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
src/lib/com/izforge/izpack/util/VariableSubstitutor.java
/* * IzPack - Copyright 2001-2008 Julien Ponge, All Rights Reserved. * * http://izpack.org/ * http://izpack.codehaus.org/ * * Copyright 2001 Johannes Lehtinen * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obt...
Removed UTF-8 BOM (Byte Order Mark) (IZPACK-212). Relates to IZPACK-166 too. git-svn-id: 408af81b9e4f0a5eaad229a6d9eed76d614c4af6@2470 7d736ef5-cfd4-0310-9c9a-b52d5c14b761
src/lib/com/izforge/izpack/util/VariableSubstitutor.java
Removed UTF-8 BOM (Byte Order Mark) (IZPACK-212). Relates to IZPACK-166 too.
<ide><path>rc/lib/com/izforge/izpack/util/VariableSubstitutor.java <ide> // Copy data and substitute variables <ide> int c = reader.read(); <ide> <del> // Ignore BOM of UTF-8 <del> if (c == 0xEF) <del> { <del> for (int i = 0; i < 2; i++) <del> { <del> ...
Java
apache-2.0
44a7c4d000376a1223eaee197c2cac18fcbab2c1
0
andsel/moquette,windbender/moquette,windbender/moquette,andsel/moquette,windbender/moquette,windbender/moquette,andsel/moquette,andsel/moquette
/* * Copyright (c) 2012-2017 The original author or authors * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distributi...
broker/src/main/java/io/moquette/server/netty/metrics/MQTTMessageLogger.java
/* * Copyright (c) 2012-2017 The original author or authors * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distributi...
broker/MQTTMessageLogger: missing messages added
broker/src/main/java/io/moquette/server/netty/metrics/MQTTMessageLogger.java
broker/MQTTMessageLogger: missing messages added
<ide><path>roker/src/main/java/io/moquette/server/netty/metrics/MQTTMessageLogger.java <ide> case PUBACK: <ide> LOG.info("{} PUBACK <{}> packetID <{}>", direction, clientID, messageId(msg)); <ide> break; <add> <add> case CONNACK: <add> case SUBACK: <add>...
Java
mit
be926df2ec5ff81693251629748ed38655075393
0
abdul-khalid/LazyList,chathudan/LazyList,xiaojiu01/LazyList,pretizy/LazyList,jiachenning/LazyList,vaibhav712/imagelist,thest1/LazyList
package com.fedorvlasov.lazylist; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.ListView; public class MainActivity extends Activity { ListView list; LazyAdapter adapter; ...
src/com/fedorvlasov/lazylist/MainActivity.java
package com.fedorvlasov.lazylist; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.ListView; public class MainActivity extends Activity { ListView list; LazyAdapter adapter; ...
Sample images urls fixes
src/com/fedorvlasov/lazylist/MainActivity.java
Sample images urls fixes
<ide><path>rc/com/fedorvlasov/lazylist/MainActivity.java <ide> }; <ide> <ide> private String[] mStrings={ <del> "http://a3.twimg.com/profile_images/670625317/aam-logo-v3-twitter.png", <del> "http://a3.twimg.com/profile_images/740897825/AndroidCast-350_normal.png", <del> "ht...
Java
apache-2.0
779d7088b16ef2f4d05b5a94ebe511967a875ef5
0
strongbox/strongbox-authentication-example
src/main/java/org/carlspring/strongbox/authentication/impl/example/EmptyAuthentication.java
package org.carlspring.strongbox.authentication.impl.example; import java.util.Collection; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; /** * @author Przemyslaw Fusik */ public class EmptyAuthentication implements Authentication { ...
SB-625 unneccesary file removal
src/main/java/org/carlspring/strongbox/authentication/impl/example/EmptyAuthentication.java
SB-625 unneccesary file removal
<ide><path>rc/main/java/org/carlspring/strongbox/authentication/impl/example/EmptyAuthentication.java <del>package org.carlspring.strongbox.authentication.impl.example; <del> <del>import java.util.Collection; <del> <del>import org.springframework.security.core.Authentication; <del>import org.springframework.security.co...
JavaScript
agpl-3.0
6ffeef1fda804ad7d7dd91d2ef43615d5bf18f7f
0
wearespindle/flindt,wearespindle/flindt,wearespindle/flindt
import propTypes from 'prop-types'; import React, { Component } from 'react'; import Time from 'react-time'; import { reduxForm, Field } from 'redux-form'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import Notifications from 'react-notification-system-redux'; import history from '...
frontend/src/pages/GiveRoleFeedback.js
import propTypes from 'prop-types'; import React, { Component } from 'react'; import Time from 'react-time'; import { reduxForm, Field } from 'redux-form'; import { Link } from 'react-router-dom'; import { connect } from 'react-redux'; import Notifications from 'react-notification-system-redux'; import history from '...
Fix name of requested feedback recipient
frontend/src/pages/GiveRoleFeedback.js
Fix name of requested feedback recipient
<ide><path>rontend/src/pages/GiveRoleFeedback.js <ide> /> <ide> </td> <ide> {requested && ( <del> <td>Feedback requested by {sender.first_name}</td> <add> <td>Feedback requested by {person.first_name}</td> <ide> ...
Java
mit
95134261bb237824e33732620c07433e92f40bd4
0
bcvsolutions/CzechIdMng,bcvsolutions/CzechIdMng,bcvsolutions/CzechIdMng,bcvsolutions/CzechIdMng
package eu.bcvsolutions.idm.acc.entity; import java.util.UUID; import javax.persistence.Column; import javax.persistence.ConstraintMode; import javax.persistence.Embedded; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.ForeignKey; impo...
Realization/backend/acc/src/main/java/eu/bcvsolutions/idm/acc/entity/SysProvisioningOperation.java
package eu.bcvsolutions.idm.acc.entity; import java.util.UUID; import javax.persistence.Column; import javax.persistence.ConstraintMode; import javax.persistence.Embedded; import javax.persistence.Entity; import javax.persistence.EnumType; import javax.persistence.Enumerated; import javax.persistence.ForeignKey; impo...
#1619 fix: do not apply feches in findIds method
Realization/backend/acc/src/main/java/eu/bcvsolutions/idm/acc/entity/SysProvisioningOperation.java
#1619 fix: do not apply feches in findIds method
<ide><path>ealization/backend/acc/src/main/java/eu/bcvsolutions/idm/acc/entity/SysProvisioningOperation.java <ide> @Embedded <ide> private OperationResult result; <ide> <del> @ManyToOne(optional = false) <add> @ManyToOne <ide> @JoinColumn(name = "provisioning_batch_id", referencedColumnName = "id", foreignKey = @Fo...
JavaScript
mit
9f2207eb1f3c1fb7a31ae816d74ec610887eb6aa
0
thinkxl/bower,bower/bower,rlugojr/bower
var os = require('os'); var path = require('path'); var paths = require('./paths'); // Guess proxy defined in the env /*jshint camelcase: false*/ var proxy = process.env.HTTP_PROXY || process.env.http_proxy || null; var httpsProxy = process.env.HTTPS_PROXY || process.env.https_proxy || proxy; /*jshint...
packages/bower-config/lib/util/defaults.js
var os = require('os'); var path = require('path'); var paths = require('./paths'); // Guess proxy defined in the env /*jshint camelcase: false*/ var proxy = process.env.HTTP_PROXY || process.env.http_proxy || null; var httpsProxy = process.env.HTTPS_PROXY || process.env.https_proxy || proxy; /*jshint...
Change git folder to empty (was not being used anyway).
packages/bower-config/lib/util/defaults.js
Change git folder to empty (was not being used anyway).
<ide><path>ackages/bower-config/lib/util/defaults.js <ide> links: path.join(paths.data, 'links'), <ide> completion: path.join(paths.data, 'completion'), <ide> registry: path.join(paths.cache, 'registry'), <del> git: path.join(paths.data, 'git') <add> empty: path.join(paths.data, 'e...
JavaScript
apache-2.0
ae6b4db799f7d2513a8850d25ede5c6fbe6e029b
0
opencb/jsorolla,opencb/jsorolla,opencb/jsorolla,opencb/jsorolla,opencb/jsorolla
const OPENCGA_VARIANT_BROWSER_SETTINGS = { menu: { // merge criterium: internal sections and filters are used to hydrates the external filters list for each section (which is a list of string). Sections and filter order is respected. sections: [ { title: "Study and Cohort...
src/sites/iva/conf/opencga-variant-browser.settings.js
const OPENCGA_VARIANT_BROWSER_SETTINGS = { menu: { // merge criterium: internal sections and filters are used to hydrates the external filters list for each section (which is a list of string). Sections and filter order is respected. sections: [ { title: "Study and Cohort...
HiddenDetails reminder added in opencga-variant-browser.settings.js
src/sites/iva/conf/opencga-variant-browser.settings.js
HiddenDetails reminder added in opencga-variant-browser.settings.js
<ide><path>rc/sites/iva/conf/opencga-variant-browser.settings.js <ide> // hiddenColumns: ["id", "gene", "type"] <ide> }, <ide> // merge criterium: uses this array as filter for internal 1D array. <add> // It is supported either details[] or hiddenDetails[]. <ide> details: ["annotationSummary", "a...
Java
apache-2.0
3476a722f94bebb4252ccf42d5ec1cc6d0db8c6e
0
smadha/tika,icirellik/tika,smadha/tika,zamattiac/tika,smadha/tika,zamattiac/tika,smadha/tika,smadha/tika,icirellik/tika,zamattiac/tika,icirellik/tika,icirellik/tika,smadha/tika,icirellik/tika,icirellik/tika,zamattiac/tika,zamattiac/tika,zamattiac/tika,smadha/tika,zamattiac/tika,smadha/tika,zamattiac/tika,icirellik/tika...
/* * 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 ...
tika-core/src/test/java/org/apache/tika/language/TestLanguageIdentifier.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 ...
TIKA-209: Language detection is weak. Comment out a debug print. git-svn-id: fa8893aa956664a85c8d981696777ef1db2d462a@829668 13f79535-47bb-0310-9956-ffa450edef68
tika-core/src/test/java/org/apache/tika/language/TestLanguageIdentifier.java
TIKA-209: Language detection is weak.
<ide><path>ika-core/src/test/java/org/apache/tika/language/TestLanguageIdentifier.java <ide> int c = 0; <ide> <ide> for (NGramEntry nge : entries) { <del> System.out.println(nge); <add> // System.out.println(nge); <ide> assertEquals(counts[c], nge.getCount()); <ide> ...
Java
mit
c3a6424bfa76e3fc0622ff37bec761b4cff39705
0
Strikingwolf/OpenModLoader
package xyz.openmodloader; import org.apache.commons.lang3.SystemUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import xyz.openmodloader.event.EventBus; import xyz.openmodloader.launcher.OMLStrippableTransformer; import xyz.openmodloader.launcher.strippable.Environment; imp...
src/main/java/xyz/openmodloader/OpenModLoader.java
package xyz.openmodloader; import org.apache.commons.lang3.SystemUtils; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import xyz.openmodloader.event.EventBus; import xyz.openmodloader.launcher.OMLStrippableTransformer; import xyz.openmodloader.launcher.strippable.Environment; imp...
Fix MC version
src/main/java/xyz/openmodloader/OpenModLoader.java
Fix MC version
<ide><path>rc/main/java/xyz/openmodloader/OpenModLoader.java <ide> public enum OpenModLoader { <ide> INSTANCE; <ide> <del> private Version mcversion = new Version("1.10.0"); <add> private Version mcversion = new Version("1.10.2"); <ide> private Version version = new Version("0.0.1-develop"); <ide> pr...
Java
mit
590b3a32db4c2e3197ee2203e2a511eecfb94717
0
FAU-Inf2/kwikshop-server,FAU-Inf2/kwikshop-server,FAU-Inf2/kwikshop-server,FAU-Inf2/kwikshop-server
package de.fau.cs.mad.kwikshop.server.sorting; import org.junit.*; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Random; import java.util.Set; import de.fau.cs.mad.kwikshop.common.Item; import de.fau.cs.mad.kwik...
server/src/test/java/de/fau/cs/mad/kwikshop/server/sorting/ItemGraphTest.java
package de.fau.cs.mad.kwikshop.server.sorting; import org.junit.*; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Random; import java.util.Set; import de.fau.cs.mad.kwikshop.common.Item; import de.fau.cs.mad.kwik...
split the creation of the data for a cycle-free item graph with six vertices and the creation of the item graph into two separate methods
server/src/test/java/de/fau/cs/mad/kwikshop/server/sorting/ItemGraphTest.java
split the creation of the data for a cycle-free item graph with six vertices and the creation of the item graph into two separate methods
<ide><path>erver/src/test/java/de/fau/cs/mad/kwikshop/server/sorting/ItemGraphTest.java <ide> } <ide> <ide> private ItemGraph createCyclicFreeDataWithSixVertices() { <add> ItemGraph itemGraph = createNewItemGraphWithSupermarket(ONE); <add> addCycleFreeDataWithSixVerticesToItemGraph(itemGraph); <a...
Java
apache-2.0
959a885c1a78644b3cf887534482c974f54c48dc
0
genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015,genericsystem/genericsystem2015
package org.genericsystem.cv.application; import org.genericsystem.cv.AbstractApp; import org.genericsystem.cv.Img; import org.genericsystem.cv.utils.NativeLibraryLoader; import org.opencv.core.Core; import org.opencv.core.Core.MinMaxLocResult; import org.opencv.core.CvType; import org.opencv.core.Mat; import org.open...
gs-cv/src/main/java/org/genericsystem/cv/application/RobustTextDetectorDemo.java
package org.genericsystem.cv.application; import java.util.ArrayList; import java.util.Arrays; import java.util.Iterator; import java.util.List; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.TimeUnit; import org.genericsystem.cv.AbstractApp; import org.genericsystem.cv.Img; import ...
Change meta parameters
gs-cv/src/main/java/org/genericsystem/cv/application/RobustTextDetectorDemo.java
Change meta parameters
<ide><path>s-cv/src/main/java/org/genericsystem/cv/application/RobustTextDetectorDemo.java <ide> package org.genericsystem.cv.application; <del> <del>import java.util.ArrayList; <del>import java.util.Arrays; <del>import java.util.Iterator; <del>import java.util.List; <del>import java.util.concurrent.ScheduledExecutorSe...
Java
apache-2.0
5c9d0a40a6aaff43a818c63baf677d751c64823b
0
togglz/togglz,togglz/togglz,togglz/togglz
package org.togglz.console.handlers.edit; import java.io.IOException; import java.util.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.togglz.console.RequestEvent; import org.togglz.console.RequestHandlerBase; import org.togglz.servlet.spi.CSRFToken; import ...
console/src/main/java/org/togglz/console/handlers/edit/EditPageHandler.java
package org.togglz.console.handlers.edit; import java.io.IOException; import java.util.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.togglz.console.RequestEvent; import org.togglz.console.RequestHandlerBase; import org.togglz.servlet.spi.CSRFToken; import ...
Exchanging Forbidden to Bad Request (#319) this makes it easier to distinguish errors caused by wrong request against authentification issues.
console/src/main/java/org/togglz/console/handlers/edit/EditPageHandler.java
Exchanging Forbidden to Bad Request (#319)
<ide><path>onsole/src/main/java/org/togglz/console/handlers/edit/EditPageHandler.java <ide> } <ide> } <ide> if (feature == null) { <del> response.sendError(403); <add> response.sendError(400); <ide> return; <ide> } <ide>
Java
agpl-3.0
076df97183eb4f3cbeb66d879997816aa5f13fd5
0
xJon/Jons-Useless-Mod
src/main/java/xjon/jum/client/render/item/ItemRendererUselessChest.java
package xjon.jum.client.render.item; import org.lwjgl.opengl.GL11; import xjon.jum.tileentity.TileEntityUselessChest; import net.minecraft.client.model.ModelChest; import net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher; import net.minecraft.item.ItemStack; import net.minecraft.util.ResourceLocat...
More of the same
src/main/java/xjon/jum/client/render/item/ItemRendererUselessChest.java
More of the same
<ide><path>rc/main/java/xjon/jum/client/render/item/ItemRendererUselessChest.java <del>package xjon.jum.client.render.item; <del> <del>import org.lwjgl.opengl.GL11; <del> <del>import xjon.jum.tileentity.TileEntityUselessChest; <del>import net.minecraft.client.model.ModelChest; <del>import net.minecraft.client.renderer....
JavaScript
mpl-2.0
58d55cbd57595e67e214fd20aad92dd78a3cc933
0
HatfieldConsultants/Hatfield.EnviroData.MVC,HatfieldConsultants/Hatfield.EnviroData.MVC,HatfieldConsultants/Hatfield.EnviroData.MVC,gvassas/Hatfield.EnviroData.MVC,gvassas/Hatfield.EnviroData.MVC
var LocalFileImportModel = function () { var self = this; self.ImportResults = ko.observableArray(); self.submitImportRequest = function () { //self.ImportResults(); var formData = new FormData(); // Main magic with files here var files = $('input[type=file]'); ...
Source/Hatfield.EnviroData.MVC/Scripts/Knockout/LocalFileImport.js
var LocalFileImportModel = function () { var self = this; self.ImportResults = ko.observableArray(); self.submitImportRequest = function () { self.ImportResults(null); var formData = new FormData(); // Main magic with files here var files = $('input[type=file]'); ...
fix binding fail for the local file system js fix binding fail for the local file system js
Source/Hatfield.EnviroData.MVC/Scripts/Knockout/LocalFileImport.js
fix binding fail for the local file system js
<ide><path>ource/Hatfield.EnviroData.MVC/Scripts/Knockout/LocalFileImport.js <ide> self.ImportResults = ko.observableArray(); <ide> <ide> self.submitImportRequest = function () { <del> self.ImportResults(null); <add> //self.ImportResults(); <ide> <ide> var formData = new FormData(); <ide...
JavaScript
mit
b279f78e6c8a3fbd478414c8cda69b3bec726c5c
0
Xeio/tswcalc,Xeio/tswcalc,joakibj/tswcalc,joakibj/tswcalc
var tswcalc = tswcalc || {}; tswcalc.data = tswcalc.data || {}; tswcalc.data.custom_gear_data = { 'weapon': { '10.0': { weapon_power: 398 }, '10.1': { weapon_power: 411 }, '10.2': { weapon_power: 423 }, '10.3': { ...
src/javascript/data/tswcalc-data-gear.js
var tswcalc = tswcalc || {}; tswcalc.data = tswcalc.data || {}; tswcalc.data.custom_gear_data = { 'weapon': { '10.0': { weapon_power: 398 }, '10.1': { weapon_power: 411 }, '10.2': { weapon_power: 423 }, '10.3': { ...
10.6 and 10.7 gear values
src/javascript/data/tswcalc-data-gear.js
10.6 and 10.7 gear values
<ide><path>rc/javascript/data/tswcalc-data-gear.js <ide> weapon_power: 457 <ide> }, <ide> '10.6': { <del> weapon_power: 99999 <add> weapon_power: 464 <ide> }, <ide> '10.7': { <del> weapon_power: 99999 <add> weapon_power: 475 <ide> ...
Java
apache-2.0
a626640ecf75ea0dcb2558a7a4510089ab19f1ec
0
dschadow/Java-Web-Security,dschadow/Java-Web-Security
/* * Copyright (C) 2013 Dominik Schadow, dominikschadow@gmail.com * * This file is part of Java-Web-Security . * * 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....
Ch07_CSP/src/main/java/de/dominikschadow/webappsecurity/CSPReporting.java
/* * Copyright (C) 2013 Dominik Schadow, dominikschadow@gmail.com * * This file is part of Java-Web-Security . * * 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....
Refactoring
Ch07_CSP/src/main/java/de/dominikschadow/webappsecurity/CSPReporting.java
Refactoring
<ide><path>h07_CSP/src/main/java/de/dominikschadow/webappsecurity/CSPReporting.java <ide> System.out.println("CSP-Reporting-Servlet"); <ide> <ide> try { <del> BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(request.getInputStream())); <del> StringBuilder r...
Java
apache-2.0
86d08b2e2b7b9b48f57210f8528f4847634a8501
0
strapdata/elassandra,vroyer/elassandra,strapdata/elassandra,strapdata/elassandra,strapdata/elassandra,strapdata/elassandra,vroyer/elassandra,vroyer/elassandra
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
server/src/main/java/org/elasticsearch/common/logging/DeprecationLogger.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
Add some deprecation optimizations (#37597) This commit optimizes some of the performance issues from using deprecation logging: - we optimize encoding the deprecation value - we optimize formatting the deprecation string - we optimize away getting the current time (by using cached startup time)
server/src/main/java/org/elasticsearch/common/logging/DeprecationLogger.java
Add some deprecation optimizations (#37597)
<ide><path>erver/src/main/java/org/elasticsearch/common/logging/DeprecationLogger.java <ide> * arbitrary token; here we use the Elasticsearch version and build hash. The warn text must be quoted. The warn-date is an optional <ide> * quoted field that can be in a variety of specified date formats; here we use ...
Java
mit
5675f1d85e1ad74dabb3b3ae0b8eae14cbefc3d3
0
drtnf/resistanceAI
package cits3001_2016s2; import java.util.*; import java.io.*; /** * A Class to represent a single game of resistance * @author Tim French * */ public class Game{ private Map<Character,Agent> players; private Set<Character> spies; private String playerString = ""; private String spyString = ""; private ...
src/cits3001_2016s2/Game.java
package cits3001_2016s2; import java.util.*; import java.io.*; /** * A Class to represent a single game of resistance * @author Tim French * */ public class Game{ private Map<Character,Agent> players; private Set<Character> spies; private String playerString = ""; private String spyString = ""; private ...
fixed comile issue in game
src/cits3001_2016s2/Game.java
fixed comile issue in game
<ide><path>rc/cits3001_2016s2/Game.java <ide> * @param logFile path to the log file <ide> * */ <ide> public Game(String fName){ <del> logFile = new File(fName, true); <add> logFile = new File(fName); <ide> logging = true; <ide> init(); <ide> } <ide> private void log(String msg){ <ide> if(l...
Java
agpl-3.0
7d5a7a1dfd2c68a5e558ff3d4911adb134f33b2f
0
jwillia/kc-old1,ColostateResearchServices/kc,ColostateResearchServices/kc,jwillia/kc-old1,geothomasp/kcmit,ColostateResearchServices/kc,kuali/kc,jwillia/kc-old1,iu-uits-es/kc,mukadder/kc,kuali/kc,UniversityOfHawaiiORS/kc,iu-uits-es/kc,geothomasp/kcmit,kuali/kc,UniversityOfHawaiiORS/kc,jwillia/kc-old1,mukadder/kc,geotho...
/* * Copyright 2006-2008 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless re...
src/test/java/org/kuali/kra/meeting/MeetingRuleTest.java
/* * Copyright 2006-2008 The Kuali Foundation * * Licensed under the Educational Community 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.opensource.org/licenses/ecl1.php * * Unless re...
kcirb-565: fix file name
src/test/java/org/kuali/kra/meeting/MeetingRuleTest.java
kcirb-565: fix file name
<ide><path>rc/test/java/org/kuali/kra/meeting/MeetingRuleTest.java <ide> import org.kuali.rice.test.data.UnitTestFile; <ide> <ide> @PerSuiteUnitTestData(@UnitTestData(sqlFiles = { <del> @UnitTestFile(filename = "classpath:sql/dml/load_protocol_CONTINGENCY.sql", delimiter = ";") <add> @UnitTestFile(filena...
Java
apache-2.0
5d398815869e4ee4491bcd91d00697705a62c457
0
caturday/plus,caturday/plus,plus-provenance/plus,plus-provenance/plus,plus-provenance/plus,caturday/plus,caturday/plus,plus-provenance/plus
/* Copyright 2014 MITRE Corporation * * 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...
src/main/java/org/mitre/provenance/user/PrivilegeClass.java
/* Copyright 2014 MITRE Corporation * * 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...
minor toString() changes
src/main/java/org/mitre/provenance/user/PrivilegeClass.java
minor toString() changes
<ide><path>rc/main/java/org/mitre/provenance/user/PrivilegeClass.java <ide> } // End equals <ide> <ide> public String toString() { <del> return new String("[[" + getName() + "]]"); <add> return new String("(Privilege " + getName() + ")"); <ide> } <ide> <ide> /**
Java
apache-2.0
71cb0eb52f36403ebe61732fe66c9fed753f0aee
0
caskdata/cdap,anthcp/cdap,caskdata/cdap,hsaputra/cdap,chtyim/cdap,mpouttuclarke/cdap,mpouttuclarke/cdap,chtyim/cdap,hsaputra/cdap,mpouttuclarke/cdap,hsaputra/cdap,chtyim/cdap,hsaputra/cdap,anthcp/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap,anthcp/cdap,anthcp/cdap,chtyim/cdap,mpouttuclarke/cdap,anthcp/cdap,chtyim/cda...
package com.continuuity.gateway.handlers; import com.continuuity.api.Application; import com.continuuity.api.ApplicationSpecification; import com.continuuity.api.annotation.Handle; import com.continuuity.api.procedure.AbstractProcedure; import com.continuuity.api.procedure.ProcedureRequest; import com.continuuity.api....
gateway/src/test/java/com/continuuity/gateway/handlers/ProcedureHandlerTest.java
package com.continuuity.gateway.handlers; import com.continuuity.api.Application; import com.continuuity.api.ApplicationSpecification; import com.continuuity.api.annotation.Handle; import com.continuuity.api.procedure.AbstractProcedure; import com.continuuity.api.procedure.ProcedureRequest; import com.continuuity.api....
Enhanced procedure service not found test
gateway/src/test/java/com/continuuity/gateway/handlers/ProcedureHandlerTest.java
Enhanced procedure service not found test
<ide><path>ateway/src/test/java/com/continuuity/gateway/handlers/ProcedureHandlerTest.java <ide> public void testRealProcedureCall() throws Exception { <ide> Map<String, String> content = ImmutableMap.of("key1", "val1", "key3", "val3"); <ide> <del> //TODO: 404 won't be returned until Router refactoring <del> ...
Java
mit
2d5613b19ec238543bc6c118c787440aab45d787
0
kiruthikasp/PushPlugin,kiruthikasp/PushPlugin,kiruthikasp/PushPlugin,kiruthikasp/PushPlugin,kiruthikasp/PushPlugin
package com.adobe.phonegap.push; import android.app.NotificationManager; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import java.io.File; import android.util.Log; import android.widget.Toast; import android.content.Context; import android.content.Intent; import a...
src/android/com/adobe/phonegap/push/PushPlugin.java
package com.adobe.phonegap.push; import android.app.NotificationManager; import android.content.Context; import android.content.SharedPreferences; import android.os.Bundle; import android.util.Log; import android.widget.Toast; import android.content.Context; import android.content.Intent; import android.media.Ringtone...
Update PushPlugin.java
src/android/com/adobe/phonegap/push/PushPlugin.java
Update PushPlugin.java
<ide><path>rc/android/com/adobe/phonegap/push/PushPlugin.java <ide> import android.content.Context; <ide> import android.content.SharedPreferences; <ide> import android.os.Bundle; <add>import java.io.File; <ide> import android.util.Log; <ide> import android.widget.Toast; <ide> import android.content.Context; <ide> ...
JavaScript
mit
82354c920972c057ce4e1a71418376036e34fba8
0
frigus02/RESTer
import db from './data/utils/db.js'; import * as authorizationProviderConfigurations from './data/authorization-provider-configurations.js'; import * as authorizationTokens from './data/authorization-tokens.js'; import * as environments from './data/environments.js'; import * as history from './data/history.js'; import...
src/background/index.js
import db from './data/utils/db.js'; import * as authorizationProviderConfigurations from './data/authorization-provider-configurations.js'; import * as authorizationTokens from './data/authorization-tokens.js'; import * as environments from './data/environments.js'; import * as history from './data/history.js'; import...
Support Chrome for opening RESTer in current tab
src/background/index.js
Support Chrome for opening RESTer in current tab
<ide><path>rc/background/index.js <ide> const resterUrl = chrome.extension.getURL('site/index.html'); <ide> const blankUrls = ['about:blank', 'about:newtab']; <ide> if (blankUrls.includes(tabs[0].url)) { <del> chrome.tabs.update({ <del> loadReplace: true, <del> ...
Java
apache-2.0
199e1aa4f58a2cc56bf9d63f4daec8cfb1865d83
0
arothian/artifactory-plugin,DimaNevelev/jenkins-artifactory-plugin,JFrogDev/jenkins-artifactory-plugin,christ66/jenkins-artifactory-plugin,recena/artifactory-plugin,arothian/artifactory-plugin,nilleb/artifactory-plugin,AlexeiVainshtein/jenkins-artifactory-plugin,recena/artifactory-plugin,stephenliang/artifactory-plugin...
/* * Copyright (C) 2010 JFrog 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
src/main/java/org/jfrog/hudson/ivy/ArtifactoryIvyConfigurator.java
/* * Copyright (C) 2010 JFrog 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
use propety for build URL
src/main/java/org/jfrog/hudson/ivy/ArtifactoryIvyConfigurator.java
use propety for build URL
<ide><path>rc/main/java/org/jfrog/hudson/ivy/ArtifactoryIvyConfigurator.java <ide> env.put(ClientProperties.PROP_PUBLISH_REPOKEY, getRepositoryKey()); <ide> env.put(ClientProperties.PROP_PUBLISH_USERNAME, getUsername()); <ide> env.put(ClientProperties.PROP_PUBLISH_PASSWOR...
Java
bsd-3-clause
55ceb6dd2201bb7a2b477cad391a9dd515b41b86
0
pepyakin/threetenbp,naixx/threetenbp,jnehlmeier/threetenbp,ThreeTen/threetenbp,pepyakin/threetenbp,naixx/threetenbp,ThreeTen/threetenbp,jnehlmeier/threetenbp
/* * Copyright (c) 2007-2012, Stephen Colebourne & Michael Nascimento Santos * * 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 c...
src/main/java/javax/time/Duration.java
/* * Copyright (c) 2007-2012, Stephen Colebourne & Michael Nascimento Santos * * 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 c...
Javadoc
src/main/java/javax/time/Duration.java
Javadoc
<ide><path>rc/main/java/javax/time/Duration.java <ide> * <p> <ide> * This instance is immutable and unaffected by this method call. <ide> * <del> * @return a {@code Duration} based on this period with the amount negated, not null <add> * @return a {@code Duration} based on this duration with the ...
Java
mit
0477970b00ff062ce9dc46b9880086981d7920cb
0
ripxfrostbite/karren-sama
package org.frostbite.karren; import org.frostbite.karren.listencast.Song; import org.slf4j.Logger; import java.sql.*; import java.util.ArrayList; import java.util.Date; public class MySQLInterface { private String sqlhost; private String sqluser; private String sqldb; private String sqlpass; pri...
src/org/frostbite/karren/MySQLInterface.java
package org.frostbite.karren; import org.frostbite.karren.listencast.Song; import org.slf4j.Logger; import java.sql.*; import java.util.ArrayList; import java.util.Date; public class MySQLInterface { private String sqlhost; private String sqluser; private String sqldb; private String sqlpass; pri...
Forgot how date worked and made it so every song had the same start time.
src/org/frostbite/karren/MySQLInterface.java
Forgot how date worked and made it so every song had the same start time.
<ide><path>rc/org/frostbite/karren/MySQLInterface.java <ide> private String overrideDB; <ide> private Logger log; <ide> private boolean rwEnabled; <del> private Date date = new Date(); <ide> private ArrayList<String> sqlPayload = new ArrayList<>(); <ide> /* <ide> CONSTRUCTORS <ide> ...
Java
apache-2.0
011d23111240068b7c6a08ee896ed51a3efa3c57
0
tailanx/test,tailanx/test
package com.yidejia.app.mall.fragment; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent...
src/com/yidejia/app/mall/fragment/ExchangeAdapter.java
package com.yidejia.app.mall.fragment; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.LinkedList; import java.util.List; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent...
修改积分不够时,界面的选择情况
src/com/yidejia/app/mall/fragment/ExchangeAdapter.java
修改积分不够时,界面的选择情况
<ide><path>rc/com/yidejia/app/mall/fragment/ExchangeAdapter.java <ide> import android.content.IntentFilter; <ide> import android.graphics.Bitmap; <ide> import android.os.Handler; <add>import android.os.Looper; <ide> import android.os.Message; <ide> import android.util.Log; <ide> import android.view.LayoutInflater; <ide...
Java
agpl-3.0
4f8845b5a2fcb64b5b14abc7ab9f93bc63c1ee60
0
AlienQueen/HatchetHarry,AlienQueen/HatchetHarry,AlienQueen/HatchetHarry
package org.alienlabs.hatchetharry.view.component.card; import java.io.IOException; import java.util.HashMap; import org.alienlabs.hatchetharry.model.MagicCard; import org.alienlabs.hatchetharry.view.page.HomePage; import org.apache.wicket.Component; import org.apache.wicket.behavior.Behavior; import org.apache.wicke...
src/main/java/org/alienlabs/hatchetharry/view/component/card/CardInBattlefieldContextMenu.java
package org.alienlabs.hatchetharry.view.component.card; import java.io.IOException; import java.util.HashMap; import org.alienlabs.hatchetharry.model.MagicCard; import org.alienlabs.hatchetharry.view.page.HomePage; import org.apache.wicket.Component; import org.apache.wicket.behavior.Behavior; import org.apache.wicke...
FindBugs
src/main/java/org/alienlabs/hatchetharry/view/component/card/CardInBattlefieldContextMenu.java
FindBugs
<ide><path>rc/main/java/org/alienlabs/hatchetharry/view/component/card/CardInBattlefieldContextMenu.java <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> <del>@edu.umd.cs.findbugs.annotations.SuppressFBWarnings(value = { "SE_INNER_CLASS", " SIC_INNER_SHOULD_BE_STATIC_ANON"}, justification = "...
JavaScript
lgpl-2.1
290c71bb7294380340415f6f61086c86745319bf
0
FernCreek/tinymce,tinymce/tinymce,tinymce/tinymce,tinymce/tinymce,TeamupCom/tinymce,FernCreek/tinymce,FernCreek/tinymce,TeamupCom/tinymce
/*eslint-env node */ let zipUtils = require('./tools/modules/zip-helper'); let gruntUtils = require('./tools/modules/grunt-utils'); let gruntWebPack = require('./tools/modules/grunt-webpack'); let swag = require('@ephox/swag'); let path = require('path'); let plugins = [ 'advlist', 'anchor', 'autolink', 'autoresize...
Gruntfile.js
/*eslint-env node */ let zipUtils = require('./tools/modules/zip-helper'); let gruntUtils = require('./tools/modules/grunt-utils'); let gruntWebPack = require('./tools/modules/grunt-webpack'); let swag = require('@ephox/swag'); let path = require('path'); let plugins = [ 'advlist', 'anchor', 'autolink', 'autoresize...
TINY-3095: Make the default grunt command do a clean first, before doing a prod build
Gruntfile.js
TINY-3095: Make the default grunt command do a clean first, before doing a prod build
<ide><path>runtfile.js <ide> <ide> grunt.registerTask('start', ['webpack-dev-server']); <ide> <del> grunt.registerTask('default', ['prod']); <add> grunt.registerTask('default', ['clean', 'prod']); <ide> grunt.registerTask('test', ['bedrock-auto:phantomjs']); <ide> };
Java
apache-2.0
43fb7ed16f551bfa78a0b7214faf66f60f439639
0
Cosium/AxonFramework,phaas/AxonFramework,bojanv55/AxonFramework,soulrebel/AxonFramework,fpape/AxonFramework,AxonFramework/AxonFramework,adinath/AxonFramework,BrentDouglas/AxonFramework,christiaandejong/AxonFramework,oiavorskyi/AxonFramework,krosenvold/AxonFramework
/* * Copyright (c) 2010-2011. Axon Framework * * 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 applic...
core/src/main/java/org/axonframework/eventstore/jpa/JpaEventStore.java
/* * Copyright (c) 2010-2011. Axon Framework * * 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 applic...
Update issue #191 Fix in 1.2 development branch Visit events now uses the same optimization mechanism
core/src/main/java/org/axonframework/eventstore/jpa/JpaEventStore.java
Update issue #191 Fix in 1.2 development branch Visit events now uses the same optimization mechanism
<ide><path>ore/src/main/java/org/axonframework/eventstore/jpa/JpaEventStore.java <ide> @Override <ide> public void visitEvents(EventVisitor visitor) { <ide> int first = 0; <del> List<DomainEventEntry> batch; <add> List<byte[]> batch; <ide> boolean shouldContinue = true; <ide> ...
Java
apache-2.0
9070bd634d5ef298b89181c566086d97a428bd89
0
atlasapi/atlas-deer,atlasapi/atlas-deer
package org.atlasapi.content.v2.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** This combines the two volatile update time fields with the rest of the fields * from {@link org.atlasapi.entity.Identified} to make the full interface. Most things want to use * this, unless they need the update...
atlas-cassandra/src/main/java/org/atlasapi/content/v2/model/Identified.java
package org.atlasapi.content.v2.model; /** This combines the two volatile update time fields with the rest of the fields * from {@link org.atlasapi.entity.Identified} to make the full interface. Most things want to use * this, unless they need the update times split off for reasons of key stability. */ public inter...
ignore unknown properties for cassandra deserialization
atlas-cassandra/src/main/java/org/atlasapi/content/v2/model/Identified.java
ignore unknown properties for cassandra deserialization
<ide><path>tlas-cassandra/src/main/java/org/atlasapi/content/v2/model/Identified.java <ide> package org.atlasapi.content.v2.model; <add> <add>import com.fasterxml.jackson.annotation.JsonIgnoreProperties; <ide> <ide> /** This combines the two volatile update time fields with the rest of the fields <ide> * from {@link ...
Java
apache-2.0
b4aecce5456368b13fd1df5a37ad69d2c40968ab
0
nssales/OG-Platform,jeorme/OG-Platform,ChinaQuants/OG-Platform,codeaudit/OG-Platform,jeorme/OG-Platform,codeaudit/OG-Platform,jerome79/OG-Platform,McLeodMoores/starling,DevStreet/FinanceAnalytics,jerome79/OG-Platform,DevStreet/FinanceAnalytics,codeaudit/OG-Platform,DevStreet/FinanceAnalytics,ChinaQuants/OG-Platform,jeo...
/** * Copyright (C) 2009 - 2010 by OpenGamma Inc. * * Please see distribution for license. */ package com.opengamma.livedata.server; import java.util.HashSet; import java.util.Set; import java.util.Timer; import java.util.TimerTask; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframew...
src/com/opengamma/livedata/server/AbstractPersistentSubscriptionManager.java
/** * Copyright (C) 2009 - 2010 by OpenGamma Inc. * * Please see distribution for license. */ package com.opengamma.livedata.server; import java.util.HashSet; import java.util.Set; import java.util.Timer; import java.util.TimerTask; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.opengamma.i...
Proper dependencies
src/com/opengamma/livedata/server/AbstractPersistentSubscriptionManager.java
Proper dependencies
<ide><path>rc/com/opengamma/livedata/server/AbstractPersistentSubscriptionManager.java <ide> <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <add>import org.springframework.context.Lifecycle; <ide> <ide> import com.opengamma.id.DomainSpecificIdentifier; <ide> import com.opengamma.livedata.LiveDat...
Java
bsd-2-clause
08b8537e1a9e45272ed2ebd34025b1ddf8ec803a
0
alpha-asp/Alpha,AntoniusW/Alpha,alpha-asp/Alpha
/** * Copyright (c) 2016-2019, the Alpha Team. * All rights reserved. * * Additional changes made by Siemens. * * 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 th...
src/main/java/at/ac/tuwien/kr/alpha/solver/DefaultSolver.java
/** * Copyright (c) 2016-2019, the Alpha Team. * All rights reserved. * * Additional changes made by Siemens. * * 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 th...
Replace 1000l by 1000
src/main/java/at/ac/tuwien/kr/alpha/solver/DefaultSolver.java
Replace 1000l by 1000
<ide><path>rc/main/java/at/ac/tuwien/kr/alpha/solver/DefaultSolver.java <ide> BranchingHeuristicFactory.getInstance(branchingHeuristic, grounder, assignment, choiceManager, random), <ide> new NaiveHeuristic(choiceManager)); <ide> this.disableJustifications = disableJustifications; <del> this.performanceLog =...
JavaScript
mit
d52c22875f9e3b7b832494c1868cedbf2aca3a4d
0
pdfernhout/Twirlip7,pdfernhout/Twirlip7,pdfernhout/Twirlip7
// Collage application // Compendium/IBIS-like app // Thanks for the inspiration, Al, and good luck with whatever you are up to now... /************************************** # Conceptual references Dialogue Mapping: Building Shared Understanding of Wicked Problems by Jeff Conklin https://www.amazon.com/Dialogue-Map...
src/ui/collage.js
// Collage application // Compendium/IBIS-like app // Thanks for the inspiration, Al, and good luck with whatever you are up to now... /************************************** # Conceptual references Dialogue Mapping: Building Shared Understanding of Wicked Problems by Jeff Conklin https://www.amazon.com/Dialogue-Map...
college: first cut at displaying items and adding them
src/ui/collage.js
college: first cut at displaying items and adding them
<ide><path>rc/ui/collage.js <ide> <ide> import { StoreUsingServer } from "./StoreUsingServer.js" <ide> import { HashUUIDTracker } from "./HashUUIDTracker.js" <add>import { Pointrel20190914 } from "./Pointrel20190914.js" <add>import { CanonicalJSON } from "./CanonicalJSON.js" <add>import { UUID } from "./UUID.js" <add>...
JavaScript
mit
569b5c70a2d61a03c1645951eac84de455a0d072
0
blakeembrey/pluralize
/* global define */ (function (root, pluralize) { /* istanbul ignore else */ if (typeof require === 'function' && typeof exports === 'object' && typeof module === 'object') { // Node. module.exports = pluralize(); } else if (typeof define === 'function' && define.amd) { // AMD, registers as an anonym...
pluralize.js
/* global define */ (function (root, pluralize) { /* istanbul ignore else */ if (typeof require === 'function' && typeof exports === 'object' && typeof module === 'object') { // Node. module.exports = pluralize(); } else if (typeof define === 'function' && define.amd) { // AMD, registers as an anonym...
Removed some words
pluralize.js
Removed some words
<ide><path>luralize.js <ide> * Uncountable rules. <ide> */ <ide> [ <add> // Check with https://en.wiktionary.org/wiki/{{word}} <ide> // Singular words with no plurals. <del> 'access', <del> 'accommodation', <del> 'adulthood', <del> 'advertising', <del> 'advice', <ide> 'agenda', <del> ...
Java
apache-2.0
af6b6d0ff03d03db37023939d87ce7cc6020d9c2
0
apache/jackrabbit,apache/jackrabbit,apache/jackrabbit
/* * 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 ...
jackrabbit/src/test/java/org/apache/jackrabbit/test/api/query/TextNodeTest.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 ...
JCR-525: TCK: TextNodeTest and jcr:xmltext/jcr:xmlcharacters git-svn-id: 02b679d096242155780e1604e997947d154ee04a@428377 13f79535-47bb-0310-9956-ffa450edef68
jackrabbit/src/test/java/org/apache/jackrabbit/test/api/query/TextNodeTest.java
JCR-525: TCK: TextNodeTest and jcr:xmltext/jcr:xmlcharacters
<ide><path>ackrabbit/src/test/java/org/apache/jackrabbit/test/api/query/TextNodeTest.java <ide> */ <ide> public void testTextNodeTest() throws RepositoryException { <ide> Node text1 = testRootNode.addNode(jcrXMLText); <add> text1.setProperty(jcrXMLCharacters, "foo"); <ide> testRootNode.s...
Java
apache-2.0
11a9b9f171b99b104e9c55d5fd7a6793a36ae295
0
ryano144/intellij-community,ivan-fedorov/intellij-community,alphafoobar/intellij-community,ThiagoGarciaAlves/intellij-community,Lekanich/intellij-community,asedunov/intellij-community,akosyakov/intellij-community,suncycheng/intellij-community,blademainer/intellij-community,tmpgit/intellij-community,idea4bsd/idea4bsd,Le...
package com.intellij.psi.impl.source.parsing; import com.intellij.lexer.JavaLexer; import com.intellij.lexer.Lexer; import com.intellij.lexer.JavaWithJspTemplateDataLexer; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.text.StringUtil; import com.i...
source/com/intellij/psi/impl/source/parsing/ParseUtil.java
package com.intellij.psi.impl.source.parsing; import com.intellij.lexer.JavaLexer; import com.intellij.lexer.Lexer; import com.intellij.lexer.JavaWithJspTemplateDataLexer; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Key; import com.intellij.openapi.util.text.StringUtil; import com.i...
(no message)
source/com/intellij/psi/impl/source/parsing/ParseUtil.java
(no message)
<ide><path>ource/com/intellij/psi/impl/source/parsing/ParseUtil.java <ide> <ide> public static void restorePosition(Lexer lexer, long position) { <ide> lexer.start(lexer.getBuffer(), (int)position & 0xFFFFFFFF, lexer.getBufferEnd(), (int)(position >> 32)); <del> } <del> <del> public static int addTokens(Compos...
Java
apache-2.0
a90fbd7fc6ce01e22ec092cf096fe0cad4b8996a
0
tsygipova/java_first
package ru.stqa.pft.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.support.ui.Select; import org.testng.Assert; import ru.stqa.pft.addressbook.mo...
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/appmanager/ContactsHelper.java
package ru.stqa.pft.addressbook.appmanager; import org.openqa.selenium.By; import org.openqa.selenium.NoSuchElementException; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.support.ui.Select; import org.testng.Assert; import ru.stqa.pft.addressbook.mo...
ошибка
addressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/appmanager/ContactsHelper.java
ошибка
<ide><path>ddressbook-web-tests/src/test/java/ru/stqa/pft/addressbook/appmanager/ContactsHelper.java <ide> <ide> public void createContact(ContactsData contact) { <ide> initContactCreation(); <del> fillContactForm(contact); <add> fillContactForm(contact, true); <ide> submitContactCreation(); <ide> ...
Java
apache-2.0
6c7b40bedbb5fc8a198596e671dab8c36640d1d8
0
apache/commons-jexl,apache/commons-jexl,apache/commons-jexl
/* * Copyright 2002-2006 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/commons/jexl/parser/SimpleNode.java
/* * Copyright 2002,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...
Copy over basic node docs from AddNode git-svn-id: de0229a90a04588cc4459530912ec55932f3d65c@397347 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/commons/jexl/parser/SimpleNode.java
Copy over basic node docs from AddNode
<ide><path>rc/java/org/apache/commons/jexl/parser/SimpleNode.java <ide> /* <del> * Copyright 2002,2004 The Apache Software Foundation. <del> * <add> * Copyright 2002-2006 The Apache Software Foundation. <add> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * you may not use this file ...
Java
apache-2.0
a1eed0d6fb432b32139353d7953d4e0638ca7146
0
npaduch/reminder
package com.npaduch.reminder; import android.app.Activity; import android.app.FragmentManager; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.ActionBarDrawerToggle; import android.support.v4.widget.DrawerLayout; import android.view.Menu; import android.view.MenuItem; ...
reminder/src/main/java/com/npaduch/reminder/MainActivity.java
package com.npaduch.reminder; import android.app.Activity; import android.app.FragmentManager; import android.content.res.Configuration; import android.os.Bundle; import android.support.v4.app.ActionBarDrawerToggle; import android.support.v4.widget.DrawerLayout; import android.view.Menu; import android.view.MenuItem; ...
Updated some comments
reminder/src/main/java/com/npaduch/reminder/MainActivity.java
Updated some comments
<ide><path>eminder/src/main/java/com/npaduch/reminder/MainActivity.java <ide> super.onCreate(savedInstanceState); <ide> setContentView(R.layout.activity_main); <ide> <del> /* Navigation Drawer */ <add> /** Navigation Drawer */ <ide> mDrawerLabels = getResources().getStringArray(R....
Java
lgpl-2.1
9a0745b93786693b6c4c4190037330b0b65b1cc6
0
sbliven/biojava,sbliven/biojava,sbliven/biojava
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
tests/org/biojava/bio/structure/MMcifTest.java
/* * BioJava development code * * This code may be freely distributed and modified under the * terms of the GNU Lesser General Public Licence. This should * be distributed with the code. If you do not have a copy, * see: * * http://www.gnu.org/copyleft/lesser.html * * Copyright for t...
less verbose parsing git-svn-id: ed25c26de1c5325e8eb0deed0b990ab8af8a4def@6910 7c6358e6-4a41-0410-a743-a5b2a554c398
tests/org/biojava/bio/structure/MMcifTest.java
less verbose parsing
<ide><path>ests/org/biojava/bio/structure/MMcifTest.java <ide> <ide> private void checkGroups(Group g1, Group g2){ <ide> <del> System.out.println("comparing " +g1 + " " + g2); <add> //System.out.println("comparing " +g1 + " " + g2); <ide> <ide> assertEquals(g1.getType(),g2.getType()); <ide> assertEquals(g1....
Java
bsd-3-clause
3742cb3e372e8edbb90d06f818f4e0116820d23a
0
CleverTap/apns-http2
/* * Copyright (c) 2016, CleverTap * 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 conditions ...
src/main/java/com/clevertap/apns/clients/AsyncOkHttpApnsClient.java
/* * Copyright (c) 2016, CleverTap * 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 conditions ...
Added InvalidTrustManagerException to the method signature
src/main/java/com/clevertap/apns/clients/AsyncOkHttpApnsClient.java
Added InvalidTrustManagerException to the method signature
<ide><path>rc/main/java/com/clevertap/apns/clients/AsyncOkHttpApnsClient.java <ide> import com.clevertap.apns.Notification; <ide> import com.clevertap.apns.NotificationResponse; <ide> import com.clevertap.apns.NotificationResponseListener; <add>import com.clevertap.apns.exceptions.InvalidTrustManagerException; <ide> im...
JavaScript
bsd-3-clause
52c77d9fb070aa5fee2d5c5faa3a68ce05e4f906
0
LLK/scratch-vm,LLK/scratch-vm,LLK/scratch-vm
/** * Serialize all the assets of the given type ('sounds' or 'costumes') * in the provided runtime into an array of file descriptors. * A file descriptor is an object containing the name of the file * to be written and the contents of the file, the serialized asset. * @param {Runtime} runtime The runtime with the...
src/serialization/serialize-assets.js
/** * Serialize all the assets of the given type ('sounds' or 'costumes') * in the provided runtime into an array of file descriptors. * A file descriptor is an object containing the name of the file * to be written and the contents of the file, the serialized asset. * @param {Runtime} runtime The runtime with the...
Updating asset serialization code to get data format from stored asset rather than vm state. Storage seems to be more up to date than vm in the case of editing the blank backdrop, which is stored as a png instead of an svg.
src/serialization/serialize-assets.js
Updating asset serialization code to get data format from stored asset rather than vm state. Storage seems to be more up to date than vm in the case of editing the blank backdrop, which is stored as a png instead of an svg.
<ide><path>rc/serialization/serialize-assets.js <ide> const currAsset = currAssets[j]; <ide> const assetId = currAsset.assetId; <ide> const storage = runtime.storage; <del> const asset = storage.get(assetId); <add> const storedAsset = storage.get(assetId); <ide>...
JavaScript
mit
c16d6f72bb42e4987e19afaf446da0e595210ff2
0
magnumjs/mag.js,magnumjs/mag.js
/* MagJS v0.28.9 http://github.com/magnumjs/mag.js (c) Michael Glazer License: MIT */ (function(mag, global) { 'use strict'; var prop = {}, _VALUE = '_value', MAGNUM = mag.MAGNUM; //TODO: make recursive and clean! var getParent = function(parts, parentElement) { for (var i = 1; i < parts.length;...
src/render.js
/* MagJS v0.28.9 http://github.com/magnumjs/mag.js (c) Michael Glazer License: MIT */ (function(mag, global) { 'use strict'; var prop = {}, _VALUE = '_value', MAGNUM = mag.MAGNUM; //TODO: make recursive and clean! var getParent = function(parts, parentElement) { for (var i = 1; i < parts.length;...
Update render.js Fix for render events, now both change and input
src/render.js
Update render.js
<ide><path>rc/render.js <ide> <ide> }.bind(founder, parentElement, obj, k); <ide> <del> founder.addEventListener("click", onit, false); <del> founder.addEventListener("input", onit, false); <del> founder.addEventListener("focus", onit, false); <add> founder.addEventListener("click", onit); <...
Java
apache-2.0
f41b8a778d620b03827b775706b9665f9a537623
0
rpudil/midpoint,Pardus-Engerek/engerek,arnost-starosta/midpoint,arnost-starosta/midpoint,sabriarabacioglu/engerek,PetrGasparik/midpoint,gureronder/midpoint,sabriarabacioglu/engerek,PetrGasparik/midpoint,rpudil/midpoint,gureronder/midpoint,PetrGasparik/midpoint,gureronder/midpoint,arnost-starosta/midpoint,Pardus-Engerek...
/* * Copyright (c) 2010-2013 Evolveum * * 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 agre...
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/MidPointProfilingServletFilter.java
/* * Copyright (c) 2010-2013 Evolveum * * 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 agre...
Fix for deployement problem.
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/MidPointProfilingServletFilter.java
Fix for deployement problem.
<ide><path>ui/admin-gui/src/main/java/com/evolveum/midpoint/web/util/MidPointProfilingServletFilter.java <ide> prepareRequestProfilingEvent(request, elapsedTime, uri); <ide> } <ide> } <add> } else { <add> chain.doFilter(request, response); <ide> ...
JavaScript
bsd-3-clause
044b71cc171845bc88c76ef7650f609864a5e456
0
radify/PathFinding.js,radify/PathFinding.js
/** * A base class for path-finders. * This class *SHOULD NOT* be directly instantiated, as it does not provide * any path-finding algorithms or methods and is intended to be extended * by all the other path-finder classes. * * *Note*: The constructor does *NOT* receive any arguments for instantiation. * A...
src/core/BaseFinder.js
/** * A base class for path-finders. * This class *SHOULD NOT* be directly instantiated, as it does not provide * any path-finding algorithms or methods and is intended to be extended * by all the other path-finder classes. * * *Note*: The constructor does *NOT* receive any arguments for instantiation. * A...
add: abstract `findPath` method to core/BaseFinder.js
src/core/BaseFinder.js
add: abstract `findPath` method to core/BaseFinder.js
<ide><path>rc/core/BaseFinder.js <ide> * The constructor of each BaseFinder instance. <ide> */ <ide> PF.BaseFinder.prototype.constructor = PF.BaseFinder; <add> <add>/** <add> * Starts the search for the path. <add> * *NOTE*: This method is intended to be overriden by sub-classes. <add> * @return {Array.<[integer, int...
JavaScript
bsd-3-clause
456a15b429720fc9d4664b6f3b434af731bfcab4
0
chrismayer/geoext2,bentrm/geoext2,annarieger/geoext2,annarieger/geoext2,m-click/geoext2,chrismayer/geoext2,Sundsvallskommun/geoext2,bentrm/geoext2,geographika/geoext2,marcjansen/geoext2,geoext/geoext2,Sundsvallskommun/geoext2,Sundsvallskommun/geoext2,m-click/geoext2,geographika/geoext2,geoext/geoext2,marcjansen/geoext2
/* * Copyright (c) 2008-2012 The Open Source Geospatial Foundation * * Published under the BSD license. * See https://github.com/geoext/geoext2/blob/master/license.txt for the full text * of the license. */ /* * @include GeoExt/tree/LayerContainer.js */ /** * A layer node plugin that will collect all base la...
src/GeoExt/tree/OverlayLayerContainer.js
/* * Copyright (c) 2008-2012 The Open Source Geospatial Foundation * * Published under the BSD license. * See https://github.com/geoext/geoext2/blob/master/license.txt for the full text * of the license. */ /* * @include GeoExt/tree/LayerContainer.js */ /** * A layer node plugin that will collect all base la...
This is not a BaseLayerContainer.
src/GeoExt/tree/OverlayLayerContainer.js
This is not a BaseLayerContainer.
<ide><path>rc/GeoExt/tree/OverlayLayerContainer.js <ide> /** <ide> * A layer node plugin that will collect all base layers of an OpenLayers <ide> * map. Only layers that have displayInLayerSwitcher set to true will be <del> * included. The childrens' iconCls defaults to <del> * "gx-tree-baselayer-icon" and the node' ...
Java
apache-2.0
5007bf7aa041ce344ec042d9960b5e76afdcbaf6
0
diendt/elasticsearch,mkis-/elasticsearch,gfyoung/elasticsearch,polyfractal/elasticsearch,alexbrasetvik/elasticsearch,huanzhong/elasticsearch,Asimov4/elasticsearch,ouyangkongtong/elasticsearch,abibell/elasticsearch,PhaedrusTheGreek/elasticsearch,baishuo/elasticsearch_v2.1.0-baishuo,Rygbee/elasticsearch,camilojd/elastics...
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
src/test/java/org/elasticsearch/indices/warmer/SimpleIndicesWarmerTests.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
[Test] remove timeout from deleteWarmer call with many shards that might just take a while
src/test/java/org/elasticsearch/indices/warmer/SimpleIndicesWarmerTests.java
[Test] remove timeout from deleteWarmer call with many shards that might just take a while
<ide><path>rc/test/java/org/elasticsearch/indices/warmer/SimpleIndicesWarmerTests.java <ide> @Test <ide> public void deleteNonExistentIndexWarmerTest() { <ide> createIndex("test"); <del> <ide> try { <del> client().admin().indices().prepareDeleteWarmer().setIndices("test").setNames("fo...
Java
lgpl-2.1
8799c71ff34e743ce850639bcacffc3028d402ca
0
maxbiostat/beast-mcmc,maxbiostat/beast-mcmc,codeaudit/beast-mcmc,adamallo/beast-mcmc,4ment/beast-mcmc,codeaudit/beast-mcmc,adamallo/beast-mcmc,beast-dev/beast-mcmc,beast-dev/beast-mcmc,maxbiostat/beast-mcmc,beast-dev/beast-mcmc,maxbiostat/beast-mcmc,4ment/beast-mcmc,maxbiostat/beast-mcmc,codeaudit/beast-mcmc,adamallo/b...
/* * ConstExponential.java * * Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modify ...
src/dr/evolution/coalescent/ConstExpConst.java
/* * ConstExponential.java * * Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modify ...
Implemented getIntensity in ConstExpConst
src/dr/evolution/coalescent/ConstExpConst.java
Implemented getIntensity in ConstExpConst
<ide><path>rc/dr/evolution/coalescent/ConstExpConst.java <ide> * Returns value of demographic intensity function at time t <ide> * (= integral 1/N(x) dx from 0 to t). <ide> */ <del> public double getIntensity(double t) { <add> public double getIntensity(double t) { <add> double time1 = getTime1(); <add>...
Java
epl-1.0
dfeeb22b31ee4b6ae740635c1176d4e2e9f47a1c
0
wdliu/egit,wdliu/egit,blizzy78/egit,SmithAndr/egit,paulvi/egit,SmithAndr/egit,collaborative-modeling/egit,collaborative-modeling/egit,paulvi/egit
/******************************************************************************* * Copyright (c) 2010-2013 SAP AG and others. * 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 avail...
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/GitImportWizard.java
/******************************************************************************* * Copyright (c) 2010-2013 SAP AG and others. * 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 avail...
Import wizard: Move page init code from getNextPage to setVisible getNextPage can be called multiple times (and even before the page is really shown), so getNextPage should not be doing any work for the page. setVisible seems to be the right place for this, see other wizards. With this, the logic is only called once ...
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/GitImportWizard.java
Import wizard: Move page init code from getNextPage to setVisible
<ide><path>rg.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/clone/GitImportWizard.java <ide> } <ide> }; <ide> <del> private GitProjectsImportPage projectsImportPage = new GitProjectsImportPage() ; <del> <del> private GitCreateGeneralProjectPage createGeneralProjectPage = new GitCreateGeneralProjectPage(); <add> ...
JavaScript
mit
9cbacd89650a3faff58a6f0aa7c93b97ba39940c
0
TallerWebSolutions/choko,TallerWebSolutions/choko
'use strict'; /** * @file Form extension controllers. */ angular.module('choko') .controller('FormController', ['$scope', function ($scope) { $scope.form.id = $scope.form.id || 'form-' + $scope.form.name; }]) .controller('ElementController', ['$scope', function ($scope) { var elementName = !$scope....
applications/default/extensions/form/public/js/form.controllers.js
'use strict'; /** * @file Form extension controllers. */ angular.module('choko') .controller('FormController', ['$scope', function ($scope) { $scope.form.id = $scope.form.id || 'form-' + $scope.form.name; }]) .controller('ElementController', ['$scope', function ($scope) { var elementName = !$scope....
Removed isTag attribute from tags elements.
applications/default/extensions/form/public/js/form.controllers.js
Removed isTag attribute from tags elements.
<ide><path>pplications/default/extensions/form/public/js/form.controllers.js <ide> <ide> if(options) { <ide> Object.keys(options).forEach(function (name) { <add> if (options[name].isTag) delete options[name].isTag; <ide> $scope.tags.push(options[name]); <ide> }); <ide> }
Java
apache-2.0
54f86e1da3546ea25f152b0335049f5b96fef4c2
0
dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android,dimagi/commcare-android
package org.commcare.dalvik.activities; import java.math.BigInteger; import java.security.MessageDigest; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import org.commcare.android.database.SqlStorage; import org.commcare.android.database.app.models.UserKeyRecord; import org.comm...
app/src/org/commcare/dalvik/activities/LoginActivity.java
package org.commcare.dalvik.activities; import java.math.BigInteger; import java.security.MessageDigest; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import org.commcare.android.database.SqlStorage; import org.commcare.android.database.app.models.UserKeyRecord; import org.comm...
remove TODO comment
app/src/org/commcare/dalvik/activities/LoginActivity.java
remove TODO comment
<ide><path>pp/src/org/commcare/dalvik/activities/LoginActivity.java <ide> <ide> @Override <ide> public void onNothingSelected(AdapterView<?> parent) { <del> // TODO Auto-generated method stub <add> return; <ide> } <ide> <ide> }
Java
apache-2.0
082c80ec60205b55f7113d2af38b8b594d8d4571
0
flipkart-incubator/Poseidon
/* * Copyright 2016 Flipkart Internet, pvt 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 * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law o...
container/src/main/java/com/flipkart/poseidon/api/JettyFilterConfiguration.java
package com.flipkart.poseidon.api; import org.eclipse.jetty.servlet.FilterMapping; import javax.servlet.DispatcherType; import javax.servlet.Filter; import java.util.EnumSet; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Created by shrey.garg on 21/05/16. */ public class JettyFilterC...
more options for creating FilterConfigurations
container/src/main/java/com/flipkart/poseidon/api/JettyFilterConfiguration.java
more options for creating FilterConfigurations
<ide><path>ontainer/src/main/java/com/flipkart/poseidon/api/JettyFilterConfiguration.java <add>/* <add> * Copyright 2016 Flipkart Internet, pvt ltd. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may ob...
Java
apache-2.0
545f2d33ece78e75996f2fbd74526ab9a7ecb81f
0
apache/pdfbox,kalaspuffar/pdfbox,apache/pdfbox,kalaspuffar/pdfbox
/* * 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 ...
pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.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 ...
PDFBOX-4892: fix message, as suggested by valerybokov git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1890911 13f79535-47bb-0310-9956-ffa450edef68
pdfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java
PDFBOX-4892: fix message, as suggested by valerybokov
<ide><path>dfbox/src/main/java/org/apache/pdfbox/cos/COSStream.java <ide> { <ide> if (isWriting) <ide> { <del> throw new IllegalStateException("There is an open OutputStream associated with " + <del> "this COSStream. It must be closed before quer...
Java
apache-2.0
07e4de71d2215c6afee3a8912edd78f8ea5599f3
0
olegz/spring-cloud-function,olegz/spring-cloud-function,olegz/spring-cloud-function,olegz/spring-cloud-function,olegz/spring-cloud-function
/* * Copyright 2020-2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistry.java
/* * Copyright 2020-2020 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
Fix Message unwrapping condition
spring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistry.java
Fix Message unwrapping condition
<ide><path>pring-cloud-function-context/src/main/java/org/springframework/cloud/function/context/catalog/SimpleFunctionRegistry.java <ide> import reactor.core.publisher.Flux; <ide> import reactor.core.publisher.Mono; <ide> import reactor.util.function.Tuples; <del> <ide> <ide> import org.springframework.aop.framework....
Java
mit
3dcf051a3cbff42bbf99c2b21a7e7980b4895772
0
CS2103AUG2016-F11-C2/main
package guitests; import org.junit.Test; import guitests.guihandles.TaskCardHandle; import seedu.cmdo.testutil.TestTask; import seedu.cmdo.testutil.TestUtil; import static org.junit.Assert.assertTrue; import static seedu.cmdo.logic.commands.DoneCommand.MESSAGE_DONE_TASK_SUCCESS; /* * @@author A0141128R tested and ...
src/test/java/guitests/DoneCommandTest.java
package guitests; import org.junit.Test; import guitests.guihandles.TaskCardHandle; import seedu.cmdo.testutil.TestTask; import seedu.cmdo.testutil.TestUtil; import static org.junit.Assert.assertTrue; import static seedu.cmdo.logic.commands.DoneCommand.MESSAGE_DONE_TASK_SUCCESS; /* * @@author A0141128R tested and ...
slap donecommandtest
src/test/java/guitests/DoneCommandTest.java
slap donecommandtest
<ide><path>rc/test/java/guitests/DoneCommandTest.java <ide> private TestTask[] updateList(int targetIndex, TestTask... currentList){ <ide> return TestUtil.removeTaskFromList(currentList, targetIndex); <ide> } <add> <add> //confirm the list now contains all previous tasks except the deleted task <add...
Java
apache-2.0
a670f6705e3f6cb825a58fc4ee73ee31348830ea
0
aglne/oryx,ashokpant/oryx,rahuldhote/oryx,glenioborges/oryx,elkingtonmcb/oryx,heshm/oryx
/* * Copyright (c) 2013, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. licenses this file to you 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/LICE...
als-serving/src/main/java/com/cloudera/oryx/als/serving/ServerRecommender.java
/* * Copyright (c) 2013, Cloudera, Inc. All Rights Reserved. * * Cloudera, Inc. licenses this file to you 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/LICE...
Very corner case that could be relevant to issue #60 : write lock might not be released if lock downgrade fails
als-serving/src/main/java/com/cloudera/oryx/als/serving/ServerRecommender.java
Very corner case that could be relevant to issue #60 : write lock might not be released if lock downgrade fails
<ide><path>ls-serving/src/main/java/com/cloudera/oryx/als/serving/ServerRecommender.java <ide> writeLock.lock(); <ide> try { <ide> matrix.put(longID, features); <add> readLock.lock(); <ide> } finally { <del> readLock.lock(); <ide> writeLock.unl...
Java
mit
4f0666376040e855256323608c2aa789f504e58f
0
SpongePowered/SpongeAPI,SpongePowered/SpongeAPI,SpongePowered/SpongeAPI
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://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/world/server/WorldManager.java
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://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...
Better docs and enforce key usage for rename/copy/delete Signed-off-by: Chris Sanders <becb1b07b5e7418402924748493938777e4ce438@spongepowered.org>
src/main/java/org/spongepowered/api/world/server/WorldManager.java
Better docs and enforce key usage for rename/copy/delete
<ide><path>rc/main/java/org/spongepowered/api/world/server/WorldManager.java <ide> CompletableFuture<Boolean> saveProperties(WorldProperties properties); <ide> <ide> /** <del> * Creates a world copy asynchronously using the new name given and returns <del> * the new world properties if the copy was pos...
Java
mit
2e8105d11fca53b7d60296449f97e52df0e4aaa9
0
solita/functional-utils
package fi.solita.utils.functional; import static fi.solita.utils.functional.Collections.newList; import static fi.solita.utils.functional.Collections.newMap; import static fi.solita.utils.functional.Collections.newSet; import static fi.solita.utils.functional.Option.None; import static fi.solita.utils.functional.Opti...
src/main/java/fi/solita/utils/functional/Functional.java
package fi.solita.utils.functional; import static fi.solita.utils.functional.Collections.newList; import static fi.solita.utils.functional.Collections.newMap; import static fi.solita.utils.functional.Collections.newSet; import static fi.solita.utils.functional.Option.None; import static fi.solita.utils.functional.Opti...
small refactoring
src/main/java/fi/solita/utils/functional/Functional.java
small refactoring
<ide><path>rc/main/java/fi/solita/utils/functional/Functional.java <ide> public static <T> T reduce(T[] elements, Monoid<T> m) { <ide> return reduce(Arrays.asList(elements), m); <ide> } <del> <add> <ide> public static <T> T reduce(Iterable<? extends T> elements, Monoid<T> m) { <ide> re...
JavaScript
mit
4ed6f0e005d6a6ef7eb5d7bd515f15418bc1433a
0
siimple/siimple-elements
import h from '../hyperscript.js'; //Heading class export default class SiimpleHeading extends React.Component { //Constructor constructor(props) { //Call super super(props); //Initialize the state object this.state = { type: '1' }; //Parse the initial properties this.componentWillRecei...
src/typography/heading.js
import h from './hyperscript.js'; //Heading class export default class SiimpleHeading extends React.Component { //Constructor constructor(props) { //Call super super(props); //Initialize the state object this.state = { type: '1' }; //Parse the initial properties this.componentWillReceiv...
src/typography/heading.js: fixed dependencies
src/typography/heading.js
src/typography/heading.js: fixed dependencies
<ide><path>rc/typography/heading.js <del>import h from './hyperscript.js'; <add>import h from '../hyperscript.js'; <ide> <ide> //Heading class <ide> export default class SiimpleHeading extends React.Component
Java
bsd-2-clause
492c35aa2a58d7569e857afa44bb9f683d7ba9d8
0
JFormDesigner/RichTextFX,TomasMikula/RichTextFX,afester/RichTextFX,JordanMartinez/RichTextFX,afester/RichTextFX,TomasMikula/RichTextFX,FXMisc/RichTextFX,FXMisc/RichTextFX,JordanMartinez/RichTextFX,JFormDesigner/RichTextFX
package org.fxmisc.richtext; import javafx.beans.value.ObservableValue; import javafx.geometry.Bounds; import javafx.scene.control.IndexRange; import org.fxmisc.richtext.model.StyledDocument; import org.reactfx.EventStream; import org.reactfx.Subscription; import org.reactfx.Suspendable; import org.reactfx.Suspendable...
richtextfx/src/main/java/org/fxmisc/richtext/BoundedSelectionImpl.java
package org.fxmisc.richtext; import javafx.beans.value.ObservableValue; import javafx.geometry.Bounds; import javafx.scene.control.IndexRange; import org.fxmisc.richtext.model.StyledDocument; import org.reactfx.EventStream; import org.reactfx.Subscription; import org.reactfx.Suspendable; import org.reactfx.Suspendable...
Fix typo: use camel case
richtextfx/src/main/java/org/fxmisc/richtext/BoundedSelectionImpl.java
Fix typo: use camel case
<ide><path>ichtextfx/src/main/java/org/fxmisc/richtext/BoundedSelectionImpl.java <ide> <ide> @Override public EventStream<?> dirtyEvents() { return delegate.dirtyEvents(); } <ide> <del> private final SuspendableNo beingupdated = new SuspendableNo(); <del> public final boolean isBeingUpdated() { return being...
Java
mit
error: pathspec 'thirty_days_of_code/Interfaces.java' did not match any file(s) known to git
658bdcc9bddd710aa93013a06fa9fb93e8beff54
1
RCoon/HackerRank,RCoon/HackerRank,RCoon/HackerRank
package thirty_days_of_code; import java.util.Scanner; /* * Problem Statement: * Here you are given an interface AdvancedArithmetic which contains a method * signature * * int divisorSum(int n). (The divisorSum function just takes an integer as * input and return the sum of all its divisors.) * Yo...
thirty_days_of_code/Interfaces.java
Add Interfaces
thirty_days_of_code/Interfaces.java
Add Interfaces
<ide><path>hirty_days_of_code/Interfaces.java <add>package thirty_days_of_code; <add> <add>import java.util.Scanner; <add> <add>/* <add> * Problem Statement: <add> * Here you are given an interface AdvancedArithmetic which contains a method <add> * signature <add> * <add> * int divisorSum(int n). (The divisorSum funct...
JavaScript
mit
ed6ac1dbb767061cc0b0e5c447f37dc0ef6fc7e1
0
hansolo669/iitc-tweaks,hansolo669/iitc-tweaks
// ==UserScript== // @id iitc-plugin-region-score-lead@hansolo669 // @name IITC plugin: region score lead // @category Tweaks // @version 0.0.3 // @namespace https://github.com/hansolo669/iitc-tweaks // @updateURL http://www.reallyawesomedomain.com/iitc-tweaks/region-score-l...
region-score-lead.user.js
// ==UserScript== // @id iitc-plugin-region-score-lead@hansolo669 // @name IITC plugin: region score lead // @category Tweaks // @version 0.0.3 // @namespace https://github.com/hansolo669/iitc-tweaks // @updateURL http://www.reallyawesomedomain.com/iitc-tweaks/region-score-l...
fixes because I didn't realize S2 wasn't part of the default IITC install
region-score-lead.user.js
fixes because I didn't realize S2 wasn't part of the default IITC install
<ide><path>egion-score-lead.user.js <ide> <ide> // PLUGIN START //////////////////////////////////////////////////////// <ide> var setup = function() { <del>// we stick all this stuff in the setup function to ensure it loads *after* IITC has booted <add> // include the S2 functions if they don't exist <add> if (!win...
Java
bsd-3-clause
4d915e59120465f3cedaacef13841e483b41f64f
0
owlcollab/owltools,owlcollab/owltools,owlcollab/owltools,owlcollab/owltools,owlcollab/owltools,owlcollab/owltools
package owltools.cli; import java.awt.Color; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOExcepti...
OWLTools-Runner/src/main/java/owltools/cli/CommandRunner.java
package owltools.cli; import java.awt.Color; import java.io.BufferedOutputStream; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.FileWriter; import java.io.IOExcepti...
making a log warning option
OWLTools-Runner/src/main/java/owltools/cli/CommandRunner.java
making a log warning option
<ide><path>WLTools-Runner/src/main/java/owltools/cli/CommandRunner.java <ide> else if (opts.nextEq("--log-info")) { <ide> Logger.getRootLogger().setLevel(Level.INFO); <ide> } <add> else if (opts.nextEq("--log-warning")) { <add> Logger.getRootLogger().set...
Java
mit
b3b1c65dbd92cf5733b0c85dbf45dc646d75b291
0
DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,DeviceConnect/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,TakayukiHoshi1984/DeviceConnect-Android,TakayukiHoshi1984/De...
/* DConnectService.java Copyright (c) 2016 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.android.service; import android.content.Context; import android.content.Intent; import android.util.Log; import org.deviceconnect.android.message....
dConnectDevicePlugin/dConnectDevicePluginSDK/dconnect-device-plugin-sdk/src/main/java/org/deviceconnect/android/service/DConnectService.java
/* DConnectService.java Copyright (c) 2016 NTT DOCOMO,INC. Released under the MIT license http://opensource.org/licenses/mit-license.php */ package org.deviceconnect.android.service; import android.content.Context; import android.content.Intent; import android.util.Log; import org.deviceconnect.android.message....
ログの削除.
dConnectDevicePlugin/dConnectDevicePluginSDK/dconnect-device-plugin-sdk/src/main/java/org/deviceconnect/android/service/DConnectService.java
ログの削除.
<ide><path>ConnectDevicePlugin/dConnectDevicePluginSDK/dconnect-device-plugin-sdk/src/main/java/org/deviceconnect/android/service/DConnectService.java <ide> public boolean onRequest(final Intent request, final Intent response) { <ide> DConnectProfile profile = getProfile(DConnectProfile.getProfile(request))...
Java
mit
ec5fe4234f7bc3eecfe3e9628afa2508ea4cbcd4
0
InseeFr/Eno,InseeFr/Eno
package fr.insee.eno.preprocessing; import java.io.File; import java.io.FilenameFilter; import java.io.InputStream; import java.io.OutputStream; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import fr.insee.eno.Constants; import fr.insee.eno.exception.EnoGenerationE...
src/main/java/fr/insee/eno/preprocessing/DDIDereferencingPreprocessor.java
package fr.insee.eno.preprocessing; import java.io.File; import java.io.FilenameFilter; import java.io.InputStream; import java.io.OutputStream; import org.apache.commons.io.FileUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import fr.insee.eno.Constants; import fr.insee.eno.exception.EnoGenerationE...
Dereferencing : add condition on generated file
src/main/java/fr/insee/eno/preprocessing/DDIDereferencingPreprocessor.java
Dereferencing : add condition on generated file
<ide><path>rc/main/java/fr/insee/eno/preprocessing/DDIDereferencingPreprocessor.java <ide> <ide> @Override <ide> public boolean accept(File dir, String name) { <del> return !name.startsWith("null"); <add> return !name.startsWith("null") && name.endsWith(".tmp"); <ide> } <ide> }); <ide>
JavaScript
mit
185cceecd7c32074a26ecd09e74c7bbfef079d28
0
ahmadassaf/Bosco,ahmadassaf/Bosco,tes/bosco,tes/bosco
var _ = require('lodash'); var async = require('async'); var fs = require('fs'); var http = require('http'); var watch = require('watch'); module.exports = { name:'cdn', description:'Aggregates all the static assets across all microservices and serves them via a pseudo local CDN url', example:'bosco cdn <m...
commands/cdn.js
var _ = require('lodash'); var async = require('async'); var fs = require('fs'); var http = require('http'); var watch = require('watch'); module.exports = { name:'cdn', description:'Aggregates all the static assets across all microservices and serves them via a pseudo local CDN url', example:'bosco cdn <m...
Use find instead of insane filter
commands/cdn.js
Use find instead of insane filter
<ide><path>ommands/cdn.js <ide> } <ide> <ide> var getAsset = function(staticAssets, url) { <del> return _.filter(staticAssets, function(item) { <del> if(item.assetKey === url) { <del> return item; <del> } <del> })[0]; <add> return _.find(staticAssets, 'assetKey', url); <id...
Java
apache-2.0
037a1c4a8d6543a288e5d921bd290458f8435555
0
yinhe402/commons-io,mohanaraosv/commons-io,jankill/commons-io,krosenvold/commons-io,mohanaraosv/commons-io,krosenvold/commons-io,girirajsharma/commons-io,girirajsharma/commons-io,jankill/commons-io,yinhe402/commons-io,girirajsharma/commons-io,MuShiiii/commons-io,mohanaraosv/commons-io,MuShiiii/commons-io,MuShiiii/commo...
/* * 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/java/org/apache/commons/io/DirectoryWalker.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 ...
Use generics. git-svn-id: cb61607abf5ac23ab48a85ccf5b9d9390a6837ee@620379 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/commons/io/DirectoryWalker.java
Use generics.
<ide><path>rc/java/org/apache/commons/io/DirectoryWalker.java <ide> * @throws NullPointerException if the start directory is null <ide> * @throws IOException if an I/O Error occurs <ide> */ <del> protected final void walk(File startDirectory, Collection results) throws IOException { <add> protected...
Java
mit
46354d8a931944cab7e5a674f864363d90965d04
0
Implosions/BullyBot
package pugbot.core.commands; import net.dv8tion.jda.core.entities.Member; import net.dv8tion.jda.core.entities.Message; import pugbot.Utils; import pugbot.core.entities.Game; import pugbot.core.entities.QueueManager; import pugbot.core.entities.Game.GameStatus; import pugbot.core.exceptions.BadArgumentsException; imp...
src/main/java/pugbot/core/commands/CmdSwapPlayers.java
package pugbot.core.commands; import net.dv8tion.jda.core.entities.Member; import net.dv8tion.jda.core.entities.Message; import pugbot.Utils; import pugbot.core.entities.Game; import pugbot.core.entities.QueueManager; import pugbot.core.entities.Game.GameStatus; import pugbot.core.exceptions.BadArgumentsException; imp...
Fix typo
src/main/java/pugbot/core/commands/CmdSwapPlayers.java
Fix typo
<ide><path>rc/main/java/pugbot/core/commands/CmdSwapPlayers.java <ide> } <ide> <ide> if(game.getTeam(p1) == game.getTeam(p2)){ <del> throw new InvalidUseException("Players must be on different teaams"); <add> throw new InvalidUseException("Players must be on different teams"); <ide> } <ide> <ide> game...
JavaScript
mit
2db79fa9c26493e650c241aa3c23bc82cf881a9b
0
steverydz/build-url
describe('buildUrl', function () { var buildUrl = require('../dist/build-url'); it('should be defined', function () { expect(buildUrl).toBeDefined(); }); it('should return undefined if called with no arguments', function () { expect(buildUrl()).toBe(undefined); }); it('should return a string if c...
spec/build-url-spec.js
describe('buildUrl', function () { var buildUrl = require('../dist/build-url'); it('should be defined', function () { expect(buildUrl).toBeDefined(); }); it('should return undefined if called with no arguments', function () { expect(buildUrl()).toBe(undefined); }); it('should return a string if c...
Add missing semicolons
spec/build-url-spec.js
Add missing semicolons
<ide><path>pec/build-url-spec.js <ide> Object <ide> .values(queryParams) <ide> .map((param, i) => `param${i}=${encodeURIComponent(param)}`) <del> .join('&') <add> .join('&'); <ide> <ide> expect(url).toEqual(`https://example.com?${queryParamString}`); <del> }) <add> }); <ide> }...
Java
apache-2.0
fdca03aefa1fc72ebf1717593f05e5a5d3e1541b
0
xzel23/meja,xzel23/meja
package com.dua3.meja.text; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Locale; import java.util.function.BiFunction; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import com.dua3.meja.model.Cell; ...
meja/src/test/java/com/dua3/meja/text/FormatTest.java
package com.dua3.meja.text; import java.io.IOException; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Locale; import java.util.function.BiFunction; import org.junit.After; import org.junit.Assert; import org.junit.Before; import org.junit.Test; import com.dua3.meja.model.Cell; ...
workaround for the workaround to load test data when started from gradle
meja/src/test/java/com/dua3/meja/text/FormatTest.java
workaround for the workaround to load test data when started from gradle
<ide><path>eja/src/test/java/com/dua3/meja/text/FormatTest.java <ide> Path wbPath = fsv.resolve(fileName); <ide> workbook = MejaHelper.openWorkbook(wbPath); <ide> } catch (IOException e) { <del> // XXX when run from within gradle, resources are placed in another location <add>...
Java
apache-2.0
6ea09922139e2284b6cac92e1c95b31699ef5248
0
strapdata/elassandra,strapdata/elassandra,strapdata/elassandra,strapdata/elassandra,vroyer/elassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elassandra
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.indexlifecycle; import org.elasticsearch.acti...
x-pack/plugin/index-lifecycle/src/test/java/org/elasticsearch/xpack/indexlifecycle/IndexLifecycleInitialisationIT.java
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ package org.elasticsearch.xpack.indexlifecycle; import org.elasticsearch.acti...
Fixes compilation issue in test
x-pack/plugin/index-lifecycle/src/test/java/org/elasticsearch/xpack/indexlifecycle/IndexLifecycleInitialisationIT.java
Fixes compilation issue in test
<ide><path>-pack/plugin/index-lifecycle/src/test/java/org/elasticsearch/xpack/indexlifecycle/IndexLifecycleInitialisationIT.java <ide> <ide> import org.elasticsearch.action.admin.cluster.health.ClusterHealthResponse; <ide> import org.elasticsearch.action.admin.indices.create.CreateIndexResponse; <del>import org.elasti...
Java
bsd-3-clause
d7186625ae45ee07d6f23d2dbc0f9b08cd085e7b
0
joansmith/basex,JensErat/basex,drmacro/basex,vincentml/basex,BaseXdb/basex,vincentml/basex,JensErat/basex,ksclarke/basex,drmacro/basex,joansmith/basex,drmacro/basex,JensErat/basex,ksclarke/basex,deshmnnit04/basex,joansmith/basex,vincentml/basex,ksclarke/basex,BaseXdb/basex,JensErat/basex,ksclarke/basex,drmacro/basex,ks...
package org.basex.core.cmd; import static org.basex.core.Text.*; import java.util.Locale; import org.basex.core.*; import org.basex.util.Util; /** * Evaluates the 'set' command and modifies database properties. * * @author BaseX Team 2005-12, BSD License * @author Christian Gruen */ public final class Set exte...
src/main/java/org/basex/core/cmd/Set.java
package org.basex.core.cmd; import static org.basex.core.Text.*; import java.util.Locale; import org.basex.core.*; import org.basex.util.Util; /** * Evaluates the 'set' command and modifies database properties. * * @author BaseX Team 2005-12, BSD License * @author Christian Gruen */ public final class Set exte...
[MOD] Commands, GH-458: mark SET command as non-updating
src/main/java/org/basex/core/cmd/Set.java
[MOD] Commands, GH-458: mark SET command as non-updating
<ide><path>rc/main/java/org/basex/core/cmd/Set.java <ide> return error(INVALID_VALUE_X_X, key, val); <ide> } <ide> } <del> <del> @Override <del> public boolean updating(final Context ctx) { <del> // command may set options that influence other commands <del> return true; <del> } <ide> }
Java
apache-2.0
36b6715fadedd4641abd362fba99a4f2a34b69a4
0
nicolas-raoul/apps-android-commons,psh/apps-android-commons,commons-app/apps-android-commons,maskaravivek/apps-android-commons,akaita/apps-android-commons,sandarumk/apps-android-commons,neslihanturan/apps-android-commons,misaochan/apps-android-commons,psh/apps-android-commons,domdomegg/apps-android-commons,sandarumk/ap...
package fr.free.nrw.commons.upload; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.preference.ListPreference; import android.preference.PreferenceManager; import andro...
app/src/main/java/fr/free/nrw/commons/upload/SingleUploadFragment.java
package fr.free.nrw.commons.upload; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.content.SharedPreferences; import android.net.Uri; import android.os.Bundle; import android.preference.ListPreference; import android.preference.PreferenceManager; import andro...
Fix lint issue: Missing commit on Shared prefs editor
app/src/main/java/fr/free/nrw/commons/upload/SingleUploadFragment.java
Fix lint issue: Missing commit on Shared prefs editor
<ide><path>pp/src/main/java/fr/free/nrw/commons/upload/SingleUploadFragment.java <ide> setLicenseSummary(license); <ide> SharedPreferences.Editor editor = prefs.edit(); <ide> editor.putString(Prefs.DEFAULT_LICENSE, license); <del> editor.commit(); <add> ...
Java
apache-2.0
18a746c2a3d878c5b56d94a44e3d7a9f5340fa32
0
DwayneJengSage/Bridge-Exporter-1,Sage-Bionetworks/Bridge-Exporter
package org.sagebionetworks.bridge.exporter.handler; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objec...
src/main/java/org/sagebionetworks/bridge/exporter/handler/SynapseExportHandler.java
package org.sagebionetworks.bridge.exporter.handler; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Objec...
cleanup
src/main/java/org/sagebionetworks/bridge/exporter/handler/SynapseExportHandler.java
cleanup
<ide><path>rc/main/java/org/sagebionetworks/bridge/exporter/handler/SynapseExportHandler.java <ide> COMMON_COLUMN_LIST = columnListBuilder.build(); <ide> } <ide> <del>// static { <del>// ImmutableList.Builder<ColumnModel> columnListBuilder = ImmutableList.builder(); <del>// <del>// ColumnM...
Java
apache-2.0
27bfd5df1381a344bff23c6a61c81043353f31a2
0
TNG/ArchUnit,TNG/ArchUnit
/* * Copyright 2014-2020 TNG Technology Consulting GmbH * * 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 appl...
archunit-junit/junit5/engine/src/main/java/com/tngtech/archunit/junit/ArchUnitTestEngine.java
/* * Copyright 2014-2020 TNG Technology Consulting GmbH * * 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 appl...
simplify code that creates class stream #411
archunit-junit/junit5/engine/src/main/java/com/tngtech/archunit/junit/ArchUnitTestEngine.java
simplify code that creates class stream #411
<ide><path>rchunit-junit/junit5/engine/src/main/java/com/tngtech/archunit/junit/ArchUnitTestEngine.java <ide> import java.util.Optional; <ide> import java.util.function.Predicate; <ide> import java.util.stream.Stream; <del>import java.util.stream.StreamSupport; <ide> <ide> import com.tngtech.archunit.Internal; <ide> i...
Java
mit
ee051a751893d5fc7a79aba1a51da406a2e3c4da
0
jenkinsci/ec2-plugin,mkozell/ec2-plugin,jenkinsci/ec2-plugin,mkozell/ec2-plugin,jenkinsci/ec2-plugin,jenkinsci/ec2-plugin,mkozell/ec2-plugin,mkozell/ec2-plugin
/* * The MIT License * * Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors * * 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 re...
src/main/java/hudson/plugins/ec2/SlaveTemplate.java
/* * The MIT License * * Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributors * * 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 re...
Fix connection fill
src/main/java/hudson/plugins/ec2/SlaveTemplate.java
Fix connection fill
<ide><path>rc/main/java/hudson/plugins/ec2/SlaveTemplate.java <ide> public ListBoxModel doFillConnectionStrategyItems(@QueryParameter String connectionStrategy) { <ide> return Stream.of(ConnectionStrategy.values()) <ide> .map(v -> { <del> if (v.toString().e...
Java
apache-2.0
9ad22f2f0d486df79920d79e2bcb8637c0b6b3cc
0
ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma,ppavlidis/Gemma
/* * The Gemma project. * * Copyright (c) 2006-2007 University of British Columbia * * 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-...
gemma-mda/src/main/java/ubic/gemma/model/analysis/expression/diff/DifferentialExpressionResultDaoImpl.java
/* * The Gemma project. * * Copyright (c) 2006-2007 University of British Columbia * * 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-...
Minor. Changed log level.
gemma-mda/src/main/java/ubic/gemma/model/analysis/expression/diff/DifferentialExpressionResultDaoImpl.java
Minor. Changed log level.
<ide><path>emma-mda/src/main/java/ubic/gemma/model/analysis/expression/diff/DifferentialExpressionResultDaoImpl.java <ide> <ide> List<?> queryResult = queryObject.list(); <ide> <del> log.warn( "Got " + queryResult.size() + " results" ); <add> log.info( "Got " + queryResult.size() + "...
Java
lgpl-2.1
8e80518566f4face6f0abf5a57438b3ee6b93483
0
MaxGaming63/BornToBeaHero-1.11.2
package com.emyxam.btbh.item.armors.marvel; import com.emyxam.btbh.BornToBeaHero; import com.emyxam.btbh.item.ItemModelProvider; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft...
src/main/java/com/emyxam/btbh/item/armors/marvel/ItemCaptainArmor.java
package com.emyxam.btbh.item.armors.marvel; import com.emyxam.btbh.BornToBeaHero; import com.emyxam.btbh.item.ItemModelProvider; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.inventory.EntityEquipmentSlot; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft...
remove
src/main/java/com/emyxam/btbh/item/armors/marvel/ItemCaptainArmor.java
remove
<ide><path>rc/main/java/com/emyxam/btbh/item/armors/marvel/ItemCaptainArmor.java <ide> <ide> import java.util.ArrayList; <ide> import java.util.List; <del> <del>/** <del> * Created by Emyxam on 01/07/2017. <del> */ <ide> <ide> public class ItemCaptainArmor extends net.minecraft.item.ItemArmor implements ItemModelProv...
Java
apache-2.0
a9ce81a8120298b822923775bdbd1a20f08fd330
0
consulo/hub.consulo.io
package consulo.webService.plugins.ui; import java.text.DateFormatSymbols; import java.util.*; import java.util.stream.Collectors; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.Multimap; import ...
frontend/src/main/java/consulo/webService/plugins/ui/RepositoryChannelUI.java
package consulo.webService.plugins.ui; import java.text.DateFormatSymbols; import java.util.*; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import com.google.common.collect.ArrayListMultimap; import com.google.common.collect.Multimap; import com.google.common.collect.SortedSetM...
show download statistics only for current channel not all
frontend/src/main/java/consulo/webService/plugins/ui/RepositoryChannelUI.java
show download statistics only for current channel not all
<ide><path>rontend/src/main/java/consulo/webService/plugins/ui/RepositoryChannelUI.java <ide> <ide> import java.text.DateFormatSymbols; <ide> import java.util.*; <add>import java.util.stream.Collectors; <ide> <ide> import org.jetbrains.annotations.NotNull; <ide> import org.jetbrains.annotations.Nullable; <ide> { <ide...
Java
lgpl-2.1
063e4d8434f7d517355387c3cebb86837aa21286
0
CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine,CloverETL/CloverETL-Engine
/* * jETeL/Clover - Java based ETL application framework. * Copyright (C) 2002-04 David Pavlis <david_pavlis@hotmail.com> * * 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 Foundat...
cloveretl.engine/src/org/jetel/graph/TransformationGraphAnalyzer.java
/* * jETeL/Clover - Java based ETL application framework. * Copyright (C) 2002-04 David Pavlis <david_pavlis@hotmail.com> * * 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 Foundat...
UPDATE: empty phase has to be still part of the graph - for server phases synchronization. git-svn-id: 7003860f782148507aa0d02fa3b12992383fb6a5@7655 a09ad3ba-1a0f-0410-b1b9-c67202f10d70
cloveretl.engine/src/org/jetel/graph/TransformationGraphAnalyzer.java
UPDATE: empty phase has to be still part of the graph - for server phases synchronization.
<ide><path>loveretl.engine/src/org/jetel/graph/TransformationGraphAnalyzer.java <ide> for(Node node : nodesToRemove) { <ide> phases[i].deleteNode(node); <ide> } <del> <del> if (phases[i].getNodes().isEmpty()) { <del> graph.removePhase(phases[i]); <...
Java
apache-2.0
error: pathspec 'src/test/java/io/rocketscience/java/lang/CauseTest.java' did not match any file(s) known to git
8e28a5486e7dc57f6772e3526aafcc4735f2635e
1
amygithub/vavr,ummels/vavr,amygithub/vavr,ummels/vavr,dx-pbuckley/vavr,dx-pbuckley/vavr
package io.rocketscience.java.lang; import static org.fest.assertions.api.Assertions.assertThat; import org.junit.Test; public class CauseTest { @Test public void testName() throws Exception { final Cause cause = Cause.of(new OutOfMemoryError()); assertThat(cause.isFatal()).isTrue(); } }
src/test/java/io/rocketscience/java/lang/CauseTest.java
unit tests
src/test/java/io/rocketscience/java/lang/CauseTest.java
unit tests
<ide><path>rc/test/java/io/rocketscience/java/lang/CauseTest.java <add>package io.rocketscience.java.lang; <add> <add>import static org.fest.assertions.api.Assertions.assertThat; <add> <add>import org.junit.Test; <add> <add>public class CauseTest { <add> <add> @Test <add> public void testName() throws Exception { <add>...
JavaScript
mit
286175530dbc2e16893b7c12821ca382ec6756c5
0
casal033/UMM3601ursamajor,casal033/UMM3601ursamajor,casal033/UMM3601ursamajor
'use strict'; angular.module('umm3601ursamajorApp') .controller('StatuseditorCtrl', function ($scope, $http, Auth, $location, User, Modal, socket) { if(Auth.isAdmin() || Auth.isChair()) { } else { $location.path('/'); } $scope.users = User.query(); $scope.isAdmin =...
client/app/statuseditor/statuseditor.controller.js
'use strict'; angular.module('umm3601ursamajorApp') .controller('StatuseditorCtrl', function ($scope, $http, Auth, $location, User, Modal, socket) { if(Auth.isAdmin() || Auth.isChair()) { } else { $location.path('/'); } $scope.users = User.query(); $scope.isAdmin =...
Ordered statuses in editor
client/app/statuseditor/statuseditor.controller.js
Ordered statuses in editor
<ide><path>lient/app/statuseditor/statuseditor.controller.js <ide> <ide> $http.get('/api/statuss').success(function(statusArray) { <ide> $scope.statusArray = statusArray; <add> $scope.statusArray.sort(function(a, b){return b.priority- a.priority}); <ide> }); <ide> <ide> ...
Java
agpl-3.0
ab6ad24312c9e6df0b52556a821be4609f1c64a8
0
ngaut/sql-layer,qiuyesuifeng/sql-layer,wfxiang08/sql-layer-1,relateiq/sql-layer,relateiq/sql-layer,ngaut/sql-layer,jaytaylor/sql-layer,wfxiang08/sql-layer-1,wfxiang08/sql-layer-1,relateiq/sql-layer,shunwang/sql-layer-1,shunwang/sql-layer-1,relateiq/sql-layer,ngaut/sql-layer,wfxiang08/sql-layer-1,shunwang/sql-layer-1,ja...
package com.akiban.cserver.service.memcache; import java.io.ByteArrayOutputStream; import java.util.Map; import java.util.Set; import com.akiban.cserver.service.session.Session; import com.akiban.cserver.service.session.SessionImpl; import org.apache.commons.logging.Log; import org.apache.commons.logging.Log...
src/main/java/com/akiban/cserver/service/memcache/AkibanCommandHandler.java
package com.akiban.cserver.service.memcache; import java.io.ByteArrayOutputStream; import java.nio.ByteBuffer; import java.util.Map; import java.util.Set; import com.akiban.cserver.service.session.Session; import com.akiban.cserver.service.session.SessionImpl; import org.apache.commons.logging.Log; import o...
Removing an unneeded (and expensive!) ByteBuffer allocation
src/main/java/com/akiban/cserver/service/memcache/AkibanCommandHandler.java
Removing an unneeded (and expensive!) ByteBuffer allocation
<ide><path>rc/main/java/com/akiban/cserver/service/memcache/AkibanCommandHandler.java <ide> package com.akiban.cserver.service.memcache; <ide> <ide> import java.io.ByteArrayOutputStream; <del>import java.nio.ByteBuffer; <ide> import java.util.Map; <ide> import java.util.Set; <ide> <ide> */ <ide> @Override <i...
JavaScript
mit
05c5fa057dcd885191cb504db72cff10fef80ee5
0
syzoj/syzoj,syzoj/syzoj
let Problem = syzoj.model('problem'); let JudgeState = syzoj.model('judge_state'); let FormattedCode = syzoj.model('formatted_code'); let CustomTest = syzoj.model('custom_test'); let WaitingJudge = syzoj.model('waiting_judge'); let Contest = syzoj.model('contest'); let ProblemTag = syzoj.model('problem_tag'); let Probl...
modules/problem.js
let Problem = syzoj.model('problem'); let JudgeState = syzoj.model('judge_state'); let FormattedCode = syzoj.model('formatted_code'); let CustomTest = syzoj.model('custom_test'); let WaitingJudge = syzoj.model('waiting_judge'); let Contest = syzoj.model('contest'); let ProblemTag = syzoj.model('problem_tag'); let Probl...
Fix have_additional_file always true
modules/problem.js
Fix have_additional_file always true
<ide><path>odules/problem.js <ide> limit_and_hint: problem.limit_and_hint, <ide> time_limit: problem.time_limit, <ide> memory_limit: problem.memory_limit, <del> have_additional_file: problem.additional_file_id !== null, <add> have_additional_file: problem.additional_file_id != null, <ide> ...
Java
apache-2.0
12db8730028519d141f41fb88ae2d618458a6737
0
spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework,spring-projects/spring-framework
/* * Copyright 2002-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 ap...
spring-web/src/main/java/org/springframework/web/context/request/RequestAttributes.java
/* * Copyright 2002-2012 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 ap...
Polish Javadoc in RequestAttributes
spring-web/src/main/java/org/springframework/web/context/request/RequestAttributes.java
Polish Javadoc in RequestAttributes
<ide><path>pring-web/src/main/java/org/springframework/web/context/request/RequestAttributes.java <ide> /* <del> * Copyright 2002-2012 the original author or authors. <add> * Copyright 2002-2013 the original author or authors. <ide> * <ide> * Licensed under the Apache License, Version 2.0 (the "License"); <ide> * yo...
Java
agpl-3.0
1b3dff8cf4d55149dcae3081ca0e9a3626179480
0
o2oa/o2oa,o2oa/o2oa,o2oa/o2oa,o2oa/o2oa,o2oa/o2oa
package com.x.base.core.project; import com.x.base.core.project.annotation.Module; import com.x.base.core.project.annotation.ModuleCategory; import com.x.base.core.project.annotation.ModuleType; @Module(type = ModuleType.ASSEMBLE, category = ModuleCategory.OFFICIAL, name = "工作任务管理", packageName = "com.x.teamwork.asse...
o2server/x_base_core_project/src/main/java/com/x/base/core/project/x_teamwork_assemble_control.java
package com.x.base.core.project; import com.x.base.core.project.annotation.Module; import com.x.base.core.project.annotation.ModuleCategory; import com.x.base.core.project.annotation.ModuleType; @Module(type = ModuleType.ASSEMBLE, category = ModuleCategory.OFFICIAL, name = "工作任务管理", packageName = "com.x.teamwork.asse...
teamwork添加自定义字段服务
o2server/x_base_core_project/src/main/java/com/x/base/core/project/x_teamwork_assemble_control.java
teamwork添加自定义字段服务
<ide><path>2server/x_base_core_project/src/main/java/com/x/base/core/project/x_teamwork_assemble_control.java <ide> @Module(type = ModuleType.ASSEMBLE, category = ModuleCategory.OFFICIAL, name = "工作任务管理", packageName = "com.x.teamwork.assemble.control", <ide> containerEntities = { <ide> "com.x.teamwork.core.entity.P...
Java
apache-2.0
cd3a0b0f17f142cb09a829594162845788e0b18e
0
okankurtulus/droidparts,yanchenko/droidparts,b-cuts/droidparts,vovan888/droidparts,droidparts/droidparts
/** * Copyright 2012 Alex Yanchenko * * 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 ...
extra/src/org/droidparts/net/http/HTTPException.java
/** * Copyright 2012 Alex Yanchenko * * 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 ...
Simplified HTTPException 2.
extra/src/org/droidparts/net/http/HTTPException.java
Simplified HTTPException 2.
<ide><path>xtra/src/org/droidparts/net/http/HTTPException.java <ide> super(cause); <ide> } <ide> <del> public HTTPException(int respCode, String respMsg) { <del> super(respMsg); <add> public HTTPException(int respCode, String respBody) { <add> super(respBody); <ide> this.respCode = respCode; <ide> } <ide> <id...
Java
mit
e0c7c2ef7503aa868503216698d1d251946667d3
0
uq-eresearch/aorra,uq-eresearch/aorra,uq-eresearch/aorra,uq-eresearch/aorra
package charts.builder; import java.lang.reflect.Modifier; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; import org.reflections.Reflections; import play.Logger; import charts.Chart; import charts.ChartType; import charts.Region; import com.google.common.coll...
app/charts/builder/DefaultChartBuilder.java
package charts.builder; import java.lang.reflect.Modifier; import java.util.Collections; import java.util.Comparator; import java.util.List; import java.util.Map; import org.reflections.Reflections; import play.Logger; import charts.Chart; import charts.ChartType; import charts.Region; import com.google.common.coll...
log exception through logger rather than to stdout
app/charts/builder/DefaultChartBuilder.java
log exception through logger rather than to stdout
<ide><path>pp/charts/builder/DefaultChartBuilder.java <ide> result.addAll(charts); <ide> } <ide> } catch(Exception e) { <del> e.printStackTrace(); <add> Logger.warn(String.format("caught exception while building charts (type %s," + <add> " regions %s, parameters %s)", ...
JavaScript
mit
5ea68b6a7f705d51e98585e9f135d2ea39f0ece9
0
ampatspell/ember-cli-sofa,ampatspell/ember-cli-sofa
/* global emit */ import Ember from 'ember'; import { configurations, registerModels, registerQueries, registerRelationships, cleanup, next, wait } from '../helpers/setup'; import { Relationship, Query, Model, prefix, hasMany } from 'sofa'; const { computed, RSVP: { all } } = Ember; const ddoc = { views: { ...
tests/unit/has-many-collection-test.js
/* global emit */ import Ember from 'ember'; import { configurations, registerModels, registerQueries, registerRelationships, cleanup, next, wait } from '../helpers/setup'; import { Relationship, Query, Model, prefix, hasMany } from 'sofa'; const { computed, RSVP: { all } } = Ember; const ddoc = { views: { ...
test.only removed
tests/unit/has-many-collection-test.js
test.only removed
<ide><path>ests/unit/has-many-collection-test.js <ide> }); <ide> }); <ide> <del> test.only('destroy', assert => { <add> test('destroy', assert => { <ide> let root; <ide> let relation; <ide> return all([ 'yellow', 'red', 'green' ].map(id => db.model('duck', { id }).save())).then(() => {
Java
apache-2.0
4a5567433c7a76826dbacff29caf4821f8c13fc4
0
xmpace/jetty-read,xmpace/jetty-read,xmpace/jetty-read,xmpace/jetty-read
// // ======================================================================== // Copyright (c) 1995-2013 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
jetty-util/src/main/java/org/eclipse/jetty/util/ajax/JSONEnumConvertor.java
// // ======================================================================== // Copyright (c) 1995-2013 Mort Bay Consulting Pty. Ltd. // ------------------------------------------------------------------------ // All rights reserved. This program and the accompanying materials // are made available under the ter...
413372 JSON Enum uses name rather than toString()
jetty-util/src/main/java/org/eclipse/jetty/util/ajax/JSONEnumConvertor.java
413372 JSON Enum uses name rather than toString()
<ide><path>etty-util/src/main/java/org/eclipse/jetty/util/ajax/JSONEnumConvertor.java <ide> if (_fromJSON) <ide> { <ide> out.addClass(obj.getClass()); <del> out.add("value",obj.toString()); <add> out.add("value",((Enum)obj).name()); <ide> } <ide> else <i...
Java
apache-2.0
695afb4ac009b1e3f31747f2150e1982de26356a
0
telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,telstra/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,telstra/open-kilda,jonvestal/open-kilda,telstra/open-kilda,jonvestal/open-kilda,jonvestal/open-kilda
/* Copyright 2019 Telstra Open Source * * 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...
services/wfm/src/main/java/org/openkilda/wfm/topology/floodlightrouter/FloodlightRouterTopology.java
/* Copyright 2019 Telstra Open Source * * 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...
FloodlightRouter parallelism tune
services/wfm/src/main/java/org/openkilda/wfm/topology/floodlightrouter/FloodlightRouterTopology.java
FloodlightRouter parallelism tune
<ide><path>ervices/wfm/src/main/java/org/openkilda/wfm/topology/floodlightrouter/FloodlightRouterTopology.java <ide> builder.setBolt(ComponentType.SPEAKER_FLOW_REQUEST_BOLT, speakerFlowRequestBolt, parallelism) <ide> .shuffleGrouping(ComponentType.SPEAKER_FLOW_KAFKA_SPOUT) <ide> ...
Java
unlicense
dce8e7bb8600f7b6371b1187ab8afb946f61d451
0
carlosefonseca/CEFCommon
package com.carlosefonseca.common.utils; import android.content.Context; import android.content.res.Configuration; import android.content.res.Resources; import android.graphics.*; import android.graphics.drawable.BitmapDrawable; import android.media.ExifInterface; import android.os.AsyncTask; import android.os.Build; ...
src/main/java/com/carlosefonseca/common/utils/ImageUtils.java
package com.carlosefonseca.common.utils; import android.content.Context; import android.content.res.Configuration; import android.content.res.Resources; import android.graphics.*; import android.graphics.drawable.BitmapDrawable; import android.media.ExifInterface; import android.os.AsyncTask; import android.os.Build; ...
Possible fix to BitmapCache
src/main/java/com/carlosefonseca/common/utils/ImageUtils.java
Possible fix to BitmapCache
<ide><path>rc/main/java/com/carlosefonseca/common/utils/ImageUtils.java <ide> } <ide> <ide> public static int sizeBitmap(Bitmap bitmap) { <del> if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) return bitmap.getAllocationByteCount(); <del> return bitmap.getRowBytes() * bitm...