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
JavaScript
mit
ec95bc14bcad420725150f05620892955350bc42
0
jjhampton/cross-pollinate,jjhampton/cross-pollinate
import Ember from 'ember'; export default Ember.Route.extend({ model: function() { return this.store.findAll('problem'); }, actions: { getResults: function() { var query; function escapeRegExp(string) { return string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); } query = ...
app/routes/index.js
import Ember from 'ember'; export default Ember.Route.extend({ model: function() { return this.store.findAll('problem'); }, actions: { getResults: function() { var query; function escapeRegExp(string) { return string.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&'); } query = ...
Log names to console of problems that match a keyword query
app/routes/index.js
Log names to console of problems that match a keyword query
<ide><path>pp/routes/index.js <ide> }).then(function(response) { <ide> console.log(response.content); <ide> response.content.forEach(function(element) { <del> console.log(element.id); <add> console.log(element._data.name); <ide> }); <ide> }); <del> <ide> } <ide>...
Java
agpl-3.0
8e90ef1e69833e7a41133539e58bd975735752f8
0
TheLanguageArchive/YAMS,TheLanguageArchive/YAMS,TheLanguageArchive/YAMS
/** * Copyright (C) 2013 The Language Archive, Max Planck Institute for * Psycholinguistics * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your o...
yams-cs-connector/src/main/java/nl/mpi/yams/cs/connector/CorpusNodeWrapper.java
/** * Copyright (C) 2013 The Language Archive, Max Planck Institute for * Psycholinguistics * * This program is free software; you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your o...
Added graceful handling of archive objects without persistent identifiers.
yams-cs-connector/src/main/java/nl/mpi/yams/cs/connector/CorpusNodeWrapper.java
Added graceful handling of archive objects without persistent identifiers.
<ide><path>ams-cs-connector/src/main/java/nl/mpi/yams/cs/connector/CorpusNodeWrapper.java <ide> */ <ide> package nl.mpi.yams.cs.connector; <ide> <add>import java.net.URI; <ide> import nl.mpi.archiving.corpusstructure.core.CorpusNode; <ide> import nl.mpi.archiving.corpusstructure.provider.AccessInfoProvider; <ide> imp...
Java
apache-2.0
1c5d882a848960659b3f30ed6c8fa44196b71a98
0
rwl/requestfactory-addon
package org.springframework.roo.classpath.converters; import static org.springframework.roo.project.ContextualPath.MODULE_PATH_SEPARATOR; import java.math.BigDecimal; import java.math.BigInteger; import java.util.Arrays; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.L...
classpath/src/main/java/org/springframework/roo/classpath/converters/JavaTypeConverter.java
package org.springframework.roo.classpath.converters; import static org.springframework.roo.project.ContextualPath.MODULE_PATH_SEPARATOR; import java.math.BigDecimal; import java.math.BigInteger; import java.util.Arrays; import java.util.Calendar; import java.util.Collection; import java.util.Date; import java.util.L...
ROO-120: Support multi module Maven projects - JavaTypeConverter now only focusses the converted type's module if the optionContext contains "update"
classpath/src/main/java/org/springframework/roo/classpath/converters/JavaTypeConverter.java
ROO-120: Support multi module Maven projects - JavaTypeConverter now only focusses the converted type's module if the optionContext contains "update"
<ide><path>lasspath/src/main/java/org/springframework/roo/classpath/converters/JavaTypeConverter.java <ide> module = projectOperations.getPomManagementService().getPomFromModuleName(moduleName); <ide> topLevelPath = typeLocationService.getTopLevelPackageForModule(module); <ide> value = value.substring(value.in...
Java
lgpl-2.1
11412c960233114f24c2da13edbd4ff9a6f6ca3a
0
threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya
// // $Id$ // // Narya library - tools for developing networked games // Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved // http://www.threerings.net/code/narya/ // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public Licens...
src/java/com/threerings/crowd/chat/client/ChatDirector.java
// // $Id$ // // Narya library - tools for developing networked games // Copyright (C) 2002-2004 Three Rings Design, Inc., All Rights Reserved // http://www.threerings.net/code/narya/ // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public Licens...
Implemented a standard /tell handler. git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@4040 542714f4-19e9-0310-aa3c-eee0fc999fb1
src/java/com/threerings/crowd/chat/client/ChatDirector.java
Implemented a standard /tell handler.
<ide><path>rc/java/com/threerings/crowd/chat/client/ChatDirector.java <ide> } <ide> } <ide> <add> /** Implements <code>/tell</code>. */ <add> protected class TellHandler extends CommandHandler <add> { <add> public String handleCommand ( <add> SpeakService speakSvc, final String c...
Java
apache-2.0
5b4fef3eda3928c5a5a4bd8a63aafc560c7abf4a
0
kalaspuffar/pdfbox,kalaspuffar/pdfbox,apache/pdfbox,apache/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/pdmodel/PDDocument.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-3017: make comment even scarier, as suggested by mkl in SO 52942313 comment git-svn-id: c3ad59981690829a43dc34c293c4e2cd04bcd994@1844680 13f79535-47bb-0310-9956-ffa450edef68
pdfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java
PDFBOX-3017: make comment even scarier, as suggested by mkl in SO 52942313 comment
<ide><path>dfbox/src/main/java/org/apache/pdfbox/pdmodel/PDDocument.java <ide> * Save the PDF as an incremental update. This is only possible if the PDF was loaded from a <ide> * file or a stream, not if the document was created in PDFBox itself. <ide> * <del> * @param output stream to write to. It w...
Java
apache-2.0
7b64aefd9b0ecfc181f5b57e98bede3b10dc9779
0
CloudifySource/cloudify-widget,CloudifySource/cloudify-widget,CloudifySource/cloudify-widget,CloudifySource/cloudify-widget
/******************************************************************************* * Copyright (c) 2011 GigaSpaces Technologies Ltd. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of th...
app/utils/CloudifyUtils.java
/******************************************************************************* * Copyright (c) 2011 GigaSpaces Technologies Ltd. All rights reserved * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of th...
cloud bootstrap config bean not concatenating zone with other params
app/utils/CloudifyUtils.java
cloud bootstrap config bean not concatenating zone with other params
<ide><path>pp/utils/CloudifyUtils.java <ide> cloudProperties.add("keyFile=" + '"' + newPemFile.getName() +".pem" + '"'); <ide> cloudProperties.add("keyPair=" + '"' + newPemFile.getName() + '"'); <ide> cloudProperties.add("securityGroup=" + '"' + cloudConf.securityGroup + '"'); <del> cloudProperties.add("hardware...
Java
apache-2.0
d3159347937bcad6032b8c4a8edc538484334da2
0
neo4j/neo4j-ogm,neo4j/neo4j-ogm,neo4j/neo4j-ogm,neo4j/neo4j-ogm
/* * Copyright (c) 2002-2021 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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....
core/src/main/java/org/neo4j/ogm/metadata/ClassInfo.java
/* * Copyright (c) 2002-2021 "Neo4j," * Neo4j Sweden AB [http://neo4j.com] * * This file is part of Neo4j. * * 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....
Fix spelling mistake.
core/src/main/java/org/neo4j/ogm/metadata/ClassInfo.java
Fix spelling mistake.
<ide><path>ore/src/main/java/org/neo4j/ogm/metadata/ClassInfo.java <ide> <ide> public FieldInfo primaryIndexField() { <ide> <del> return getOrComputePimaryIndexField().orElse(null); <del> } <del> <del> private Optional<FieldInfo> getOrComputePimaryIndexField() { <add> return getOrComputePrimar...
JavaScript
apache-2.0
9c2f6ab1ef7ff58749a73bba01e25ab7fc91577c
0
learningtapestry/lrmi-tagger,learningtapestry/lrmi-tagger
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ function h...
public/appmain-expanded.js
/*! * jQuery JavaScript Library v1.8.3 * http://jquery.com/ * * Includes Sizzle.js * http://sizzlejs.com/ * * Copyright 2012 jQuery Foundation and other contributors * Released under the MIT license * http://jquery.org/license * * Date: Tue Nov 13 2012 08:20:33 GMT-0500 (Eastern Standard Time) */ function h...
Javascript reduction.
public/appmain-expanded.js
Javascript reduction.
<ide><path>ublic/appmain-expanded.js <ide> }) <ide> } <ide> <del>function clearTimeRequired() { <del> $("#slideryears").slider({ <del> value: 0 <del> }), $("#slidermonths").slider({ <del> value: 0 <del> }), $("#sliderweeks").slider({ <del> value: 0 <del> }), $("#sliderdays").slider...
Java
epl-1.0
bc69f2fa9de9bebfe9f5cfcf78ac620aa9546bc5
0
opendaylight/bgpcep
/* * Copyright (c) 2013 Cisco Systems, Inc. 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 available at http://www.eclipse.org/legal/epl-v10.html */ /** * Gener...
bgp/rib-impl/src/main/java/org/opendaylight/controller/config/yang/bgp/rib/impl/BGPPeerModule.java
/* * Copyright (c) 2013 Cisco Systems, Inc. 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 available at http://www.eclipse.org/legal/epl-v10.html */ /** * Gener...
BGPPeerModule type change AfiSafiKey -> BgpTableType Change-Id: I341dcdf01fc3e4919207844e93fcb7b679947f0a Signed-off-by: Iveta Halanova <8b589825b4810f4ada4179dd6be5a16ddef9718b@cisco.com>
bgp/rib-impl/src/main/java/org/opendaylight/controller/config/yang/bgp/rib/impl/BGPPeerModule.java
BGPPeerModule type change
<ide><path>gp/rib-impl/src/main/java/org/opendaylight/controller/config/yang/bgp/rib/impl/BGPPeerModule.java <ide> import org.opendaylight.protocol.bgp.openconfig.spi.BGPOpenconfigMapper; <ide> import org.opendaylight.protocol.bgp.openconfig.spi.InstanceConfigurationIdentifier; <ide> import org.opendaylight.protocol.bg...
Java
apache-2.0
29dc5589a66e6f20603ea94a281398304717fcb1
0
SyncFree/SwiftCloud,SyncFree/SwiftCloud,SyncFree/SwiftCloud,SyncFree/SwiftCloud
package sys.utils; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.ReentrantLock; /** * A collection of convenience methods for dealing ...
src-core/sys/utils/Threading.java
package sys.utils; import java.util.HashMap; import java.util.Map; import java.util.concurrent.ExecutorService; import java.util.concurrent.ThreadFactory; import java.util.concurrent.TimeUnit; import java.util.concurrent.locks.ReentrantLock; /** * A collection of convenience methods for dealing with threads. * * ...
Re-implements Locking support in sys.utils to use ConcurrentHashMap
src-core/sys/utils/Threading.java
Re-implements Locking support in sys.utils to use ConcurrentHashMap
<ide><path>rc-core/sys/utils/Threading.java <ide> package sys.utils; <ide> <del>import java.util.HashMap; <ide> import java.util.Map; <add>import java.util.concurrent.ConcurrentHashMap; <ide> import java.util.concurrent.ExecutorService; <ide> import java.util.concurrent.ThreadFactory; <ide> import java.util.concurrent...
Java
apache-2.0
9e0496bb27e0d111d781cb02ebb4ac1eeb4fb41a
0
linkedin/pinot,linkedin/pinot,linkedin/pinot,linkedin/pinot,linkedin/pinot
/** * 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...
pinot-broker/src/test/java/org/apache/pinot/broker/requesthandler/LiteralOnlyBrokerRequestTest.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...
(Minor) Remove the console output in LiteralOnlyBrokerRequestTest (#5585)
pinot-broker/src/test/java/org/apache/pinot/broker/requesthandler/LiteralOnlyBrokerRequestTest.java
(Minor) Remove the console output in LiteralOnlyBrokerRequestTest (#5585)
<ide><path>inot-broker/src/test/java/org/apache/pinot/broker/requesthandler/LiteralOnlyBrokerRequestTest.java <ide> @Test <ide> public void testSelectStarBrokerRequestFromSQL() { <ide> Assert.assertTrue(BaseBrokerRequestHandler.isLiteralOnlyQuery(SQL_COMPILER.compileToBrokerRequest("SELECT '*'"))); <del> Ass...
Java
apache-2.0
3d71d764d186ee194ce5864fde2f706c6e0821e8
0
apache/isis,apache/isis,apache/isis,apache/isis,apache/isis,apache/isis
/* * 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")...
extensions/security/secman/model/src/main/java/org/apache/isis/extensions/secman/model/facets/TenantedAuthorizationPostProcessor.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")...
ISIS-2619: fixes code compilation issue
extensions/security/secman/model/src/main/java/org/apache/isis/extensions/secman/model/facets/TenantedAuthorizationPostProcessor.java
ISIS-2619: fixes code compilation issue
<ide><path>xtensions/security/secman/model/src/main/java/org/apache/isis/extensions/secman/model/facets/TenantedAuthorizationPostProcessor.java <ide> */ <ide> package org.apache.isis.extensions.secman.model.facets; <ide> <add>import java.util.Optional; <ide> import java.util.stream.Collectors; <ide> <ide> import jav...
JavaScript
bsd-3-clause
90403154a21c654e4f0bc7258a3655ce9c1ae3c5
0
foghina/react-native,ndejesus1227/react-native,arbesfeld/react-native,exponentjs/react-native,Guardiannw/react-native,pandiaraj44/react-native,csatf/react-native,htc2u/react-native,nathanajah/react-native,Purii/react-native,htc2u/react-native,jeffchienzabinet/react-native,csatf/react-native,MattFoley/react-native,jason...
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
Libraries/Utilities/BackAndroid.android.js
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
Snapshot the Set of listeners when dispatching a BackAndroid event Summary: …while an event is dispatched While it is guarded, a copy of the Set is created before listeners are added or removed. The event dispatch loop continues with the old Set of listeners. This PR modifies `BackAndroid` to match the proposal at t...
Libraries/Utilities/BackAndroid.android.js
Snapshot the Set of listeners when dispatching a BackAndroid event
<ide><path>ibraries/Utilities/BackAndroid.android.js <ide> var _backPressSubscriptions = new Set(); <ide> <ide> RCTDeviceEventEmitter.addListener(DEVICE_BACK_EVENT, function() { <add> var backPressSubscriptions = new Set(_backPressSubscriptions); <ide> var invokeDefault = true; <del> _backPressSubscriptions.forEac...
Java
bsd-3-clause
f98144088022dfba624ce1ba6e495920d1317fba
0
lrytz/asm,lrytz/asm
/*** * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000,2002,2003 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistrib...
src/org/objectweb/asm/ClassReader.java
/*** * ASM: a very small and fast Java bytecode manipulation framework * Copyright (c) 2000,2002,2003 INRIA, France Telecom * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistrib...
added readByte method
src/org/objectweb/asm/ClassReader.java
added readByte method
<ide><path>rc/org/objectweb/asm/ClassReader.java <ide> // -------------------------------------------------------------------------- <ide> // Utility methods: low level parsing <ide> // -------------------------------------------------------------------------- <add> <add> /** <add> * Reads a byte value in {@li...
Java
mit
919aa3c4d8884c5f6497809b8a6e12f8590a3266
0
yeyu456/Data-Structures-And-Algorithms
package com.algorithms.sort.insertion; import com.algorithms.sort.Sort; /** * Shell Sort Implement * 希尔排序实现 */ public class ShellSort extends InsertionSort { /** * By Donald L. Shell, 1959 * @param data 待排序数组 */ @Override public void sort(int[] data) { if (!valid(data)) { ...
src/com/algorithms/sort/insertion/ShellSort.java
package com.algorithms.sort.insertion; import com.algorithms.sort.Sort; /** * Shell Sort Implement * 希尔排序实现 */ public class ShellSort extends InsertionSort { /** * By Donald L. Shell, 1959 * @param data 待排序数组 */ @Override public void sort(int[] data) { if (!valid(data)) { ...
add variant shell sort
src/com/algorithms/sort/insertion/ShellSort.java
add variant shell sort
<ide><path>rc/com/algorithms/sort/insertion/ShellSort.java <ide> } <ide> <ide> /** <del> * By Vaughan Pratt, 1971 <add> * By Pratt, 1971 <ide> * @param data 待排序数组 <ide> */ <del> public void pt71(int[] data) { <add> public void pr71(int[] data) { <add> if (!valid(data)) { <add> ...
Java
agpl-3.0
13af995e8c28dd52280787f77af339c76487f780
0
Peergos/Peergos,Peergos/Peergos,ianopolous/Peergos,ianopolous/Peergos,ianopolous/Peergos,Peergos/Peergos
package peergos.server; import peergos.shared.*; import peergos.shared.corenode.*; import peergos.shared.crypto.hash.*; import peergos.shared.io.ipfs.multihash.*; import peergos.shared.user.*; import java.io.*; import java.net.*; import java.nio.file.*; import java.time.*; import java.util.*; import java.util.concurr...
src/peergos/server/UserStats.java
package peergos.server; import peergos.shared.*; import peergos.shared.corenode.*; import peergos.shared.crypto.hash.*; import peergos.shared.io.ipfs.multihash.*; import peergos.shared.user.*; import java.io.*; import java.net.*; import java.nio.file.*; import java.time.*; import java.util.*; import java.util.concurr...
Improve error logging in stats
src/peergos/server/UserStats.java
Improve error logging in stats
<ide><path>rc/peergos/server/UserStats.java <ide> NetworkAccess network = Builder.buildJavaNetworkAccess(new URL("https://beta.peergos.net"), true).get(); <ide> List<String> usernames = network.coreNode.getUsernames("").get(); <ide> ForkJoinPool pool = new ForkJoinPool(20); <add> List<Str...
Java
apache-2.0
a41c4f04bcee2ff72de100209823f7a1d5e5cebe
0
SpiralsSeminaire/openwayback,zubairkhatri/openwayback,bitzl/openwayback,efundamentals/openwayback,MohammedElsayyed/openwayback,kris-sigur/openwayback,kris-sigur/openwayback,iipc/openwayback,iipc/openwayback,JesseWeinstein/openwayback,nla/openwayback,SpiralsSeminaire/openwayback,sul-dlss/openwayback,kris-sigur/openwayba...
/* BaseReplayRenderer * * $Id$ * * Created on 12:35:07 PM Apr 24, 2006. * * Copyright (C) 2006 Internet Archive. * * This file is part of wayback. * * wayback is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser Public License as published by * the Free Software Fou...
wayback-core/src/main/java/org/archive/wayback/replay/BaseReplayRenderer.java
/* BaseReplayRenderer * * $Id$ * * Created on 12:35:07 PM Apr 24, 2006. * * Copyright (C) 2006 Internet Archive. * * This file is part of wayback. * * wayback is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser Public License as published by * the Free Software Fou...
FEATURE: added getters/setters for Spring configuration of the various error rendering .jsps git-svn-id: ca6d9ebf75caaf710f0e3a4ee74a890c456d4c90@1812 69e27eb3-6e27-0410-b9c6-fffd7e226fab
wayback-core/src/main/java/org/archive/wayback/replay/BaseReplayRenderer.java
FEATURE: added getters/setters for Spring configuration of the various error rendering .jsps
<ide><path>ayback-core/src/main/java/org/archive/wayback/replay/BaseReplayRenderer.java <ide> import org.archive.wayback.ResultURIConverter; <ide> import org.archive.wayback.WaybackConstants; <ide> import org.archive.wayback.archivalurl.TagMagix; <del>import org.archive.wayback.core.PropertyConfiguration; <add>//import...
JavaScript
mit
d4354cc908db8ad7e9d32fe79bf03b0d3596f89b
0
RobLoach/kss-node,RobLoach/kss-node,RobLoach/kss-node
/* eslint-disable max-nested-callbacks */ 'use strict'; describe('KssStyleGuide object API', function() { before(function() { return Promise.all([ helperUtils.traverseFixtures({mask: /(sections\-queries|sections\-order|property\-styleguide\-word\-keys)\.less/}).then(styleGuide => { this.styleGuide...
test/test_kss_styleguide.js
/* eslint-disable max-nested-callbacks */ 'use strict'; describe('KssStyleGuide object API', function() { before(function() { return Promise.all([ helperUtils.traverseFixtures({mask: /(sections\-queries|sections\-order|property\-styleguide\-word\-keys)\.less/}).then(styleGuide => { this.styleGuide...
Add 100% test coverage for kss_styleguide. #267
test/test_kss_styleguide.js
Add 100% test coverage for kss_styleguide. #267
<ide><path>est/test_kss_styleguide.js <ide> }); <ide> <ide> describe('.init()', function() { <del> it('should do things'); <add> it('it should re-sort the style guide when new sections are added', function() { <add> let styleGuide = new kss.KssStyleGuide({ <add> sections: [ <add> {header...
Java
apache-2.0
20f9910f6ab61dd9244ca9b485161892e6c9120b
0
optimizely/android-sdk,optimizely/android-sdk,optimizely/android-sdk
/**************************************************************************** * Copyright 2017, Optimizely, Inc. and contributors * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you m...
test-app/src/main/java/com/optimizely/ab/android/test_app/MyApplication.java
/**************************************************************************** * Copyright 2017, Optimizely, Inc. and contributors * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you m...
Add documentation for not persisting userId in teset app for QA purposes.
test-app/src/main/java/com/optimizely/ab/android/test_app/MyApplication.java
Add documentation for not persisting userId in teset app for QA purposes.
<ide><path>est-app/src/main/java/com/optimizely/ab/android/test_app/MyApplication.java <ide> String id = sharedPreferences.getString("userId", null); <ide> if (id == null) { <ide> id = UUID.randomUUID().toString(); <add> <add> // comment this out to get a brand new user id every t...
Java
agpl-3.0
b6541e4d8f59be13fdf0cf17ce2c47a0497b1e52
0
geothomasp/kcmit,geothomasp/kcmit,geothomasp/kcmit,geothomasp/kcmit,geothomasp/kcmit
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2015 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eithe...
coeus-impl/src/test/java/org/kuali/kra/award/awardhierarchy/AwardHierarchyBeanTest.java
/* * Kuali Coeus, a comprehensive research administration system for higher education. * * Copyright 2005-2015 Kuali, Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, eithe...
RESOPS-126:Fix up unit test to avoid globalVariableService #norelease Recent change caused a unit test failure due to a switch to using globalVariableService and removing an old workaround that allowed the unit test to work.
coeus-impl/src/test/java/org/kuali/kra/award/awardhierarchy/AwardHierarchyBeanTest.java
RESOPS-126:Fix up unit test to avoid globalVariableService #norelease
<ide><path>oeus-impl/src/test/java/org/kuali/kra/award/awardhierarchy/AwardHierarchyBeanTest.java <ide> <ide> @Before <ide> public void setUp() throws Exception { <del> service = new AwardHierarchyServiceImpl(); <add> service = new AwardHierarchyServiceImpl() { <add> @Override <add> ...
Java
apache-2.0
4774c1cb15fe58606fe2722748c64f6c268969cf
0
NareshkumarCIET/Cinder,krishnabrucelee/Library-Management,MonaCIET/cinder,CIETstudents/openstack-maven-CIET-students,vmturbo/openstack-java-sdk,MonaCIET/cinder,krishnabrucelee/Cinder-Krishna,zhimin711/openstack-java-sdk,KizuRos/openstack-java-sdk,krishnabrucelee/Library-Management,krishnabrucelee/ceilometerModel-Krishn...
package com.woorea.openstack.nova.model; import java.io.Serializable; import java.util.Iterator; import java.util.List; import org.codehaus.jackson.annotate.JsonProperty; public class Hosts implements Iterable<Hosts.Host>, Serializable { public static final class Host { private String zone; @JsonPropert...
nova-model/src/main/java/com/woorea/openstack/nova/model/Hosts.java
package com.woorea.openstack.nova.model; import java.io.Serializable; import java.util.Iterator; import java.util.List; import org.codehaus.jackson.annotate.JsonProperty; public class Hosts implements Iterable<Hosts.Host>, Serializable { public static final class Host { @JsonProperty("host_name") private S...
adding zone in model openstack api returns "zone" in response
nova-model/src/main/java/com/woorea/openstack/nova/model/Hosts.java
adding zone in model
<ide><path>ova-model/src/main/java/com/woorea/openstack/nova/model/Hosts.java <ide> public class Hosts implements Iterable<Hosts.Host>, Serializable { <ide> <ide> public static final class Host { <add> <add> private String zone; <ide> <ide> @JsonProperty("host_name") <ide> private String hostName; <ide> ...
Java
apache-2.0
d5bd55f969fd274bd50803856220904175fc086a
0
realityforge/arez,realityforge/arez,realityforge/arez
package arez.processor; import com.squareup.javapoet.ParameterizedTypeName; import com.squareup.javapoet.TypeName; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import...
processor/src/main/java/arez/processor/ProcessorUtil.java
package arez.processor; import com.squareup.javapoet.ParameterizedTypeName; import com.squareup.javapoet.TypeName; import java.util.ArrayList; import java.util.Collection; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.regex.Matcher; import java.util.regex.Pattern; import...
Suppress a warning
processor/src/main/java/arez/processor/ProcessorUtil.java
Suppress a warning
<ide><path>rocessor/src/main/java/arez/processor/ProcessorUtil.java <ide> import javax.lang.model.util.Elements; <ide> import javax.lang.model.util.Types; <ide> <add>@SuppressWarnings( "WeakerAccess" ) <ide> final class ProcessorUtil <ide> { <ide> private ProcessorUtil()
JavaScript
mit
2fd480aaed6f77a38469c8bb616b151010ac22fd
0
jnhuynh/ember-enforcer,jnhuynh/ember-enforcer
import Ember from 'ember'; const _supportedAttrTypes = { 'bool': () => { }, 'function': () => { }, 'number': (value) => { return Ember.isPresent(value) && Ember.typeOf(value) === 'number'; }, 'object': () => { }, 'string': (value) => { return Ember.isPresent(value) && Ember.typeOf(value) === ...
addon/required.js
import Ember from 'ember'; const _supportedAttrTypes = { 'bool': () => { }, 'function': () => { }, 'number': (value) => { return Ember.isPresent(value) && typeof value === 'number'; }, 'object': () => { }, 'string': (value) => { return Ember.isPresent(value) && typeof value === 'string'; },...
Use Ember.typeOf for consistent type check.
addon/required.js
Use Ember.typeOf for consistent type check.
<ide><path>ddon/required.js <ide> 'function': () => { <ide> }, <ide> 'number': (value) => { <del> return Ember.isPresent(value) && typeof value === 'number'; <add> return Ember.isPresent(value) && Ember.typeOf(value) === 'number'; <ide> }, <ide> 'object': () => { <ide> }, <ide> 'string': (value) => ...
JavaScript
mit
a1881e0799bd1f6fea590641511a24eaabf88664
0
lukecfairchild/MCJS
'use strict'; /** * @namespace */ var File = function () {}; /** * Allows you to read and return the value of a file. * @implements File * @param {String} path - Specify a target text file to read. * @return {String} */ File.prototype.read = function ( filePath ) { var path = java.nio....
MCJS/lib/globals/File.js
'use strict'; /** * @namespace */ var File = function () {}; /** * @implements File * @param {String} path - Specify a target text file to read. * @return {String} */ File.prototype.read = function ( filePath ) { var path = java.nio.file.Paths.get( PATH, filePath ).toString(); var co...
JSDoc comments
MCJS/lib/globals/File.js
JSDoc comments
<ide><path>CJS/lib/globals/File.js <ide> <ide> <ide> /** <add> * Allows you to read and return the value of a file. <ide> * @implements File <ide> * @param {String} path - Specify a target text file to read. <ide> * @return {String} <ide> <ide> <ide> /** <add> * Allows you to write data to a file. <ide> * @impl...
Java
apache-2.0
error: pathspec 'forge-addons/camel/src/main/java/io/fabric8/forge/camel/commands/jolokia/ContextInflightCommand.java' did not match any file(s) known to git
da711ce9520e07fa1833a1575262d03066bc81e8
1
jimmidyson/fabric8,christian-posta/fabric8,dhirajsb/fabric8,EricWittmann/fabric8,rajdavies/fabric8,rhuss/fabric8,zmhassan/fabric8,KurtStam/fabric8,PhilHardwick/fabric8,migue/fabric8,sobkowiak/fabric8,EricWittmann/fabric8,rnc/fabric8,gashcrumb/fabric8,dhirajsb/fabric8,sobkowiak/fabric8,christian-posta/fabric8,gashcrumb/...
/** * Copyright 2005-2014 Red Hat, Inc. * * Red Hat 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/LICENSE-2.0 * * Unless r...
forge-addons/camel/src/main/java/io/fabric8/forge/camel/commands/jolokia/ContextInflightCommand.java
#3025: reusing camel commands in forge.
forge-addons/camel/src/main/java/io/fabric8/forge/camel/commands/jolokia/ContextInflightCommand.java
#3025: reusing camel commands in forge.
<ide><path>orge-addons/camel/src/main/java/io/fabric8/forge/camel/commands/jolokia/ContextInflightCommand.java <add>/** <add> * Copyright 2005-2014 Red Hat, Inc. <add> * <add> * Red Hat licenses this file to you under the Apache License, version <add> * 2.0 (the "License"); you may not use this file except in compli...
Java
agpl-3.0
c11ea791fb6c21b89d177eff707dbc404c7d08eb
0
roskens/opennms-pre-github,roskens/opennms-pre-github,roskens/opennms-pre-github,aihua/opennms,aihua/opennms,roskens/opennms-pre-github,tdefilip/opennms,tdefilip/opennms,aihua/opennms,roskens/opennms-pre-github,aihua/opennms,aihua/opennms,tdefilip/opennms,roskens/opennms-pre-github,rdkgit/opennms,tdefilip/opennms,rdkgi...
/* * This file is part of the OpenNMS(R) Application. * * OpenNMS(R) is Copyright (C) 2005-2007 The OpenNMS Group, Inc. All rights reserved. * OpenNMS(R) is a derivative work, containing both original code, included code and modified * code that was published under the GNU General Public License. Copyrights for mo...
opennms-javamail/opennms-javamail-api/src/main/java/org/opennms/javamail/JavaMailer.java
/* * This file is part of the OpenNMS(R) Application. * * OpenNMS(R) is Copyright (C) 2005-2007 The OpenNMS Group, Inc. All rights reserved. * OpenNMS(R) is a derivative work, containing both original code, included code and modified * code that was published under the GNU General Public License. Copyrights for mo...
fix for bug #3795 javamail spits out an insane amount of debug info, default to debug=false.
opennms-javamail/opennms-javamail-api/src/main/java/org/opennms/javamail/JavaMailer.java
fix for bug #3795
<ide><path>pennms-javamail/opennms-javamail-api/src/main/java/org/opennms/javamail/JavaMailer.java <ide> private static final String DEFAULT_AUTHENTICATE_PASSWORD = "opennms"; <ide> private static final String DEFAULT_MAILER = "smtpsend"; <ide> private static final String DEFAULT_TRANSPORT = "smtp"; <del> ...
Java
apache-2.0
ef88bb17d0cbd5e0cb7b38d618e08230e3ce2179
0
Flowdalic/Smack,igniterealtime/Smack,Flowdalic/Smack,igniterealtime/Smack,igniterealtime/Smack,vanitasvitae/Smack,vanitasvitae/Smack,Flowdalic/Smack,vanitasvitae/Smack
/** * * Copyright 2003-2007 Jive Software. * * 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...
smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java
/** * * Copyright 2003-2007 Jive Software. * * 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...
Disallow empty string as node in DiscoverInfo
smack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java
Disallow empty string as node in DiscoverInfo
<ide><path>mack-extensions/src/main/java/org/jivesoftware/smackx/disco/packet/DiscoverInfo.java <ide> * @param node the node attribute that supplements the 'jid' attribute <ide> */ <ide> public void setNode(String node) { <del> this.node = node; <add> this.node = StringUtils.requireNullOrNot...
Java
apache-2.0
ef22ff0c9c41577caf83737fe48fe9194c36c47f
0
Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,Sargul/dbeaver,dbeaver/dbeaver,dbeaver/dbeaver,Sargul/dbeaver
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * * 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/LICE...
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2022 DBeaver Corp and others * * 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/LICE...
dbeaver/dbeaver-ee#1979 SQL console is not read-only
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java
dbeaver/dbeaver-ee#1979 SQL console is not read-only
<ide><path>lugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java <ide> } <ide> <ide> private boolean isProjectResourceEditable() { <del> DBPProject project = this.getProject(); <del> return project == null || project.hasRealmPermission(RMConstants.PERMISS...
Java
apache-2.0
46750d9e279ad9c6983d1a7cd0676b41ef634b6e
0
DevOps-TangoMe/gcloud-storage-speedtest
package me.tango.devops.google; import static me.tango.devops.google.CredentialsManager.*; import com.google.api.client.http.InputStreamContent; import com.google.api.services.storage.Storage; import com.google.api.services.storage.model.Bucket; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java....
src/main/java/me/tango/devops/google/StorageManager.java
package me.tango.devops.google; import static me.tango.devops.google.CredentialsManager.*; import com.google.api.client.http.InputStreamContent; import com.google.api.services.storage.Storage; import com.google.api.services.storage.model.Bucket; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java....
Update StorageManager.java Updating the reason we can not support US-WEST2 and EUROPE-WEST1 regions. After looking at gCloud documentation and gsutil options, those regions are currently not supported. The only option is to manually configure them using the UI.
src/main/java/me/tango/devops/google/StorageManager.java
Update StorageManager.java
<ide><path>rc/main/java/me/tango/devops/google/StorageManager.java <ide> <ide> /** Manage Google Cloud Storage client. */ <ide> public final class StorageManager { <del> /** Available regions, US-WEST2 is not valid. */ <add> /** Available regions, US-WEST2 and EUROPE-WEST1 are not available over API calls yet. *...
JavaScript
mpl-2.0
7d76790e1c8c8ad203be669c18eb7c0b3566b9e8
0
joyent/sdcadm,joyent/sdcadm,joyent/sdcadm
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * Copyright (c) 2014, Joyent, Inc. */ /* * Collecting 'sdcadm experimental ...' CLI commands. * * The...
lib/experimental.js
/* * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* * Copyright (c) 2014, Joyent, Inc. */ /* * Collecting 'sdcadm experimental ...' CLI commands. * * The...
HEAD-2202: get 'sdcadm experimental update-docker' to handle the nfs svc and instances
lib/experimental.js
HEAD-2202: get 'sdcadm experimental update-docker' to handle the nfs svc and instances
<ide><path>ib/experimental.js <ide> <ide> <ide> /** <del> * Update docker0, adding the 'docker' service to the 'sdc' app in SAPI <del> * if necessary. <del> * <del> * Limitations: <del> * - presumes only a single instance (docker0) <del> * - presumes docker0 is on the HN <add> * Update this SDC docker service setup: ...
Java
apache-2.0
443655c746106a58f708ab3ecfd862c110a810a6
0
edubarr/Ticker
/* * * * Copyright (C) 2014 Eduardo Barrenechea * * * * 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 re...
mobile/src/main/java/ca/barrenechea/ticker/ui/EventFragment.java
/* * * * Copyright (C) 2014 Eduardo Barrenechea * * * * 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 re...
Use new string messages for editing events.
mobile/src/main/java/ca/barrenechea/ticker/ui/EventFragment.java
Use new string messages for editing events.
<ide><path>obile/src/main/java/ca/barrenechea/ticker/ui/EventFragment.java <ide> import ca.barrenechea.ticker.data.EventLoader; <ide> import ca.barrenechea.ticker.event.OnEventDelete; <ide> import ca.barrenechea.ticker.event.OnEventEdit; <add>import ca.barrenechea.ticker.utils.ViewUtils; <ide> import ca.barrenechea.tic...
Java
mit
ab0bb7bd70d213cb2be903ecfb75e6472855de7d
0
madumlao/oxTrust,GluuFederation/oxTrust,GluuFederation/oxTrust,GluuFederation/oxTrust,madumlao/oxTrust,GluuFederation/oxTrust,madumlao/oxTrust,GluuFederation/oxTrust,madumlao/oxTrust,madumlao/oxTrust
/* * oxTrust is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.gluu.oxauth.client.util; import java.io.File; import org.apache.commons.lang.StringUtils; import org.gluu.oxauth.client.OpenIdClient; import org.gl...
saml-openid-auth-client/src/main/java/org/gluu/oxauth/client/util/Configuration.java
/* * oxTrust is available under the MIT License (2008). See http://opensource.org/licenses/MIT for full text. * * Copyright (c) 2014, Gluu */ package org.gluu.oxauth.client.util; import java.io.File; import org.apache.commons.lang.StringUtils; import org.gluu.oxauth.client.OpenIdClient; import org.gluu.oxauth.cl...
Fix OpenId client initialization
saml-openid-auth-client/src/main/java/org/gluu/oxauth/client/util/Configuration.java
Fix OpenId client initialization
<ide><path>aml-openid-auth-client/src/main/java/org/gluu/oxauth/client/util/Configuration.java <ide> static Configuration INSTANCE = new Configuration(); <ide> } <ide> <add> private AppConfiguration appConfiguration; <add> <add> private OpenIdConfigurationResponse openIdConfiguration; <add> <ide> private Configura...
Java
mit
4ba924e02b4f0bbb785eac57ae0312239a908e99
0
gekoil/java.fuel.station
import java.io.IOException; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.logging.FileHandler; import java.util.logging.Level; import java.util.logging.Logger; public class GasStation extends Thread{ private static final Logger log = Logger.getLogger(GasStation.class.getName()); pri...
GIN/src/GasStation.java
import java.util.ArrayDeque; import java.util.ArrayList; import java.util.logging.Level; import java.util.logging.Logger; public class GasStation extends Thread{ private static final Logger log = Logger.getLogger(GasStation.class.getName()); private CarWash carWash; private ArrayList<Pump> fuelPumps; ...
I added Handler.
GIN/src/GasStation.java
I added Handler.
<ide><path>IN/src/GasStation.java <add>import java.io.IOException; <ide> import java.util.ArrayDeque; <ide> import java.util.ArrayList; <add>import java.util.logging.FileHandler; <ide> import java.util.logging.Level; <ide> import java.util.logging.Logger; <ide> <ide> public class GasStation extends Thread{ <ide> p...
Java
apache-2.0
5dc5ca4517a0c4c07daebe5b694c8cf563b64dbc
0
passion1014/metaworks_framework,gengzhengtao/BroadleafCommerce,TouK/BroadleafCommerce,zhaorui1/BroadleafCommerce,arshadalisoomro/BroadleafCommerce,cengizhanozcan/BroadleafCommerce,caosg/BroadleafCommerce,TouK/BroadleafCommerce,zhaorui1/BroadleafCommerce,cengizhanozcan/BroadleafCommerce,udayinfy/BroadleafCommerce,trombk...
/* * Copyright 2008-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...
common/src/main/java/org/broadleafcommerce/common/extension/ExtensionManager.java
/* * Copyright 2008-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...
#384 - Make the extension handler registration with an extension manager more explicit
common/src/main/java/org/broadleafcommerce/common/extension/ExtensionManager.java
#384 - Make the extension handler registration with an extension manager more explicit
<ide><path>ommon/src/main/java/org/broadleafcommerce/common/extension/ExtensionManager.java <ide> return extensionHandler; <ide> } <ide> <add> /** <add> * If you are attempting to register a handler with this manager and are invoking this outside of an {@link ExtensionManager} <add> * subclass, ...
Java
apache-2.0
ba15e7b29ea5b1874b4a0c79648f210c725633d5
0
andy2palantir/atlasdb,andy2palantir/atlasdb,palantir/atlasdb,palantir/atlasdb,EvilMcJerkface/atlasdb,EvilMcJerkface/atlasdb,palantir/atlasdb,EvilMcJerkface/atlasdb
/** * Copyright 2015 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
atlasdb-cassandra/src/main/java/com/palantir/atlasdb/keyvalue/cassandra/CassandraClientPool.java
/** * Copyright 2015 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
cassandra pool verify partitioner on node entrance
atlasdb-cassandra/src/main/java/com/palantir/atlasdb/keyvalue/cassandra/CassandraClientPool.java
cassandra pool verify partitioner on node entrance
<ide><path>tlasdb-cassandra/src/main/java/com/palantir/atlasdb/keyvalue/cassandra/CassandraClientPool.java <ide> final CassandraKeyValueServiceConfig config; <ide> final ScheduledThreadPoolExecutor refreshDaemon; <ide> <del> <ide> public static class LightweightOPPToken implements Comparable<LightweightOPP...
Java
bsd-2-clause
857b67d16bc53a683996ff31e3cf6f7aded41f02
0
scijava/scijava-ui-swing
/* * #%L * SciJava UI components for Java Swing. * %% * Copyright (C) 2010 - 2015 Board of Regents of the University of * Wisconsin-Madison. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistrib...
src/main/java/org/scijava/ui/swing/widget/SwingNumberWidget.java
/* * #%L * SciJava UI components for Java Swing. * %% * Copyright (C) 2010 - 2015 Board of Regents of the University of * Wisconsin-Madison. * %% * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistrib...
SwingNumberWidget: tweak whitespace
src/main/java/org/scijava/ui/swing/widget/SwingNumberWidget.java
SwingNumberWidget: tweak whitespace
<ide><path>rc/main/java/org/scijava/ui/swing/widget/SwingNumberWidget.java <ide> getComponent().add(spinner); <ide> limitWidth(200); <ide> spinner.addChangeListener(this); <add> <ide> refreshWidget(); <ide> syncSliders(); <ide> }
Java
apache-2.0
280ceeb2f3178605fc22cfddcdf897a08dfa7572
0
sdgdsffdsfff/zeus,sdgdsffdsfff/zeus,ctripcorp/zeus,ctripcorp/zeus,ctripcorp/zeus,ctripcorp/zeus,sdgdsffdsfff/zeus,sdgdsffdsfff/zeus,sdgdsffdsfff/zeus
package com.ctrip.zeus.client; import com.ctrip.zeus.nginx.entity.NginxResponse; import com.ctrip.zeus.nginx.entity.UpstreamStatus; import com.ctrip.zeus.nginx.transform.DefaultJsonParser; import com.netflix.config.DynamicIntProperty; import com.netflix.config.DynamicPropertyFactory; import javax.ws.rs.client.Entity;...
src/main/java/com/ctrip/zeus/client/LocalClient.java
package com.ctrip.zeus.client; import com.ctrip.zeus.nginx.entity.NginxResponse; import com.ctrip.zeus.nginx.entity.UpstreamStatus; import com.ctrip.zeus.nginx.transform.DefaultJsonParser; import com.netflix.config.DynamicIntProperty; import com.netflix.config.DynamicPropertyFactory; import javax.ws.rs.client.Entity;...
fix local client init prob
src/main/java/com/ctrip/zeus/client/LocalClient.java
fix local client init prob
<ide><path>rc/main/java/com/ctrip/zeus/client/LocalClient.java <ide> */ <ide> public class LocalClient { <ide> private static final String LOCALHOST = "http://127.0.0.1"; <del> private static final LocalClient localClient = new LocalClient(); <del> <del> public static LocalClient getInstance() { <del> ...
Java
apache-2.0
35a646fae2d0d59702cd955a7e15c95cd58f5401
0
xquery/marklogic-sesame,xquery/marklogic-sesame,marklogic/marklogic-sesame,marklogic/marklogic-sesame,xquery/marklogic-sesame,marklogic/marklogic-sesame
/* * Copyright 2015-2016 MarkLogic 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...
marklogic-sesame/src/main/java/com/marklogic/semantics/sesame/client/MarkLogicClientImpl.java
/* * Copyright 2015-2016 MarkLogic 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...
java api client now supports tx on delete all
marklogic-sesame/src/main/java/com/marklogic/semantics/sesame/client/MarkLogicClientImpl.java
java api client now supports tx on delete all
<ide><path>arklogic-sesame/src/main/java/com/marklogic/semantics/sesame/client/MarkLogicClientImpl.java <ide> SPARQLQueryDefinition qdef = sparqlManager.newQueryDefinition(queryString); <ide> if(notNull(baseURI) && baseURI != ""){ qdef.setBaseUri(baseURI);} <ide> if (notNull(ruleset) ) {qdef.set...
Java
apache-2.0
ef9da52c5ad22a53557ca2313c2b37ae9b7e2eef
0
HaStr/kieker,HaStr/kieker,kieker-monitoring/kieker,HaStr/kieker,HaStr/kieker,kieker-monitoring/kieker,leadwire-apm/leadwire-javaagent,leadwire-apm/leadwire-javaagent,kieker-monitoring/kieker,kieker-monitoring/kieker,kieker-monitoring/kieker,HaStr/kieker
/*************************************************************************** * Copyright 2014 Kieker Project (http://kieker-monitoring.net) * * 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 a...
src/tools/kieker/tools/tslib/TimeSeries.java
/*************************************************************************** * Copyright 2014 Kieker Project (http://kieker-monitoring.net) * * 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 a...
#1436: fix for adjusting start time in bounded buffer
src/tools/kieker/tools/tslib/TimeSeries.java
#1436: fix for adjusting start time in bounded buffer
<ide><path>rc/tools/kieker/tools/tslib/TimeSeries.java <ide> <ide> /** <ide> * @author Andre van Hoorn, Tobias Rudolph, Andreas Eberlein <del> * <add> * <ide> * @since 1.10 <ide> * @param <T> <ide> * The type of the time series. <ide> */ <ide> public class TimeSeries<T> implements ITimeSeries<T> { <de...
Java
mit
17a93bedc1dd8b59a07b743e1ea8843e5078372e
0
INVASIS/Viola-Jones,INVASIS/Viola-Jones
package process; import jeigen.DenseMatrix; import utils.Serializer; import java.util.ArrayList; import java.util.Date; import static java.lang.Math.log; import static process.features.FeatureExtractor.*; import static utils.Utils.countFiles; import static utils.Utils.listFiles; public class Classifier { /** ...
src/process/Classifier.java
package process; import jeigen.DenseMatrix; import utils.Serializer; import java.util.ArrayList; import java.util.Date; import static java.lang.Math.log; import static process.features.FeatureExtractor.*; import static utils.Utils.countFiles; import static utils.Utils.listFiles; public class Classifier { /** ...
Fix use of matrix + little improvement in a for loop
src/process/Classifier.java
Fix use of matrix + little improvement in a for loop
<ide><path>rc/process/Classifier.java <ide> long featureIndex = cascade[round].get(member).featureIndex; <ide> for (int i = 0; i < N; i++) { <ide> int exampleIndex = getExampleIndex(featureIndex, i, N); <del> memberVerdict.set(member, exampleIndex, ((getExampleFeat...
Java
mit
c5d78d732b59616d48a5cbb65c8398db293baa1c
0
BackSpace47/main,BackSpace47/main
//####################### //## ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ //## /\ \ /\ \ ...
java/net/RPower/RPowermod/core/RPCore.java
//####################### //## ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ //## /\ \ /\ \ ...
Full Commit MineFacility, Update Gratz Bro You Have Done a YoloSwaggins
java/net/RPower/RPowermod/core/RPCore.java
Full Commit MineFacility, Update Gratz Bro You Have Done a YoloSwaggins
<ide><path>ava/net/RPower/RPowermod/core/RPCore.java <ide> import net.RPower.RPowermod.block.blockRPBlock; <ide> import net.RPower.RPowermod.block.blockRPBlockBSpace; <ide> import net.RPower.RPowermod.block.blockRPOre; <del><<<<<<< HEAD <del>import net.RPower.RPowermod.item.ItemAnthracite; <del>import net.RPower.RPower...
Java
agpl-3.0
91d1cea51f6459e2cf48f2bbbf3ceaca70d2e215
0
Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,roidelapluie/Gadgetbridge,roidelapluie/Gadgetbridge,rosenpin/Gadgetbridge,rosenpin/Gadgetbridge,roidelapluie/Gadgetbridge,Freeyourgadget/Gadgetbridge,Freeyourgadget/Gadgetbridge,ivanovlev/Gadgetbridge,rosenpin/Gadgetbridge,ivanovlev/Gadgetbridge,ivanovlev/Gadgetbr...
package nodomain.freeyourgadget.gadgetbridge.service.devices.miband; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; import android.content.Intent; import android.net.Uri; import android.support.v4.content.LocalBroadcastManager; import android.widget.Toast; import org.slf...
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/MiBandSupport.java
package nodomain.freeyourgadget.gadgetbridge.service.devices.miband; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; import android.content.Intent; import android.net.Uri; import android.support.v4.content.LocalBroadcastManager; import android.widget.Toast; import org.slf...
Avoid potential NPEs
app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/MiBandSupport.java
Avoid potential NPEs
<ide><path>pp/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband/MiBandSupport.java <ide> } else if (MiBandService.UUID_CHARACTERISTIC_BATTERY.equals(characteristicUUID)) { <ide> handleBatteryInfo(characteristic.getValue(), status); <ide> } else if (MiBandService.UUID_...
Java
apache-2.0
fa60c612718491c983026c4f4540c266edc6799b
0
CycloneAxe/phphub-android,CycloneAxe/phphub-android
package org.estgroup.phphub.ui.view; import android.accounts.Account; import android.accounts.AccountManager; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.text...
app/src/main/java/org/estgroup/phphub/ui/view/LoginActivity.java
package org.estgroup.phphub.ui.view; import android.accounts.Account; import android.accounts.AccountManager; import android.app.ProgressDialog; import android.content.Context; import android.content.Intent; import android.net.Uri; import android.os.Bundle; import android.support.v7.widget.Toolbar; import android.text...
change btn_login_guide uri
app/src/main/java/org/estgroup/phphub/ui/view/LoginActivity.java
change btn_login_guide uri
<ide><path>pp/src/main/java/org/estgroup/phphub/ui/view/LoginActivity.java <ide> <ide> @OnClick(R.id.btn_login_guide) <ide> public void loginGuide() { <del> Uri uri = Uri.parse("https://phphub.org/helps/qr-login-guide"); <add> Uri uri = Uri.parse("http://7xnqwn.com1.z0.glb.clouddn.com/index.html"...
Java
apache-2.0
b3906f1c20414729693b347c254868c93eedf8e3
0
gokhanakgul/vertx-swagger,phiz71/vertx-swagger,gokhanakgul/vertx-swagger,phiz71/vertx-swagger,gokhanakgul/vertx-swagger,phiz71/vertx-swagger
package io.vertx.ext.swagger.codegen; import org.junit.Test; import io.swagger.codegen.SwaggerCodegen; public class SampleVertXGeneratorTest { @Test public void generateSampleServer() { String[] args = new String[11]; args[0] = "generate"; args[1] = "-l"; args[2] = "java-vertx"; args[3] = "-i"; args[4...
modules/vertx-swagger-codegen/src/test/java/io/vertx/ext/swagger/codegen/SampleVertXGeneratorTest.java
package io.vertx.ext.swagger.codegen; import org.junit.Test; import io.swagger.codegen.SwaggerCodegen; public class SampleVertXGeneratorTest { @Test public void generateSampleServer() { String[] args = new String[11]; args[0] = "generate"; args[1] = "-l"; args[2] = "java-vertx"; args[3] = "-i"; args[4...
fixing file location
modules/vertx-swagger-codegen/src/test/java/io/vertx/ext/swagger/codegen/SampleVertXGeneratorTest.java
fixing file location
<ide><path>odules/vertx-swagger-codegen/src/test/java/io/vertx/ext/swagger/codegen/SampleVertXGeneratorTest.java <ide> args[1] = "-l"; <ide> args[2] = "java-vertx"; <ide> args[3] = "-i"; <del> args[4] = "src/test/resources/petstore.json"; <add> args[4] = "petstore.json"; <ide> args[5] = "-o"; <ide> args[6] ...
Java
agpl-3.0
error: pathspec 'src/fi/tnie/db/query/Query.java' did not match any file(s) known to git
fd5aa143a1e84df6c097af5c9f3b77ef3eb6a71f
1
tjn/relaxe,tjn/relaxe
/* * Copyright (c) 2009-2013 Topi Nieminen */ package fi.tnie.db.query; import fi.tnie.db.expr.QueryExpression; import fi.tnie.db.rpc.AbstractRequest; public class Query extends AbstractRequest { /** * */ private static final long serialVersionUID = 1412811343522826948L; private QueryExpression expres...
src/fi/tnie/db/query/Query.java
Move Query to "query" sub-package
src/fi/tnie/db/query/Query.java
Move Query to "query" sub-package
<ide><path>rc/fi/tnie/db/query/Query.java <add>/* <add> * Copyright (c) 2009-2013 Topi Nieminen <add> */ <add>package fi.tnie.db.query; <add> <add>import fi.tnie.db.expr.QueryExpression; <add>import fi.tnie.db.rpc.AbstractRequest; <add> <add>public class Query <add> extends AbstractRequest { <add> <add> /** <add> * ...
Java
epl-1.0
c854cbc90f7655b66155ccc2af49198a03480e49
0
gnodet/wikitext
/******************************************************************************* * Copyright (c) 2004, 2007 Mylyn project committers 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 distrib...
org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/RepositoryExternalizationParticipant.java
/******************************************************************************* * Copyright (c) 2004, 2007 Mylyn project committers 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 distrib...
NEW - bug 232180: stop unnecessary saves of task list and related information upon startup https://bugs.eclipse.org/bugs/show_bug.cgi?id=232180
org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/RepositoryExternalizationParticipant.java
NEW - bug 232180: stop unnecessary saves of task list and related information upon startup https://bugs.eclipse.org/bugs/show_bug.cgi?id=232180
<ide><path>rg.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/RepositoryExternalizationParticipant.java <ide> <ide> switch (context.getKind()) { <ide> case SAVE: <del> System.err.println(">>> save repositories"); <ide> if (!takeSnapshot(repositoriesFile)) { <ide> StatusHandler.fail(new ...
Java
apache-2.0
83fe4fd4510349d809ba93bb2cb1c97854bdabc8
0
ShinySide/KernelAdiutor
/* * Copyright (C) 2015-2016 Willi Ye <williye97@gmail.com> * * This file is part of Kernel Adiutor. * * Kernel Adiutor is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, o...
app/src/main/java/com/grarak/kerneladiutor/services/boot/Service.java
/* * Copyright (C) 2015-2016 Willi Ye <williye97@gmail.com> * * This file is part of Kernel Adiutor. * * Kernel Adiutor is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, o...
Boot: Service: Make sure notification gets cancelled
app/src/main/java/com/grarak/kerneladiutor/services/boot/Service.java
Boot: Service: Make sure notification gets cancelled
<ide><path>pp/src/main/java/com/grarak/kerneladiutor/services/boot/Service.java <ide> e.printStackTrace(); <ide> } <ide> } <del> if (!hideNotification && confirmationNotification) { <del> builderComplete.setContentText(getStri...
Java
apache-2.0
6f2f304890cd5316f80018a1a9f0ddaf0ea45f7e
0
js42721/datastructures
package datastructures; /** * A fixed-capacity mutable min-heap of {@code double} values where each value * is associated with an {@code int} index. */ public class MinHeap { final double[] a; final int[] htoi; final int[] itoh; int size; /** * Creates a min-heap with a capacity of n. ...
src/datastructures/MinHeap.java
package datastructures; /** * A fixed-capacity mutable min-heap of {@code double} values where each value * is associated with an {@code int} index. */ public class MinHeap { final double[] a; final int[] htoi; final int[] itoh; int size; /** * Creates a min-heap with a maximum capacity of...
Edited
src/datastructures/MinHeap.java
Edited
<ide><path>rc/datastructures/MinHeap.java <ide> int size; <ide> <ide> /** <del> * Creates a min-heap with a maximum capacity of n. <del> * <del> * @param n the maximum capacity <add> * Creates a min-heap with a capacity of n. <add> * <add> * @param n the capacity <ide> * @throws ...
JavaScript
mit
9743fd7754ddaeb1e70e60787f0ffdb90b67c18f
0
PRX/Infrastructure,PRX/Infrastructure,PRX/Infrastructure,PRX/Infrastructure,PRX/Infrastructure
// Invoked by: API Gateway // Returns: Error, or API Gateway proxy response object // // When a user acts on an interactive message in Slack (eg., clicks a button), // Slack will send a request to a callback This function handles those requests, // such as for approving CloudFormation deploys through CodePipeline. // /...
notifications/lambdas/ike-interactive-messages-callback-handler/index.js
// Invoked by: API Gateway // Returns: Error, or API Gateway proxy response object // // When a user acts on an interactive message in Slack (eg., clicks a button), // Slack will send a request to a callback This function handles those requests, // such as for approving CloudFormation deploys through CodePipeline. // /...
Fix tech-releases channel name typo
notifications/lambdas/ike-interactive-messages-callback-handler/index.js
Fix tech-releases channel name typo
<ide><path>otifications/lambdas/ike-interactive-messages-callback-handler/index.js <ide> sns.publish({ <ide> TopicArn: process.env.SLACK_MESSAGE_RELAY_TOPIC_ARN, <ide> Message: JSON.stringify({ <del> channel: '#tech-releses', <add> channel: '#tech-releases', <ide> u...
Java
agpl-3.0
debaea24f3a65c3411c65540d3a1df12f1dabf57
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
3d00ec2c-2e62-11e5-9284-b827eb9e62be
hello.java
3cfb79fe-2e62-11e5-9284-b827eb9e62be
3d00ec2c-2e62-11e5-9284-b827eb9e62be
hello.java
3d00ec2c-2e62-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>3cfb79fe-2e62-11e5-9284-b827eb9e62be <add>3d00ec2c-2e62-11e5-9284-b827eb9e62be
Java
apache-2.0
b9bad3e9f11f914c3e91847697b9c80747100f8e
0
artem-aliev/tinkerpop,rmagen/incubator-tinkerpop,PommeVerte/incubator-tinkerpop,gdelafosse/incubator-tinkerpop,apache/tinkerpop,vtslab/incubator-tinkerpop,RedSeal-co/incubator-tinkerpop,krlohnes/tinkerpop,edgarRd/incubator-tinkerpop,robertdale/tinkerpop,n-tran/incubator-tinkerpop,rmagen/incubator-tinkerpop,artem-aliev/...
package org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration; import org.apache.tinkerpop.gremlin.process.Traversal; import org.apache.tinkerpop.gremlin.process.graph.traversal.DefaultGraphTraversal; import org.apache.tinkerpop.gremlin.process.graph.traversal.__; import org.apache.tinkerpop.gremlin.proce...
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategyTest.java
package org.apache.tinkerpop.gremlin.process.traversal.strategy.decoration; import org.apache.tinkerpop.gremlin.process.Traversal; import org.apache.tinkerpop.gremlin.process.graph.traversal.DefaultGraphTraversal; import org.apache.tinkerpop.gremlin.process.graph.traversal.__; import org.apache.tinkerpop.gremlin.proce...
Add more tests for PartitionStrategy.
gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategyTest.java
Add more tests for PartitionStrategy.
<ide><path>remlin-core/src/test/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/PartitionStrategyTest.java <ide> {"addOutE()", __.addOutE("test", "x"), 0, true}, <ide> {"addInE()", __.addInE("test", "x", "other", "args"), 0, true}, <ide> ...
Java
apache-2.0
ff34cee604a7e169515e54e8590c81197cd9ee7d
0
pcollaog/velocity-engine,diydyq/velocity-engine,pcollaog/velocity-engine,diydyq/velocity-engine
package org.apache.velocity.convert; /* * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met...
src/java/org/apache/velocity/convert/WebMacro.java
package org.apache.velocity.convert; /* * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met...
Removed regex from data set which is now executed in during a separate pass (moved by last commit). git-svn-id: 7267684f36935cb3df12efc1f4c0216d758271d4@74957 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/velocity/convert/WebMacro.java
Removed regex from data set which is now executed in during a separate pass (moved by last commit).
<ide><path>rc/java/org/apache/velocity/convert/WebMacro.java <ide> * <ide> * @author <a href="mailto:jvanzyl@periapt.com">Jason van Zyl</a> <ide> * @author <a href="mailto:dlr@finemaltcoding.com">Daniel Rall</a> <del> * @version $Id: WebMacro.java,v 1.14 2001/05/12 02:04:25 dlr Exp $ <add> * @version $Id: WebMacro....
JavaScript
mit
0ead1a16bb9d2d76f8aba95c15c95655919301e7
0
kleinfreund/kleinfreund.de
const path = require('path'); const fs = require('fs'); const CleanCSS = require('clean-css'); const htmlMinifier = require('html-minifier'); const markdownIt = require('markdown-it'); // https://github.com/kangax/html-minifier#options-quick-reference const htmlMinifierOptions = { useShortDoctype: true, removeCom...
.eleventy.js
const path = require('path'); const fs = require('fs'); const CleanCSS = require('clean-css'); const htmlMinifier = require('html-minifier'); const markdownIt = require('markdown-it'); // https://github.com/kangax/html-minifier#options-quick-reference const htmlMinifierOptions = { useShortDoctype: true, removeCom...
(Add type parameters to function)
.eleventy.js
(Add type parameters to function)
<ide><path>eleventy.js <ide> }; <ide> }; <ide> <add> <add>/** <add> * @param {String} mainCssPath <add> * @returns {String} <add> */ <ide> function resolveCssImports(mainCssPath) { <ide> const mainCssContent = fs.readFileSync(path.join('src', mainCssPath), 'utf8'); <ide> const importRules = mainCssContent.split(...
Java
agpl-3.0
f3df7ae665107beb362fdad9bb01ee38d25e78ea
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
495a6e5a-2e60-11e5-9284-b827eb9e62be
hello.java
4954f664-2e60-11e5-9284-b827eb9e62be
495a6e5a-2e60-11e5-9284-b827eb9e62be
hello.java
495a6e5a-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>4954f664-2e60-11e5-9284-b827eb9e62be <add>495a6e5a-2e60-11e5-9284-b827eb9e62be
Java
apache-2.0
aafc3a975f2ee8229ae8207061164ad47234afec
0
heinousjay/JibbrJabbr,heinousjay/JibbrJabbr,heinousjay/JibbrJabbr
package jj.resource; /** * Inject this to get resources from the filesystem * @author jason * */ public interface ResourceFinder { /** * <p> * looks in the resource cache for a resource matching the given spec, * which is a resource dependent set of lookup parameters. returns null * if no such resourc...
kernel/src/main/java/jj/resource/ResourceFinder.java
package jj.resource; /** * Inject this to get resources from the filesystem * @author jason * */ public interface ResourceFinder { /** * <p> * looks in the resource cache for a resource matching the given spec, * which is a resource dependent set of lookup parameters. returns null * if no such resourc...
documentation update
kernel/src/main/java/jj/resource/ResourceFinder.java
documentation update
<ide><path>ernel/src/main/java/jj/resource/ResourceFinder.java <ide> * loads a resource matching the given resource spec, if necessary, and populates <ide> * the cache. can only be called via a {@link ResourceTask}. if the resource spec does <ide> * not identify a valid resource, this returns null. if a resourc...
Java
apache-2.0
82816bd88cc45f19b122d3d97295fb1f10bbb372
0
paulk-asert/groovy,apache/groovy,apache/groovy,paulk-asert/groovy,apache/incubator-groovy,paulk-asert/incubator-groovy,apache/incubator-groovy,apache/incubator-groovy,apache/groovy,paulk-asert/incubator-groovy,paulk-asert/incubator-groovy,paulk-asert/groovy,paulk-asert/groovy,paulk-asert/incubator-groovy,apache/groovy,...
/* * 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")...
src/main/java/org/codehaus/groovy/control/ProcessingUnit.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")...
fix whitespace only
src/main/java/org/codehaus/groovy/control/ProcessingUnit.java
fix whitespace only
<ide><path>rc/main/java/org/codehaus/groovy/control/ProcessingUnit.java <ide> * Initializes the ProcessingUnit to the empty state. <ide> */ <ide> public ProcessingUnit(final CompilerConfiguration configuration, final GroovyClassLoader classLoader, final ErrorCollector errorCollector) { <del> setCon...
JavaScript
apache-2.0
7690ff9ba538f177034bc533220ddc5bc6e128cb
0
netfishx/new_react_rockstar
596fb44a-2f86-11e5-bc51-34363bc765d8
hello.js
59693930-2f86-11e5-ba4a-34363bc765d8
596fb44a-2f86-11e5-bc51-34363bc765d8
hello.js
596fb44a-2f86-11e5-bc51-34363bc765d8
<ide><path>ello.js <del>59693930-2f86-11e5-ba4a-34363bc765d8 <add>596fb44a-2f86-11e5-bc51-34363bc765d8
Java
apache-2.0
59c8f9cd76f17354c91f0749be7099e93bcb0d42
0
apache/solr,apache/solr,apache/solr,apache/solr,apache/solr
package org.apache.lucene.index; /** * 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, Versi...
src/java/org/apache/lucene/index/IndexModifier.java
package org.apache.lucene.index; /** * 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, Versi...
add warnings to javadoc for IndexModifier.docCount git-svn-id: 4c5078813df38efa56971a28e09a55254294f104@649598 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/lucene/index/IndexModifier.java
add warnings to javadoc for IndexModifier.docCount
<ide><path>rc/java/org/apache/lucene/index/IndexModifier.java <ide> <ide> <ide> /** <del> * Returns the number of documents currently in this index. <del> * @see IndexWriter#docCount() <del> * @see IndexReader#numDocs() <add> * Returns the number of documents currently in this <add> * index. If the write...
Java
epl-1.0
0c73bab0fee973d18d3dd4f33f5dea913b8fa2b7
0
windup/windup,windup/windup,johnsteele/windup,mareknovotny/windup,mareknovotny/windup,jsight/windup,windup/windup,jsight/windup,windup/windup,OndraZizka/windup,Maarc/windup,johnsteele/windup,johnsteele/windup,OndraZizka/windup,d-s/windup,Maarc/windup,mareknovotny/windup,OndraZizka/windup,Maarc/windup,d-s/windup,jsight/...
package org.jboss.windup.rules.apps.java.scan.provider; import java.util.ArrayList; import java.util.List; import com.tinkerpop.blueprints.Direction; import org.jboss.windup.config.AbstractRuleProvider; import org.jboss.windup.config.GraphRewrite; import org.jboss.windup.config.metadata.MetadataBuilder; import org.jb...
rules-java/api/src/main/java/org/jboss/windup/rules/apps/java/scan/provider/DiscoverNonMavenArchiveProjectsRuleProvider.java
package org.jboss.windup.rules.apps.java.scan.provider; import java.util.ArrayList; import java.util.List; import org.jboss.windup.config.AbstractRuleProvider; import org.jboss.windup.config.GraphRewrite; import org.jboss.windup.config.metadata.MetadataBuilder; import org.jboss.windup.config.operation.Iteration; impo...
Changed getProject() == null to a more efficient check.
rules-java/api/src/main/java/org/jboss/windup/rules/apps/java/scan/provider/DiscoverNonMavenArchiveProjectsRuleProvider.java
Changed getProject() == null to a more efficient check.
<ide><path>ules-java/api/src/main/java/org/jboss/windup/rules/apps/java/scan/provider/DiscoverNonMavenArchiveProjectsRuleProvider.java <ide> import java.util.ArrayList; <ide> import java.util.List; <ide> <add>import com.tinkerpop.blueprints.Direction; <ide> import org.jboss.windup.config.AbstractRuleProvider; <ide> im...
JavaScript
mit
64a281a19e31385b285d9849fd1ac9dbd898fde4
0
phetsims/scenery-phet,phetsims/scenery-phet,phetsims/scenery-phet
// Copyright 2017-2018, University of Colorado Boulder /** * The lattice is a 2D grid with a value in each cell that represents the wave amplitude at that point. * * @author Sam Reid (PhET Interactive Simulations) */ define( require => { 'use strict'; // modules const Bounds2 = require( 'DOT/Bounds2' ); c...
js/common/model/Lattice.js
// Copyright 2017-2018, University of Colorado Boulder /** * The lattice is a 2D grid with a value in each cell that represents the wave amplitude at that point. * * @author Sam Reid (PhET Interactive Simulations) */ define( require => { 'use strict'; // modules const Bounds2 = require( 'DOT/Bounds2' ); c...
Use entire search area for applied forces, see https://github.com/phetsims/wave-interference/issues/39
js/common/model/Lattice.js
Use entire search area for applied forces, see https://github.com/phetsims/wave-interference/issues/39
<ide><path>s/common/model/Lattice.js <ide> // Note this differs from the standand Bounds2.containsCoordinate because we must exclude right and bottom edge <ide> // from reading one cell off the visible lattice, see https://github.com/phetsims/wave-interference/issues/86 <ide> return b.minX <= i && i <...
JavaScript
mit
7fa949f2025c10971dbab6730bebc8abe09c0b51
0
rosamcgee/tangram,zerebubuth/tangram,ceseale/tangram,xvilan/tangram,TitoAgudelo/tangram,TitoAgudelo/tangram,taylorhxu/tangram,tangrams/tangram,TitoAgudelo/tangram,rosamcgee/tangram,zerebubuth/tangram,rosamcgee/tangram,xvilan/tangram,tangrams/tangram,DHaylock/tangram,DHaylock/tangram,ceseale/tangram,taylorhxu/tangram,ce...
// Rendering modes var GL = require('./gl.js'); var GLBuilders = require('./gl_builders.js'); var GLGeometry = require('./gl_geom.js'); var GLVertexLayout = require('./gl_vertex_layout.js'); var GLProgram = require('./gl_program.js'); var GLTexture = require('./gl_texture.js'); var shader_sources = require('./gl_shade...
src/gl/gl_modes.js
// Rendering modes var GL = require('./gl.js'); var GLBuilders = require('./gl_builders.js'); var GLGeometry = require('./gl_geom.js'); var GLVertexLayout = require('./gl_vertex_layout.js'); var GLProgram = require('./gl_program.js'); var GLTexture = require('./gl_texture.js'); var shader_sources = require('./gl_shade...
don't update GL program instance vars for modes until programs finish compiling
src/gl/gl_modes.js
don't update GL program instance vars for modes until programs finish compiling
<ide><path>rc/gl/gl_modes.js <ide> var GLTexture = require('./gl_texture.js'); <ide> var shader_sources = require('./gl_shaders.js'); // built-in shaders <ide> <add>var Queue = require('queue-async'); <add> <ide> // Base <ide> <ide> var RenderMode = { <ide> this._init(); <ide> } <ide> }, <del>...
Java
apache-2.0
bdd29120c89d79b804d85edef8eff82d087de306
0
kamalaboulhosn/pubsub,GoogleCloudPlatform/pubsub,GoogleCloudPlatform/pubsub,GoogleCloudPlatform/pubsub,GoogleCloudPlatform/pubsub,kamalaboulhosn/pubsub,kamalaboulhosn/pubsub,kamalaboulhosn/pubsub,GoogleCloudPlatform/pubsub,kamalaboulhosn/pubsub
package com.google.pubsub.flic.output; import com.google.pubsub.flic.controllers.Client.ClientType; import com.google.pubsub.flic.controllers.ClientParams; import com.google.pubsub.flic.controllers.Controller; import java.util.HashMap; import java.util.Map; import org.junit.Test; import static org.junit.Assert.assert...
load-test-framework/src/test/java/com/google/pubsub/flic/output/SheetsServiceTest.java
package com.google.pubsub.flic.output; import com.google.pubsub.flic.controllers.Client.ClientType; import com.google.pubsub.flic.controllers.ClientParams; import com.google.pubsub.flic.controllers.Controller; import java.util.HashMap; import java.util.Map; import org.junit.Test; import static org.junit.Assert.assert...
Made change to null to avoid test attempting to authorize sheet
load-test-framework/src/test/java/com/google/pubsub/flic/output/SheetsServiceTest.java
Made change to null to avoid test attempting to authorize sheet
<ide><path>oad-test-framework/src/test/java/com/google/pubsub/flic/output/SheetsServiceTest.java <ide> } <ide> } <ide> types.put("zone-test", paramsMap); <del> SheetsService service = new SheetsService("", types); <add> SheetsService service = new SheetsService(null, types); <ide> <ide> ass...
Java
apache-2.0
55d4243ed154666df3d271ac108491a75e74f486
0
wix/wix-restaurants-availability
package com.wix.restaurants.availability; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonInclude.Include; import java.io.Serializable; import java.util.*; @JsonIgnoreProperties(ignoreUnknown = tru...
wix-restaurants-availability-api/src/main/java/com/wix/restaurants/availability/Status.java
package com.wix.restaurants.availability; import java.io.Serializable; import java.util.Arrays; import java.util.HashMap; import java.util.HashSet; import java.util.Map; import java.util.Set; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonInclude; import com....
Less warnings.
wix-restaurants-availability-api/src/main/java/com/wix/restaurants/availability/Status.java
Less warnings.
<ide><path>ix-restaurants-availability-api/src/main/java/com/wix/restaurants/availability/Status.java <ide> package com.wix.restaurants.availability; <del> <del>import java.io.Serializable; <del>import java.util.Arrays; <del>import java.util.HashMap; <del>import java.util.HashSet; <del>import java.util.Map; <del>import...
JavaScript
mit
cb527a457d16b8d2077a4d398c59b82e2149d0ce
0
chadxz/vanilla-webrtc,chadxz/vanilla-webrtc
/** * * Create a peer * * @param opts * @param opts.socket, * @param opts.socketId, * @param opts.$localVideo, * @param opts.$localScreenShare, * @param opts.$remoteVideo, * @param opts.$remoteScreenShare * @returns {{peerId: *, startVideoCall: startVideoCall}} */ export default function Peer(opts) { cons...
client/peer.js
/** * * Create a peer * * @param opts * @param opts.socket, * @param opts.socketId, * @param opts.$localVideo, * @param opts.$localScreenShare, * @param opts.$remoteVideo, * @param opts.$remoteScreenShare * @returns {{peerId: *, startVideoCall: startVideoCall}} */ export default function Peer(opts) { cons...
fixed bugs yo
client/peer.js
fixed bugs yo
<ide><path>lient/peer.js <ide> function handleOffer(signal) { <ide> const { offer } = signal; <ide> console.log('received offer', offer); <del> pc.setRemoteDescription(new RTCSessionDescription(offer)).then(() => { <del> didSetRemoteDescription = true; <del> drainQueuedCandidates(); <ide> <del> ...
Java
mit
253c1834299474516b7569186ce6d99548152d78
0
core9/module-ogone
package io.core9.module.commerce.ogone; import io.core9.commerce.checkout.Order; import io.core9.module.auth.AuthenticationPlugin; import io.core9.plugin.server.request.Request; import io.core9.plugin.widgets.datahandler.DataHandler; import io.core9.plugin.widgets.datahandler.DataHandlerFactoryConfig; import java.sec...
src/impl/java/io/core9/module/commerce/ogone/OgoneDataHandlerImpl.java
package io.core9.module.commerce.ogone; import io.core9.commerce.checkout.Order; import io.core9.module.auth.AuthenticationPlugin; import io.core9.plugin.server.request.Request; import io.core9.plugin.widgets.datahandler.DataHandler; import io.core9.plugin.widgets.datahandler.DataHandlerFactoryConfig; import java.sec...
todo statement
src/impl/java/io/core9/module/commerce/ogone/OgoneDataHandlerImpl.java
todo statement
<ide><path>rc/impl/java/io/core9/module/commerce/ogone/OgoneDataHandlerImpl.java <ide> import net.xeoh.plugins.base.annotations.PluginImplementation; <ide> import net.xeoh.plugins.base.annotations.injections.InjectPlugin; <ide> <add>/** <add> * Ogone DataHandler <add> * Handles Ogone payments via the widgets flow. <ad...
Java
mit
ee6e7659c08206d9dab3194fe947a26c10ac2ff7
0
InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service,InnovateUKGitHub/innovation-funding-service
package org.innovateuk.ifs.transactional; import org.innovateuk.ifs.commons.service.ServiceResult; import org.innovateuk.ifs.user.domain.Role; import org.innovateuk.ifs.user.domain.User; import org.innovateuk.ifs.user.repository.RoleRepository; import org.innovateuk.ifs.user.repository.UserRepository; import org.innov...
ifs-data-layer/data-service-commons/src/main/java/org/innovateuk/ifs/transactional/UserTransactionalService.java
package org.innovateuk.ifs.transactional; import org.innovateuk.ifs.commons.service.ServiceResult; import org.innovateuk.ifs.user.domain.Role; import org.innovateuk.ifs.user.domain.User; import org.innovateuk.ifs.user.repository.RoleRepository; import org.innovateuk.ifs.user.repository.UserRepository; import org.innov...
IFS-2769-Remove-getCurrentlyLoggedInUser-GenericThreadService Deleted the existing getCurrentlyLoggedInUser() from UserTransactionalService. Change-Id: I59b5019635d1c1539c618d10b85036ebb0e63e64
ifs-data-layer/data-service-commons/src/main/java/org/innovateuk/ifs/transactional/UserTransactionalService.java
IFS-2769-Remove-getCurrentlyLoggedInUser-GenericThreadService
<ide><path>fs-data-layer/data-service-commons/src/main/java/org/innovateuk/ifs/transactional/UserTransactionalService.java <ide> import org.innovateuk.ifs.user.domain.User; <ide> import org.innovateuk.ifs.user.repository.RoleRepository; <ide> import org.innovateuk.ifs.user.repository.UserRepository; <del>import org.inn...
Java
apache-2.0
809f988eb61b3a5fdeb024064e0daa300c44d72f
0
scriptella/scriptella-etl,scriptella/scriptella-etl,scriptella/scriptella-etl
/* * Copyright 2006 The Scriptella Project Team. * * 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 a...
core/src/java/scriptella/configuration/ReaderInputStream.java
/* * Copyright 2006 The Scriptella Project Team. * * 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 a...
TODO - Add support for unicode and possible add CharsetEncoder
core/src/java/scriptella/configuration/ReaderInputStream.java
TODO - Add support for unicode and possible add CharsetEncoder
<ide><path>ore/src/java/scriptella/configuration/ReaderInputStream.java <ide> <ide> <ide> /** <del> * TODO: Add documentation <add> * TODO: Refactor this class to support unicode convertion similar to native2ascii works <ide> * <ide> * @author Fyodor Kupolov <ide> * @version 1.0 <ide> */ <del>public class ReaderI...
JavaScript
mit
3a3860ccd4f8bdd77a6389d0e94fc90674a5b61f
0
PeachScript/vue-infinite-loading,PeachScript/vue-infinite-loading
import Vue from 'vue'; import InfiniteLoading from '../../../src/components/InfiniteLoading'; function isShow(elm) { const styles = getComputedStyle(elm); return styles.getPropertyValue('display') !== 'none'; } describe('InfiniteLoading.vue', () => { let vm; const initConf = { data() { return { ...
test/unit/specs/InfiniteLoading.spec.js
import Vue from 'vue'; import InfiniteLoading from '../../../src/components/InfiniteLoading'; function isShow(elm) { const styles = getComputedStyle(elm); return styles.getPropertyValue('display') !== 'none'; } describe('InfiniteLoading.vue', () => { let vm; const initConf = { data() { return { ...
Modify unit test to adapto to the new way that calculate distance
test/unit/specs/InfiniteLoading.spec.js
Modify unit test to adapto to the new way that calculate distance
<ide><path>est/unit/specs/InfiniteLoading.spec.js <ide> vm.$mount('#app'); <ide> }); <ide> <del> it('should display the custom spinner if customize it with slot', () => { <add> it('should display the custom spinner if customize it with slot', (done) => { <ide> vm.isCustomSpinner = true; <ide> delete vm...
Java
apache-2.0
d0a8d89baec22946bdccc546b501250375c8ce0d
0
mdogan/hazelcast,mdogan/hazelcast,dsukhoroslov/hazelcast,mesutcelik/hazelcast,dsukhoroslov/hazelcast,Donnerbart/hazelcast,mesutcelik/hazelcast,emre-aydin/hazelcast,tkountis/hazelcast,emre-aydin/hazelcast,tombujok/hazelcast,lmjacksoniii/hazelcast,tufangorel/hazelcast,dbrimley/hazelcast,juanavelez/hazelcast,dbrimley/haze...
/* * Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/MulticastService.java
/* * Copyright (c) 2008-2016, Hazelcast, Inc. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required ...
Suppressing excessive logging on serialization failure during a cluster multicast discovery. Fixes #8867 (or at least makes it less verbose) (#9686)
hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/MulticastService.java
Suppressing excessive logging on serialization failure during a cluster multicast discovery. Fixes #8867 (or at least makes it less verbose) (#9686)
<ide><path>azelcast/src/main/java/com/hazelcast/internal/cluster/impl/MulticastService.java <ide> private static final int SOCKET_BUFFER_SIZE = 64 * 1024; <ide> private static final int SOCKET_TIMEOUT = 1000; <ide> private static final int SHUTDOWN_TIMEOUT_SECONDS = 5; <add> private static final int JOIN...
Java
epl-1.0
748dae9ec055d4564b302f842b9a713938d787f7
0
phat-trien-phan-mem-phan-tan/dynamicpool,phat-trien-phan-mem-phan-tan/dynamicpool,phat-trien-phan-mem-phan-tan/dynamicpool,phat-trien-phan-mem-phan-tan/dynamicpool
package vn.edu.hust.student.dynamicpool.tests.presentation; import java.util.ArrayList; import java.util.List; import com.badlogic.gdx.utils.Timer; import com.badlogic.gdx.utils.Timer.Task; import vn.edu.hust.student.dynamicpool.bll.BusinessLogicLayer; import vn.edu.hust.student.dynamicpool.bll.ETrajectoryT...
DynamicPool/core/src/vn/edu/hust/student/dynamicpool/tests/presentation/BLLTest.java
package vn.edu.hust.student.dynamicpool.tests.presentation; import java.util.ArrayList; import java.util.List; import com.badlogic.gdx.utils.Timer; import com.badlogic.gdx.utils.Timer.Task; import vn.edu.hust.student.dynamicpool.bll.BusinessLogicLayer; import vn.edu.hust.student.dynamicpool.bll.ETrajectoryType; impo...
new update
DynamicPool/core/src/vn/edu/hust/student/dynamicpool/tests/presentation/BLLTest.java
new update
<ide><path>ynamicPool/core/src/vn/edu/hust/student/dynamicpool/tests/presentation/BLLTest.java <ide> // TODO Auto-generated method stub <ide> <ide> } <add> @Override <add> public void synchronization() { <add> // TODO Auto-generated method stub <add> <add> } <ide> }
Java
apache-2.0
48c71b3a77cc426116bddabe324aee601681fab9
0
EvilMcJerkface/atlasdb,palantir/atlasdb,palantir/atlasdb,EvilMcJerkface/atlasdb,EvilMcJerkface/atlasdb,palantir/atlasdb
/** * Copyright 2016 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
atlasdb-cassandra/src/main/java/com/palantir/atlasdb/keyvalue/cassandra/SchemaMutationLock.java
/** * Copyright 2016 Palantir Technologies * * Licensed under the BSD-3 License (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://opensource.org/licenses/BSD-3-Clause * * Unless required by applicable law or agreed to in wri...
Update exception to provide more info + Ignore cleared IDs for unlocks
atlasdb-cassandra/src/main/java/com/palantir/atlasdb/keyvalue/cassandra/SchemaMutationLock.java
Update exception to provide more info + Ignore cleared IDs for unlocks
<ide><path>tlasdb-cassandra/src/main/java/com/palantir/atlasdb/keyvalue/cassandra/SchemaMutationLock.java <ide> try { <ide> result = clientPool.runWithRetry(client -> { <ide> Column existingColumn = queryExistingLockColumn(client); <del> <del> Preconditions.checkState(...
Java
mit
d09886adfa6eb7619ba7252e59e43ff80db88f89
0
kits-ab/gakusei,kits-ab/gakusei,kits-ab/gakusei
package se.kits.gakusei.controller; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.slf4j.Logger; import org.slf4j.LoggerFa...
src/main/java/se/kits/gakusei/controller/UserController.java
package se.kits.gakusei.controller; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.json.simple.JSONObject; import org.json.simple.parser.JSONParser; import org.slf4j.Logger; import org.slf4j.LoggerFa...
Update UserController.java
src/main/java/se/kits/gakusei/controller/UserController.java
Update UserController.java
<ide><path>rc/main/java/se/kits/gakusei/controller/UserController.java <ide> ur.save(user); <ide> return new ResponseEntity<>(HttpStatus.OK); <ide> } else { <del> return new ResponseEntity<>(HttpStatus.NOT_ACCEPTABLE); <add> return new ResponseEn...
Java
apache-2.0
e5eb1e14a2167377550ea86d05f06fd8252fd0bb
0
recruit-tech/redpen,redpen-cc/redpen,recruit-tech/redpen,redpen-cc/redpen,redpen-cc/redpen,recruit-tech/redpen,redpen-cc/redpen,recruit-tech/redpen,redpen-cc/redpen
/** * redpen: a text inspection tool * Copyright (c) 2014-2015 Recruit Technologies Co., Ltd. and contributors * (see CONTRIBUTORS.md) * <p> * 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 ...
redpen-core/src/main/java/cc/redpen/validator/document/JapaneseExpressionVariationValidator.java
/** * redpen: a text inspection tool * Copyright (c) 2014-2015 Recruit Technologies Co., Ltd. and contributors * (see CONTRIBUTORS.md) * <p> * 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 ...
Make parameter of validate Document object
redpen-core/src/main/java/cc/redpen/validator/document/JapaneseExpressionVariationValidator.java
Make parameter of validate Document object
<ide><path>edpen-core/src/main/java/cc/redpen/validator/document/JapaneseExpressionVariationValidator.java <ide> */ <ide> package cc.redpen.validator.document; <ide> <del>import cc.redpen.model.Sentence; <add>import cc.redpen.model.*; <ide> import cc.redpen.tokenizer.TokenElement; <ide> import cc.redpen.validator.Val...
Java
apache-2.0
error: pathspec 'src/com/effectivejava/classinterface/ForwardingSet.java' did not match any file(s) known to git
fbfde2be5408503285e45f877f53eaeaa65fb489
1
haokaibo/AlgorithmHelper
/** * Implementation of prefer to composite to inherence. */ package com.effectivejava.classinterface; import java.util.Collection; import java.util.Iterator; import java.util.Set; /** * @author Kaibo * */ // Reusable forwarding class public class ForwardingSet<E> implements Set<E> { private fin...
src/com/effectivejava/classinterface/ForwardingSet.java
Added Example code for perfering composite to inherence.
src/com/effectivejava/classinterface/ForwardingSet.java
Added Example code for perfering composite to inherence.
<ide><path>rc/com/effectivejava/classinterface/ForwardingSet.java <add>/** <add> * Implementation of prefer to composite to inherence. <add> */ <add>package com.effectivejava.classinterface; <add> <add>import java.util.Collection; <add>import java.util.Iterator; <add>import java.util.Set; <add> <add>/** <add> * @author...
JavaScript
mit
25c342c5c5055cd105aaff92a5d9df0727cd3589
0
nickgermyn/node-dogte-chat
/** * Dota game organisation handlers */ 'use strict'; var Promise = require('bluebird'); var Game = require('../models/game'); var winston = require('winston'); const noGame = 'No game scheduled for today'; module.exports = function(bot) { // ***************************** // Game creation / reschedule ...
handlers/handler.game.js
/** * Dota game organisation handlers */ 'use strict'; var Promise = require('bluebird'); var Game = require('../models/game'); var winston = require('winston'); const noGame = 'No game scheduled for today'; module.exports = function(bot) { // ***************************** // Game creation / reschedule ...
dota-command regex and cleanup
handlers/handler.game.js
dota-command regex and cleanup
<ide><path>andlers/handler.game.js <ide> // ***************************** <ide> // Game creation / reschedule <ide> // ***************************** <del> bot.onText(/^\/dog?t[ea]s?(?:@\w*)?\b\s*(.+)/i, function(msg, match) { <add> bot.onText(/^\/dog?t[ea]s?(?:@\w*)?\b\s*(?=(?:.*\b(\d{2})[:.;-]?(\d{2})\b)?)/...
Java
bsd-2-clause
33740db15907b41caf86b468b4b8965532c98228
0
bioinform/varsim,bioinform/varsim,bioinform/varsim,bioinform/varsim
package com.bina.varsim.util; //--- Java imports --- import com.bina.varsim.types.ChrString; import com.bina.varsim.types.FlexSeq; import com.bina.varsim.types.VCFInfo; import com.bina.varsim.types.variant.Variant; import org.apache.log4j.Logger; import java.io.BufferedReader; import java.io.InputStreamReader; impor...
src/main/java/com/bina/varsim/util/VCFparser.java
package com.bina.varsim.util; //--- Java imports --- import com.bina.varsim.types.ChrString; import com.bina.varsim.types.FlexSeq; import com.bina.varsim.types.VCFInfo; import com.bina.varsim.types.variant.Variant; import org.apache.log4j.Logger; import java.io.BufferedReader; import java.io.InputStreamReader; impor...
Remove incorrect CN check
src/main/java/com/bina/varsim/util/VCFparser.java
Remove incorrect CN check
<ide><path>rc/main/java/com/bina/varsim/util/VCFparser.java <ide> log.error(line); <ide> return null; <ide> } <del> if ((genotypeArray[0] == genotypeArray[1]) != (copyNumberArray[0] == copyNumberArray[1])) { <del> throw new IllegalArgumentException("...
Java
mit
7aa489632d7704099ef464f34e881dff1de48165
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/event/Order.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...
Remove the concept of read-only orders (#2189) * Remove the concept of read-only orders * Remove cancellable
src/main/java/org/spongepowered/api/event/Order.java
Remove the concept of read-only orders (#2189)
<ide><path>rc/main/java/org/spongepowered/api/event/Order.java <ide> * <p>Event handlers are called the order given in the following table.</p> <ide> * <ide> * <table summary="Order Recommendations"> <del> * <tr><td>Order</td> <td>Read Only</td> <td>Cancellation Allowed</td> <add> * <tr><td>Order</td> ...
JavaScript
mit
c21aeb6c1dcc4a928206ffbec69df673997d9040
0
compedit/react-youtube,troybetz/react-youtube,danieldiekmeier/react-youtube,shobith/react-youtube,compedit/react-youtube,denisnazarov/react-youtube,gaearon/react-youtube,troybetz/react-youtube,ymortazavi/react-youtube,amsardesai/react-youtube
/** @jsx React.DOM */ /** * Module dependencies */ var React = require('react'); var sdk = require('require-sdk')('https://www.youtube.com/iframe_api', 'YT'); var loadTrigger = sdk.trigger(); // YT API requires global ready event handler window.onYouTubeIframeAPIReady = function () { loadTrigger(); delete wind...
index.js
/** @jsx React.DOM */ /** * Module dependencies */ var React = require('react'); var sdk = require('require-sdk')('https://www.youtube.com/iframe_api', 'YT'); var loadTrigger = sdk.trigger(); // YT API requires global ready event handler window.onYouTubeIframeAPIReady = function () { loadTrigger(); delete wind...
typos
index.js
typos
<ide><path>ndex.js <ide> propTypes: { <ide> id: React.PropTypes.string, <ide> url: React.PropTypes.string, <del> autoplau: React.PropTypes.boolean, <add> autoplay: React.PropTypes.bool, <ide> playing: React.PropTypes.func, <ide> stopped: React.PropTypes.func, <ide> ended: React.PropTypes.fun...
JavaScript
unknown
42bd252be5a769c1fcb0df6af8bfe86eabcf3e94
0
scrollback/io.scrollback.neighborhoods,wesley1001/io.scrollback.neighborhoods,wesley1001/io.scrollback.neighborhoods,scrollback/io.scrollback.neighborhoods
import React from "react-native"; import ChatBubble from "./chat-bubble"; import Avatar from "./avatar"; import Embed from "./embed"; import textUtils from "../lib/text-utils"; import timeUtils from "../lib/time-utils"; import oembed from "../lib/oembed"; const { StyleSheet, View, Text, Image } = React...
views/chat-item.js
import React from "react-native"; import ChatBubble from "./chat-bubble"; import Avatar from "./avatar"; import Embed from "./embed"; import textUtils from "../lib/text-utils"; import timeUtils from "../lib/time-utils"; import oembed from "../lib/oembed"; const { StyleSheet, View, Text, Image } = React...
Reduce spacing between avatar and chat bubble
views/chat-item.js
Reduce spacing between avatar and chat bubble
<ide><path>iews/chat-item.js <ide> }, <ide> received: { <ide> alignItems: "flex-start", <del> marginLeft: 48 <add> marginLeft: 44 <ide> }, <ide> timestamp: { <ide> fontSize: 12, <ide> timestampRight: { alignSelf: "flex-end" }, <ide> avatar: { <ide> position:...
Java
mit
8caa0a93b60742a39f5e319362c9cf7a764b7145
0
gmessner/gitlab4j-api
/* * The MIT License (MIT) * * Copyright (c) 2017 Greg Messner <greg@messners.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation t...
src/main/java/org/gitlab4j/api/ProjectApi.java
/* * The MIT License (MIT) * * Copyright (c) 2017 Greg Messner <greg@messners.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy of * this software and associated documentation files (the "Software"), to deal in * the Software without restriction, including without limitation t...
Fixed javadoc problems related to project snippets.
src/main/java/org/gitlab4j/api/ProjectApi.java
Fixed javadoc problems related to project snippets.
<ide><path>rc/main/java/org/gitlab4j/api/ProjectApi.java <ide> * <ide> * POST /projects/:id/snippets <ide> * <del> * @param id the ID of the project owned by the authenticated user, required <add> * @param projectId the ID of the project owned by the authenticated user, required <ide> * @par...
Java
apache-2.0
05d0b745a165e8b09c9286a0f2afba8ec402f829
0
factoryfx/factoryfx,factoryfx/factoryfx,factoryfx/factoryfx,factoryfx/factoryfx
package io.github.factoryfx.javafx.factoryviewmanager; import io.github.factoryfx.factory.builder.FactoryContext; import io.github.factoryfx.factory.jackson.ObjectMapperBuilder; import io.github.factoryfx.factory.merge.DataMerger; import io.github.factoryfx.factory.merge.MergeDiffInfo; import io.github.factoryfx.facto...
javafxFactoryEditing/src/test/java/io/github/factoryfx/javafx/factoryviewmanager/FactoryEditManagerTest.java
package io.github.factoryfx.javafx.factoryviewmanager; import io.github.factoryfx.factory.jackson.ObjectMapperBuilder; import io.github.factoryfx.factory.merge.DataMerger; import io.github.factoryfx.factory.merge.MergeDiffInfo; import io.github.factoryfx.factory.storage.migration.MigrationManager; import io.github.fac...
testfix
javafxFactoryEditing/src/test/java/io/github/factoryfx/javafx/factoryviewmanager/FactoryEditManagerTest.java
testfix
<ide><path>avafxFactoryEditing/src/test/java/io/github/factoryfx/javafx/factoryviewmanager/FactoryEditManagerTest.java <ide> package io.github.factoryfx.javafx.factoryviewmanager; <ide> <add>import io.github.factoryfx.factory.builder.FactoryContext; <ide> import io.github.factoryfx.factory.jackson.ObjectMapperBuilder;...
Java
apache-2.0
500c133d97ca5da0cc64da39785c4976452f56c4
0
rmetzger/flink,tillrohrmann/flink,StephanEwen/incubator-flink,zjureel/flink,tony810430/flink,lincoln-lil/flink,wwjiang007/flink,clarkyzl/flink,twalthr/flink,jinglining/flink,godfreyhe/flink,apache/flink,rmetzger/flink,lincoln-lil/flink,lincoln-lil/flink,gyfora/flink,jinglining/flink,shaoxuan-wang/flink,aljoscha/flink,b...
/* * 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 ...
flink-core/src/main/java/org/apache/flink/configuration/description/LineBreakElement.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 ...
[hotfix][docs] make LineBreakElement also implement InlineElement This allows line breaks in text block elements and may be useful, for example, in starting a new line inside a list description element.
flink-core/src/main/java/org/apache/flink/configuration/description/LineBreakElement.java
[hotfix][docs] make LineBreakElement also implement InlineElement
<ide><path>link-core/src/main/java/org/apache/flink/configuration/description/LineBreakElement.java <ide> /** <ide> * Represents a line break in the {@link Description}. <ide> */ <del>public class LineBreakElement implements BlockElement { <add>public class LineBreakElement implements InlineElement, BlockElement { <i...
Java
apache-2.0
65a98300afa8e6c9e9a67766e9ae1b3ab6ab3759
0
lukeorland/joshua,thammegowda/incubator-joshua,lukeorland/joshua,thammegowda/incubator-joshua,fhieber/incubator-joshua,fhieber/incubator-joshua,thammegowda/incubator-joshua,fhieber/incubator-joshua,fhieber/incubator-joshua,lukeorland/joshua,fhieber/incubator-joshua,thammegowda/incubator-joshua,lukeorland/joshua,thammeg...
package joshua.decoder.ff.tm.hash_based; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import joshua.corpus.Vocabulary; import joshua.decoder.Decoder; import joshua.decoder.JoshuaConfiguration; import joshua.decoder.JoshuaConfiguration.OOVItem; import joshua...
src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java
package joshua.decoder.ff.tm.hash_based; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import joshua.corpus.Vocabulary; import joshua.decoder.Decoder; import joshua.decoder.JoshuaConfiguration; import joshua.decoder.JoshuaConfiguration.OOVItem; import joshua...
Bugfix: one-off error on max source phrase len
src/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java
Bugfix: one-off error on max source phrase len
<ide><path>rc/joshua/decoder/ff/tm/hash_based/MemoryBasedBatchGrammar.java <ide> * @return the longest source phrase read (nonterminal + terminal symbols). <ide> */ <ide> public int getMaxSourcePhraseLength() { <del> /* We added a nonterminal to all source sides, so subtract that off. */ <del> return maxS...
Java
apache-2.0
1bac369b5d45dbe6824fd692a7e86a96c5b540dd
0
ecsec/open-ecard,ecsec/open-ecard,ecsec/open-ecard
/**************************************************************************** * Copyright (C) 2019 ecsec GmbH. * All rights reserved. * Contact: ecsec GmbH (info@ecsec.de) * * This file is part of the Open eCard App. * * GNU General Public License Usage * This file may be used under the terms of the GNU General...
clients/ios-lib/src/main/java/org/openecard/ios/activation/OpenEcardImp.java
/**************************************************************************** * Copyright (C) 2019 ecsec GmbH. * All rights reserved. * Contact: ecsec GmbH (info@ecsec.de) * * This file is part of the Open eCard App. * * GNU General Public License Usage * This file may be used under the terms of the GNU General...
Remove more versions of BC as Provider
clients/ios-lib/src/main/java/org/openecard/ios/activation/OpenEcardImp.java
Remove more versions of BC as Provider
<ide><path>lients/ios-lib/src/main/java/org/openecard/ios/activation/OpenEcardImp.java <ide> Provider provider = new BouncyCastleProvider(); <ide> try { <ide> Security.removeProvider(provider.getName()); <add> Security.removeProvider("BC"); <ide> } catch (Exception e) { <ide> } <ide> Security.addProvider(...
JavaScript
mit
fb50e0dbef448934ed1a11f3a46ab262587d36c6
0
npmcomponent/cristiandouce-sizzle,mzgol/sizzle
/*! * Sizzle CSS Selector Engine * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function( window, undefined ) { var document = window.document, docElem = document.documentElement, expando = "sizcache" + (Math.random() + '')...
sizzle.js
/*! * Sizzle CSS Selector Engine * Copyright 2011, The Dojo Foundation * Released under the MIT, BSD, and GPL Licenses. * More information: http://sizzlejs.com/ */ (function( window, undefined ) { var document = window.document, docElem = document.documentElement, expando = "sizcache" + (Math.random() + '')...
Expose origPOS after generating leftMatch expressions.
sizzle.js
Expose origPOS after generating leftMatch expressions.
<ide><path>izzle.js <ide> POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/ <ide> }, <ide> <del> // Expose origPOS <del> // "global" as in regardless of relation to brackets/parens <del> origPOS = matchExpr.globalPOS = matchExpr.POS, <add> origPOS = matchExpr.POS, <ide> <ide> leftMatchExpr = (fu...
Java
apache-2.0
cb075659a5e82686941904a9af6735196f4af1e4
0
Jhuster/Android,Jhuster/Android,Jhuster/Android,Jhuster/Android
import android.media.AudioFormat; import android.media.AudioRecord; import android.media.MediaRecorder; import android.util.Log; public class AudioCapturer { private static final String TAG = "AudioCapturer"; private static final int DEFAULT_SOURCE = MediaRecorder.AudioSource.MIC; private static final i...
Audio/AudioCapturer.java
import android.media.AudioFormat; import android.media.AudioRecord; import android.media.MediaRecorder; import android.util.Log; public class AudioCapturer { private static final String TAG = "AudioCapturer"; private static final int DEFAULT_SOURCE = MediaRecorder.AudioSource.MIC; private static final int DEFAUL...
Update AudioCapturer.java
Audio/AudioCapturer.java
Update AudioCapturer.java
<ide><path>udio/AudioCapturer.java <ide> <ide> public class AudioCapturer { <ide> <del> private static final String TAG = "AudioCapturer"; <add> private static final String TAG = "AudioCapturer"; <ide> <del> private static final int DEFAULT_SOURCE = MediaRecorder.AudioSource.MIC; <del> private static final int D...
Java
apache-2.0
c322fe6fb8183e853a6fe263600ad39bb9788b2e
0
yukron/izpack,kanayo/izpack,codehaus/izpack,rkrell/izpack,yukron/izpack,tomas-forsman/izpack,Sage-ERP-X3/izpack,maichler/izpack,dasapich/izpack,mtjandra/izpack,akuhtz/izpack,izpack/izpack,Helpstone/izpack,izpack/izpack,bradcfisher/izpack,rsharipov/izpack,Helpstone/izpack,akuhtz/izpack,yukron/izpack,stenix71/izpack,opto...
/* * IzPack - Copyright 2001-2005 Julien Ponge, All Rights Reserved. * * http://www.izforge.com/izpack/ * http://developer.berlios.de/projects/izpack/ * * Copyright 2002 Elmar Grom * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the ...
src/lib/com/izforge/izpack/panels/ShortcutPanel.java
/* * IzPack - Copyright 2001-2005 Julien Ponge, All Rights Reserved. * * http://www.izforge.com/izpack/ http://developer.berlios.de/projects/izpack/ * * Copyright 2002 Elmar Grom * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the Lice...
readded the serialVersionUID also re-commented in the skipPanel-call. git-svn-id: 408af81b9e4f0a5eaad229a6d9eed76d614c4af6@1207 7d736ef5-cfd4-0310-9c9a-b52d5c14b761
src/lib/com/izforge/izpack/panels/ShortcutPanel.java
readded the serialVersionUID also re-commented in the skipPanel-call.
<ide><path>rc/lib/com/izforge/izpack/panels/ShortcutPanel.java <ide> /* <ide> * IzPack - Copyright 2001-2005 Julien Ponge, All Rights Reserved. <ide> * <del> * http://www.izforge.com/izpack/ http://developer.berlios.de/projects/izpack/ <add> * http://www.izforge.com/izpack/ <add> * http://developer.berlios.de/proje...
Java
mit
d1ebb0d27efd5cf6c535e0f77f3e52413e5de59b
0
Jason0803/Cocoa-Note,Jason0803/Cocoa-Note,Jason0803/Cocoa-Note
package dao.diary; // #00011 : import change required import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Vector; import sql.StringQuery; import util.CocoaDate; import util.DataSourceManager; import vo.diary.Memo; import vo.diary.No...
src/dao/diary/DiaryDAO.java
package dao.diary; // #00011 : import change required import java.sql.Connection; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; import java.util.Vector; import sql.StringQuery; import util.CocoaDate; import util.DataSourceManager; import vo.diary.Memo; import vo.diary.No...
#00059 : Conflict Fix
src/dao/diary/DiaryDAO.java
#00059 : Conflict Fix
<ide><path>rc/dao/diary/DiaryDAO.java <ide> <ide> <ide> // ------------------------------ Logics ------------------------------ // <del><<<<<<< HEAD <del> // ------------------------------ [TEMP TEST] ------------------------------ // <del> public void printMemoDate(String id) throws SQLException { <del> Connecti...
Java
bsd-3-clause
01f3bd460085f3126bb4f1aae8f070849bb5b99e
0
JeffreyFalgout/ThrowingStream
package throwing.stream; import static java.util.stream.Collectors.toList; import static org.hamcrest.Matchers.contains; import static org.junit.Assert.assertThat; import java.util.List; import java.util.stream.Stream; import org.junit.Test; public class ReadmeTest { @SuppressWarnings("unchecked") @Test ...
src/test/java/throwing/stream/ReadmeTest.java
package throwing.stream; import static java.util.stream.Collectors.toList; import static org.hamcrest.Matchers.contains; import static org.junit.Assert.assertThat; import java.util.List; import java.util.stream.Stream; import org.junit.Test; import throwing.bridge.ThrowingBridge; public class ReadmeTest { @Sup...
Update readme test
src/test/java/throwing/stream/ReadmeTest.java
Update readme test
<ide><path>rc/test/java/throwing/stream/ReadmeTest.java <ide> <ide> import org.junit.Test; <ide> <del>import throwing.bridge.ThrowingBridge; <del> <ide> public class ReadmeTest { <ide> @SuppressWarnings("unchecked") <ide> @Test <ide> public void readme() throws ClassNotFoundException { <ide> Strea...
Java
apache-2.0
5356ded021565fd6622eb69a411bb7cb96822b53
0
pushy-me/pushy-cordova,pushy-me/pushy-cordova,pushy-me/pushy-cordova
package me.pushy.sdk; import android.os.Build; import android.app.Notification; import android.app.PendingIntent; import android.content.Intent; import android.content.Context; import android.media.RingtoneManager; import android.app.NotificationManager; import android.content.BroadcastReceiver; import android.util.Lo...
receiver/src/android/PushReceiver.java
package me.pushy.sdk; import android.app.Notification; import android.app.PendingIntent; import android.content.Intent; import android.content.Context; import android.media.RingtoneManager; import android.app.NotificationManager; import android.content.BroadcastReceiver; public class PushReceiver extends BroadcastRec...
Support for Android O Notification Channels
receiver/src/android/PushReceiver.java
Support for Android O Notification Channels
<ide><path>eceiver/src/android/PushReceiver.java <ide> package me.pushy.sdk; <ide> <add>import android.os.Build; <ide> import android.app.Notification; <ide> import android.app.PendingIntent; <ide> import android.content.Intent; <ide> import android.media.RingtoneManager; <ide> import android.app.NotificationManager; ...
Java
apache-2.0
05a19452c31ceb0f947f8df8e6485b95cdeb007c
0
ryano144/intellij-community,xfournet/intellij-community,allotria/intellij-community,nicolargo/intellij-community,ryano144/intellij-community,michaelgallacher/intellij-community,FHannes/intellij-community,allotria/intellij-community,gnuhub/intellij-community,alphafoobar/intellij-community,izonder/intellij-community,clum...
package org.jetbrains.io; import com.intellij.openapi.application.Application; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Computable; import com.intellij.openapi.util.SystemInfo; import com.intellij.util.Consumer; import c...
platform/platform-impl/src/org/jetbrains/io/WebServer.java
package org.jetbrains.io; import com.intellij.openapi.application.Application; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.util.Computable; import com.intellij.openapi.util.SystemInfo; import com.intellij.util.Consumer; import c...
IDEA-91436 win xp
platform/platform-impl/src/org/jetbrains/io/WebServer.java
IDEA-91436 win xp
<ide><path>latform/platform-impl/src/org/jetbrains/io/WebServer.java <ide> // so, we bind to 127.0.0.1 and 0.0.0.0 <ide> private int bind(int firstPort, int portsCount, boolean tryAnyPort, ServerBootstrap bootstrap) { <ide> String property = System.getProperty(PROPERTY_ONLY_ANY_HOST); <del> boolean onlyAnyHo...
JavaScript
mit
37892d7ba62f973cb448c8dd2290ad12df59f005
0
3mpire/Seattle-Real-Time-Fire-911
// Incident object definition. function Incident(incidentData) { this.ID = incidentData.incident_number; this.Address = incidentData.address; this.Category = incidentData.type; this.DateLogged = incidentData.datetime ; this.Lat = incidentData.report_location.latitude; this.Lng = incidentData.report_location.longi...
js/log.js
// Incident object definition. function Incident(incidentData) { this.ID = incidentData.incident_number; this.Address = incidentData.address; this.Category = incidentData.type; this.DateLogged = incidentData.datetime ; this.Lat = incidentData.report_location.latitude; this.Lng = incidentData.report_location.longi...
Remove comments.
js/log.js
Remove comments.
<ide><path>s/log.js <ide> var thisIncident = incidents[i]; <ide> var cssClass; <ide> <del> // OR condition for testing purposes. <del> // TODO: remove for production. <ide> if (thisIncident.Highlight == true) { <ide> cssClass = ' class="incident-row highlight"'; <ide> } else {
Java
bsd-3-clause
465580b3fad97638ac0d1a5330d87fbc74782be2
0
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
package gov.nih.nci.calab.service.search; import gov.nih.nci.calab.db.DataAccessProxy; import gov.nih.nci.calab.db.IDataAccess; import gov.nih.nci.calab.domain.nano.characterization.Characterization; import gov.nih.nci.calab.domain.nano.particle.Nanoparticle; import gov.nih.nci.calab.dto.characterization.Characterizat...
src/gov/nih/nci/calab/service/search/SearchNanoparticleService.java
package gov.nih.nci.calab.service.search; import gov.nih.nci.calab.db.DataAccessProxy; import gov.nih.nci.calab.db.IDataAccess; import gov.nih.nci.calab.domain.nano.characterization.Characterization; import gov.nih.nci.calab.domain.nano.particle.Nanoparticle; import gov.nih.nci.calab.dto.characterization.Characterizat...
added getReportInfo method to retrieve report and associated file for a sample. SVN-Revision: 2226
src/gov/nih/nci/calab/service/search/SearchNanoparticleService.java
added getReportInfo method to retrieve report and associated file for a sample.
<ide><path>rc/gov/nih/nci/calab/service/search/SearchNanoparticleService.java <ide> import gov.nih.nci.calab.dto.characterization.CharacterizationBean; <ide> import gov.nih.nci.calab.dto.common.UserBean; <ide> import gov.nih.nci.calab.dto.particle.ParticleBean; <add>import gov.nih.nci.calab.dto.LabFileBean; <ide> impor...
Java
mit
971cb189c147fd70ddf71a5e66cd5ad7560c86e8
0
founderio/chaoscrystal
package founderio.chaoscrystal.rendering; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.List; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.Gui; import net.minecraft.client.renderer.RenderHelper; import net.minecr...
common/founderio/chaoscrystal/rendering/OverlayAspectSelector.java
package founderio.chaoscrystal.rendering; import java.io.ByteArrayOutputStream; import java.io.DataOutputStream; import java.io.IOException; import java.util.List; import net.minecraft.client.Minecraft; import net.minecraft.client.gui.Gui; import net.minecraft.client.renderer.RenderHelper; import net.minecr...
Some cleanup & mini optimization
common/founderio/chaoscrystal/rendering/OverlayAspectSelector.java
Some cleanup & mini optimization
<ide><path>ommon/founderio/chaoscrystal/rendering/OverlayAspectSelector.java <ide> import founderio.chaoscrystal.ChaosCrystalMain; <ide> import founderio.chaoscrystal.Constants; <ide> import founderio.chaoscrystal.aspects.Node; <del>import founderio.chaoscrystal.aspects.modules.ModuleVanillaWorldgen; <ide> import found...
JavaScript
lgpl-2.1
2694bcbad8bf4d886d3003e132d911b63cea2dc1
0
olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,olifre/root,root-mirror/root,root-mirror/root,root-mirror/root,root-mirror/root,root-mirror/root,root-mirror/root,olifre/root,olifre/root,root-mirror/root,root-mirror/root,root-mirror/root,root-mirror/root,olifre/root,root-mirror/root,olifre/root
sap.ui.define(['rootui5/eve7/lib/EveManager'], function(EveManager) { "use strict"; // See also EveScene.js makeGLRepresentation(), there several members are // set for the top-level Object3D. //============================================================================== // EveElemControl //=====...
ui5/eve7/lib/EveElementsRCore.js
sap.ui.define(['rootui5/eve7/lib/EveManager'], function(EveManager) { "use strict"; // See also EveScene.js makeGLRepresentation(), there several members are // set for the top-level Object3D. //============================================================================== // EveElemControl //=====...
Copy hits, tracks, jets from Three version and do first pass to work with RCore.
ui5/eve7/lib/EveElementsRCore.js
Copy hits, tracks, jets from Three version and do first pass to work with RCore.
<ide><path>i5/eve7/lib/EveElementsRCore.js <ide> RC = rc; <ide> } <ide> <add> EveElements.prototype.TestRnr = function(name, obj, rnr_data) <add> { <add> if (obj && rnr_data && rnr_data.vtxBuff) return false; <add> <add> var cnt = this[name] || 0; <add> if (cnt++ < 5) console.log(name, obj,...
Java
mit
37678d80a47a1cc9824e8bd45d632dc49f2bd6f1
0
OreCruncher/DynamicSurroundings,OreCruncher/DynamicSurroundings
/* * This file is part of Dynamic Surroundings, licensed under the MIT License (MIT). * * Copyright (c) OreCruncher * * 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 restrictio...
src/main/java/org/blockartistry/DynSurround/client/handlers/scanners/BattleScanner.java
/* * This file is part of Dynamic Surroundings, licensed under the MIT License (MIT). * * Copyright (c) OreCruncher * * 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 restrictio...
[#190] Refine entity candidates by type for battle music
src/main/java/org/blockartistry/DynSurround/client/handlers/scanners/BattleScanner.java
[#190] Refine entity candidates by type for battle music
<ide><path>rc/main/java/org/blockartistry/DynSurround/client/handlers/scanners/BattleScanner.java <ide> import net.minecraft.entity.EntityLiving; <ide> import net.minecraft.entity.boss.EntityDragon; <ide> import net.minecraft.entity.boss.EntityWither; <add>import net.minecraft.entity.monster.EntityGolem; <add>import ne...
JavaScript
mit
80c754760212b8d4d9bc43ae9403fe5dfe20bce5
0
makenew/tasty-brunch,rxlabs/tasty-todos,rxlabs/tasty-todos,makenew/tasty-brunch,rxlabs/tasty-todos,makenew/tasty-brunch
const fs = require('fs') const gitRevSync = require('git-rev-sync') const gulp = require('gulp') const ghPages = require('gulp-gh-pages') const htmlhint = require('gulp-htmlhint') const htmlmin = require('gulp-htmlmin') const plumber = require('gulp-plumber') const sassLint = require('gulp-sass-lint') const standard =...
gulpfile.js
const fs = require('fs') const gitRevSync = require('git-rev-sync') const gulp = require('gulp') const ghPages = require('gulp-gh-pages') const htmlhint = require('gulp-htmlhint') const htmlmin = require('gulp-htmlmin') const plumber = require('gulp-plumber') const sassLint = require('gulp-sass-lint') const standard =...
Use more specific watch globs
gulpfile.js
Use more specific watch globs
<ide><path>ulpfile.js <ide> }) <ide> <ide> gulp.task('watch', () => { <del> gulp.src('public') <add> gulp.src('public/**/*.html') <ide> .pipe(watch('public/**/*.html')) <ide> .pipe(plumber()) <ide> .pipe(htmlhint()) <ide> .pipe(htmlhint.reporter()) <ide> <del> gulp.src('app') <add> gulp.src('app/*...
Java
apache-2.0
64cd4383adceab12a5467869b78059f0935610d4
0
androidx/media,stari4ek/ExoPlayer,ened/ExoPlayer,amzn/exoplayer-amazon-port,stari4ek/ExoPlayer,androidx/media,amzn/exoplayer-amazon-port,google/ExoPlayer,google/ExoPlayer,ened/ExoPlayer,androidx/media,google/ExoPlayer,stari4ek/ExoPlayer,amzn/exoplayer-amazon-port,ened/ExoPlayer
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
library/core/src/main/java/com/google/android/exoplayer2/trackselection/AdaptiveTrackSelection.java
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
Default to not select iFrame oly tracks. Pull in change to default to not use i-Frames for base AdaptiveTrackSelection. The expectation is a subclases, that support transitioning to iFrame, will select these tracks.
library/core/src/main/java/com/google/android/exoplayer2/trackselection/AdaptiveTrackSelection.java
Default to not select iFrame oly tracks.
<ide><path>ibrary/core/src/main/java/com/google/android/exoplayer2/trackselection/AdaptiveTrackSelection.java <ide> protected boolean canSelectFormat( <ide> Format format, int trackBitrate, float playbackSpeed, long effectiveBitrate) { <ide> <del> boolean isIframeOnly = (format.roleFlags & C.ROLE_FLAG_TRICK...
Java
apache-2.0
a45a1189facc30952831c90c220fb3fc4c9878a7
0
amckee23/drools,ChallenHB/drools,iambic69/drools,winklerm/drools,sotty/drools,ThomasLau/drools,mrietveld/drools,kedzie/drools-android,kevinpeterson/drools,TonnyFeng/drools,vinodkiran/drools,TonnyFeng/drools,prabasn/drools,pwachira/droolsexamples,mrrodriguez/drools,reynoldsm88/drools,ThomasLau/drools,Buble1981/MyDroolsF...
/* * Copyright 2010 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
drools-core/src/main/java/org/drools/core/reteoo/FromNode.java
/* * Copyright 2010 JBoss Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
[DROOLS-376] avoid NPE on JPAKnowledgeService.loadStatefulKnowledgeSession() when Collection is modified
drools-core/src/main/java/org/drools/core/reteoo/FromNode.java
[DROOLS-376] avoid NPE on JPAKnowledgeService.loadStatefulKnowledgeSession() when Collection is modified
<ide><path>rools-core/src/main/java/org/drools/core/reteoo/FromNode.java <ide> if( map != null ) { <ide> TupleKey key = PersisterHelper.createTupleKey(leftTuple); <ide> List<FactHandle> list = map.get( key ); <del> if( list == null || list.isEmpty() ) { <del> ...
Java
apache-2.0
bdfac560268dd144f36087557693a5e048ce55ab
0
vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa,vespa-engine/vespa
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.zookeeper; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.admin.ZooKeeperAdmin; import java.io.IOException; import java.nio.charset.StandardCharsets; impor...
zookeeper-server/zookeeper-server-3.6.2/src/main/java/com/yahoo/vespa/zookeeper/VespaZooKeeperAdminImpl.java
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. package com.yahoo.vespa.zookeeper; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.admin.ZooKeeperAdmin; import java.io.IOException; import java.nio.charset.StandardCharsets; impor...
Ensure theat we close the ZooKeeperAdmin. Unfortunately The ZooKeeper.close throw Interrupted exception which make the compiler complain when used in try-with-resource is must be doen manually with finally clause.
zookeeper-server/zookeeper-server-3.6.2/src/main/java/com/yahoo/vespa/zookeeper/VespaZooKeeperAdminImpl.java
Ensure theat we close the ZooKeeperAdmin. Unfortunately The ZooKeeper.close throw Interrupted exception which make the compiler complain when used in try-with-resource is must be doen manually with finally clause.
<ide><path>ookeeper-server/zookeeper-server-3.6.2/src/main/java/com/yahoo/vespa/zookeeper/VespaZooKeeperAdminImpl.java <ide> <ide> @Override <ide> public void reconfigure(String connectionSpec, String joiningServers, String leavingServers) throws ReconfigException { <add> ZooKeeperAdmin zooKeeperAdmin =...