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
0c8a62e37f0d26e215aa0165a6aa78977debdcf1
0
Aedificem/ontrac,Aedificem/ontrac
function sockets() { var chat_notification = new Audio('/sounds/ding.mp3'); var full = location.protocol+'//'+location.hostname+(location.port ? ':'+location.port: ''); var socket = io.connect(full); var username = $('#send-message').data("username"); var online = []; var list = $("#online-list"); var ad...
assets/js/sockets.js
function sockets() { var chat_notification = new Audio('/sounds/ding.mp3'); var full = location.protocol+'//'+location.hostname+(location.port ? ':'+location.port: ''); var socket = io.connect(full); var username = $('#send-message').data("username"); var online = []; var list = $("#online-list"); var ad...
Improved online user lists (closes #58 and closes #59)
assets/js/sockets.js
Improved online user lists (closes #58 and closes #59)
<ide><path>ssets/js/sockets.js <ide> }); <ide> socket.on('online-list', function(data) { <ide> online = data.users; <del> console.log(data.users); <del> $("#users-online").text(online.length+" user(s)"); <del> <add> //console.log(data.users); <ide> update_online_lists(); <del> <ide> }); <ide> s...
Java
apache-2.0
f46a880b65cf782d63fba98bf10d9a0c4c3cb592
0
temyers/cucumber-jvm-parallel-plugin
package com.github.timm.cucumber.generate; import com.github.timm.cucumber.generate.filter.TagFilter; import com.github.timm.cucumber.generate.name.ClassNamingScheme; import gherkin.AstBuilder; import gherkin.Parser; import gherkin.TokenMatcher; import gherkin.ast.Feature; import gherkin.ast.ScenarioDefinition; import...
src/main/java/com/github/timm/cucumber/generate/CucumberITGeneratorByFeature.java
package com.github.timm.cucumber.generate; import com.github.timm.cucumber.generate.filter.TagFilter; import com.github.timm.cucumber.generate.name.ClassNamingScheme; import com.github.timm.cucumber.options.TagParser; import gherkin.AstBuilder; import gherkin.Parser; import gherkin.TokenMatcher; import gherkin.ast.Fea...
refactor - remove dead code
src/main/java/com/github/timm/cucumber/generate/CucumberITGeneratorByFeature.java
refactor - remove dead code
<ide><path>rc/main/java/com/github/timm/cucumber/generate/CucumberITGeneratorByFeature.java <ide> <ide> import com.github.timm.cucumber.generate.filter.TagFilter; <ide> import com.github.timm.cucumber.generate.name.ClassNamingScheme; <del>import com.github.timm.cucumber.options.TagParser; <ide> import gherkin.AstBuild...
Java
apache-2.0
b637b0c7888c065ccce144f1e02af5ebaac2c0b2
0
TopQuadrant/shacl,TopQuadrant/shacl
package org.topbraid.shacl.compact; import java.io.OutputStream; import java.io.Writer; import java.util.Collections; import java.util.Comparator; import java.util.LinkedList; import java.util.List; import java.util.Set; import org.apache.jena.atlas.io.IndentedWriter; import org.apache.jena.ext.com.google.common.coll...
src/main/java/org/topbraid/shacl/compact/SHACLCWriter.java
package org.topbraid.shacl.compact; import java.io.OutputStream; import java.io.Writer; import java.util.Collections; import java.util.Comparator; import java.util.LinkedList; import java.util.List; import java.util.Set; import org.apache.jena.atlas.io.IndentedWriter; import org.apache.jena.ext.com.google.common.coll...
Restored accidentally overwritten changes to SHACLCWriter (incomplete anyway)
src/main/java/org/topbraid/shacl/compact/SHACLCWriter.java
Restored accidentally overwritten changes to SHACLCWriter (incomplete anyway)
<ide><path>rc/main/java/org/topbraid/shacl/compact/SHACLCWriter.java <ide> <ide> private void write(IndentedWriter out, Graph graph, PrefixMap prefixMap, String baseURI, Context context) { <ide> Model model = ModelFactory.createModelForGraph(graph); <del> out.println("BASE <" + baseURI + ">"); <del> out.println(...
Java
lgpl-2.1
e9eee5449216295a52a5d3ee833ead3f058d5d1f
0
ethaneldridge/vassal,ethaneldridge/vassal,ethaneldridge/vassal
/* * * Copyright (c) 2000-2003 by Rodney Kinney, Jim Urbas * Refactoring of DragHandler Copyright 2011 Pieter Geerkens * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * ...
vassal-app/src/main/java/VASSAL/build/module/map/PieceMover.java
/* * * Copyright (c) 2000-2003 by Rodney Kinney, Jim Urbas * Refactoring of DragHandler Copyright 2011 Pieter Geerkens * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * ...
14187 - Repress 'Deep Legacy' mouse listeners. They were violating drag thresholds.
vassal-app/src/main/java/VASSAL/build/module/map/PieceMover.java
14187 - Repress 'Deep Legacy' mouse listeners. They were violating drag thresholds.
<ide><path>assal-app/src/main/java/VASSAL/build/module/map/PieceMover.java <ide> !Boolean.TRUE.equals(dragging.getProperty(Properties.IGNORE_GRID)) && <ide> (dragging.getParent() == null || !dragging.getParent().isExpanded()); <ide> } <add> <ide> if (useGrid) { <ide> if (map....
Java
apache-2.0
86fdf19118d38683f834890ebe08698127f9c131
0
dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,wikimedia/apps-android-wikipedia,wikimedia/apps-android-wikipedia,dbrant/apps-android-wikipedia,dbrant/apps-android-wikipedia
package org.wikipedia; public final class Constants { // Keep loader IDs unique to each loader. If the loader specified by the ID already exists, the // last created loader is reused. public static final int HISTORY_FRAGMENT_LOADER_ID = 100; public static final int RECENT_SEARCHES_FRAGMENT_LOADER_ID = ...
app/src/main/java/org/wikipedia/Constants.java
package org.wikipedia; public final class Constants { // Keep loader IDs unique to each loader. If the loader specified by the ID already exists, the // last created loader is reused. public static final int HISTORY_FRAGMENT_LOADER_ID = 100; public static final int RECENT_SEARCHES_FRAGMENT_LOADER_ID = ...
reorganize the order of invokeSources
app/src/main/java/org/wikipedia/Constants.java
reorganize the order of invokeSources
<ide><path>pp/src/main/java/org/wikipedia/Constants.java <ide> public static final int MIN_LANGUAGES_TO_UNLOCK_TRANSLATION = 2; <ide> <ide> public enum InvokeSource { <del> BOOKMARK_BUTTON, <ide> CONTEXT_MENU, <ide> LINK_PREVIEW_MENU, <ide> PAGE_OVERFLOW_MENU, <del> FEED, ...
Java
mit
18271aa1f4b38fefa859412ce2624351cec55485
0
iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller-stable,iontorrent/Torrent-Variant-Caller...
/* * Copyright (c) 2010 The Broad Institute * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modi...
java/src/org/broadinstitute/sting/utils/sam/AlignmentUtils.java
/* * Copyright (c) 2010 The Broad Institute * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without * restriction, including without limitation the rights to use, * copy, modi...
It never fails to amaze me that aligners can find so many different ways to place indels off the ends of contigs git-svn-id: 4561c0a8f080806b19201efb9525134c00b76d40@5503 348d0f76-0448-11de-a6fe-93d51630548a
java/src/org/broadinstitute/sting/utils/sam/AlignmentUtils.java
It never fails to amaze me that aligners can find so many different ways to place indels off the ends of contigs
<ide><path>ava/src/org/broadinstitute/sting/utils/sam/AlignmentUtils.java <ide> byte[] alt = new byte[refSeq.length + (indelLength * (indel.getOperator() == CigarOperator.D ? -1 : 1))]; <ide> <ide> // add the bases before the indel, making sure it's not aligned off the end of the reference <del> ...
Java
apache-2.0
9beac7cb585a0d00fecc45ac7db3739798f7e1d0
0
Nethmi-Pathirana/carbon-analytics,grainier/carbon-analytics,wso2/carbon-analytics,mohanvive/carbon-analytics,minudika/carbon-analytics,minudika/carbon-analytics,wso2/carbon-analytics,Anoukh/carbon-analytics,Niveathika92/carbon-analytics,tishan89/carbon-analytics,tishan89/carbon-analytics,Niveathika92/carbon-analytics,w...
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
components/org.wso2.carbon.das.jobmanager.core/src/main/java/org/wso2/carbon/das/jobmanager/core/util/SiddhiTopologyCreatorConstants.java
/* * Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.or...
formatting constant naming
components/org.wso2.carbon.das.jobmanager.core/src/main/java/org/wso2/carbon/das/jobmanager/core/util/SiddhiTopologyCreatorConstants.java
formatting constant naming
<ide><path>omponents/org.wso2.carbon.das.jobmanager.core/src/main/java/org/wso2/carbon/das/jobmanager/core/util/SiddhiTopologyCreatorConstants.java <ide> * This class contains constants needed for the Topology creation <ide> */ <ide> public class SiddhiTopologyCreatorConstants { <del> public static final String in...
Java
bsd-3-clause
58c7ddba6ec571533b895dfd25e83fb03b870e76
0
BayesianLogic/blog,BayesianLogic/blog,BayesianLogic/blog,BayesianLogic/blog,BayesianLogic/blog
package blog.common.numerical; /** * Exposes different matrix libraries to BLOG using a consistent set of * methods. Different libraries may be used with BLOG without significant * code modifications. * * @author awong * @date November 5, 2012 */ public interface MatrixLib { /** * Gives the value of an el...
src/blog/common/numerical/MatrixLib.java
package blog.common.numerical; /** * Exposes different matrix libraries to BLOG using a consistent set of * methods. Different libraries may be used with BLOG without significant * code modifications. * * @author awong * @date November 5, 2012 */ public interface MatrixLib { /** * Gives the value of an el...
clarify what coords mean
src/blog/common/numerical/MatrixLib.java
clarify what coords mean
<ide><path>rc/blog/common/numerical/MatrixLib.java <ide> /** <ide> * Gives the value of an element of this matrix <ide> * <del> * @param x the x-index <del> * @param y the y-index <add> * @param x the row index <add> * @param y the column index <ide> * @return <ide> */ <ide> public double elementAt(int ...
JavaScript
mit
627df4657c4fe3d822d3b56b00a6fe3f647e7bbf
0
kopfnicker2008/kopfnicker2008.github.io,kopfnicker2008/kopfnicker2008.github.io
"use strict"; angular.module('myApp.login', ['firebase.utils', 'firebase.auth', 'ngRoute']) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/login', { controller: 'LoginCtrl', templateUrl: 'login/login.html' }); }]) .controller('LoginCtrl', ['$scope', 'Auth', '$loc...
app/login/login.js
"use strict"; angular.module('myApp.login', ['firebase.utils', 'firebase.auth', 'ngRoute']) .config(['$routeProvider', function($routeProvider) { $routeProvider.when('/login', { controller: 'LoginCtrl', templateUrl: 'login/login.html' }); }]) .controller('LoginCtrl', ['$scope', 'Auth', '$loc...
no message
app/login/login.js
no message
<ide><path>pp/login/login.js <ide> <ide> $scope.login = function(email, pass) { <ide> $scope.err = null; <del> //Auth.$authWithPassword({ email: email, password: pass }, {rememberMe: true}) <add> //Auth.$authWithOAuthPopup({ email: email, password: pass }, {rememberMe: true}) <ide> // .then(...
Java
apache-2.0
941f7c2ae6b79904a632493d098a0110ef87c05f
0
linqs/psl,linqs/psl,linqs/psl
/* * This file is part of the PSL software. * Copyright 2011-2015 University of Maryland * Copyright 2013-2018 The Regents of the University of California * * 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...
psl-core/src/main/java/org/linqs/psl/evaluation/statistics/CategoricalEvaluator.java
/* * This file is part of the PSL software. * Copyright 2011-2015 University of Maryland * Copyright 2013-2018 The Regents of the University of California * * 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...
Expanded a comment.
psl-core/src/main/java/org/linqs/psl/evaluation/statistics/CategoricalEvaluator.java
Expanded a comment.
<ide><path>sl-core/src/main/java/org/linqs/psl/evaluation/statistics/CategoricalEvaluator.java <ide> <ide> /** <ide> * The index of the arguments in the predicate (delimited by colons). <add> * The other arguments are treated as identifiers. <add> * Zero-indexed. <ide> */ <ide> public static...
Java
apache-2.0
c7fb83dd47cd4c19acd890238087ee5fdd4362e9
0
alphafoobar/intellij-community,da1z/intellij-community,fengbaicanhe/intellij-community,lucafavatella/intellij-community,samthor/intellij-community,ryano144/intellij-community,youdonghai/intellij-community,adedayo/intellij-community,SerCeMan/intellij-community,MichaelNedzelsky/intellij-community,fnouama/intellij-communi...
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/lang-api/src/com/intellij/openapi/project/ProjectUtil.java
/* * Copyright 2000-2014 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
- do not file.getFileType() to avoid autodetection by content loading for arbitrary files - use ProjectCoreUtil when possible
platform/lang-api/src/com/intellij/openapi/project/ProjectUtil.java
- do not file.getFileType() to avoid autodetection by content loading for arbitrary files - use ProjectCoreUtil when possible
<ide><path>latform/lang-api/src/com/intellij/openapi/project/ProjectUtil.java <ide> import com.intellij.openapi.actionSystem.DataContext; <ide> import com.intellij.openapi.fileEditor.UniqueVFilePathBuilder; <ide> import com.intellij.openapi.fileTypes.FileType; <del>import com.intellij.openapi.fileTypes.InternalFileType...
Java
apache-2.0
51c46a92c2161a31959f5f53bb3348b925251ec9
0
chinmay-gupte/blueflood,goru97/blueflood,izrik/blueflood,shintasmith/blueflood,shintasmith/blueflood,izrik/blueflood,rackerlabs/blueflood,GeorgeJahad/blueflood,GeorgeJahad/blueflood,tilogaat/blueflood,ChandraAddala/blueflood,goru97/blueflood,menchauser/blueflood,ChandraAddala/blueflood,goru97/blueflood,izrik/blueflood,...
/* * Copyright 2013 Rackspace * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
blueflood-core/src/main/java/com/rackspacecloud/blueflood/concurrent/AsyncFunctionWithThreadPool.java
/* * Copyright 2013 Rackspace * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
remove comment. getThreadpool() will be necessary. BatchWriter is a good example of why. That code could never be encapsulated in a method that returns a single Callable (since it sends multiple Callables into the threadpool).
blueflood-core/src/main/java/com/rackspacecloud/blueflood/concurrent/AsyncFunctionWithThreadPool.java
remove comment. getThreadpool() will be necessary. BatchWriter is a good example of why. That code could never be encapsulated in a method that returns a single Callable (since it sends multiple Callables into the threadpool).
<ide><path>lueflood-core/src/main/java/com/rackspacecloud/blueflood/concurrent/AsyncFunctionWithThreadPool.java <ide> return (AsyncFunctionWithThreadPool<I,O>) this; <ide> } <ide> <del> // todo: this method could be made uneeded if apply where implemented to always send work to this threadpool. <del...
JavaScript
mit
0896badcdf174f5ef56015d77d4a3363a116ea2a
0
sackio/mongoo
/* Add a path that represents a location - address and geojson */ 'use strict'; var Belt = require('jsbelt') , _ = require('underscore') , Async = require('async') , Locup = require('locup'); module.exports = function(schema, options){ var a = Belt.argulint(arguments, { 'validators...
lib/plugins/location_path.js
/* Add a path that represents a location - address and geojson */ 'use strict'; var Belt = require('jsbelt') , _ = require('underscore') , Async = require('async') , Locup = require('locup'); module.exports = function(schema, options){ var a = Belt.argulint(arguments, { 'validators...
new location path plugin
lib/plugins/location_path.js
new location path plugin
<ide><path>ib/plugins/location_path.js <ide> 'given_string': {type: String} <ide> , 'normalized_string': {type: String} <ide> , 'address': {type: Object} <del> , 'geo': { <del> 'type': {type: String, default: 'Point'} <del> , 'coordinates': {type: Array} <add> , 'coordinates': { <add> ...
Java
apache-2.0
25f64b0cd254d7a00cd0c9350919b9ac352c5f3d
0
kidaa/maven-1,keith-turner/maven,ChristianSchulte/maven,aheritier/maven,mcculls/maven,Tibor17/maven,wangyuesong0/maven,trajano/maven,karthikjaps/maven,mizdebsk/maven,njuneau/maven,changbai1980/maven,mizdebsk/maven,lbndev/maven,josephw/maven,Mounika-Chirukuri/maven,runepeter/maven-deploy-plugin-2.8.1,kidaa/maven-1,mccul...
package org.apache.maven.plugin; /* * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICEN...
maven-core/src/main/java/org/apache/maven/plugin/MavenPluginCollector.java
package org.apache.maven.plugin; import org.apache.maven.model.Plugin; import org.apache.maven.plugin.descriptor.PluginDescriptor; import org.codehaus.plexus.component.discovery.ComponentDiscoveryEvent; import org.codehaus.plexus.component.discovery.ComponentDiscoveryListener; import org.codehaus.plexus.component.repo...
add copyright git-svn-id: 2c527eb49caa05e19d6b2be874bf74fa9d7ea670@314767 13f79535-47bb-0310-9956-ffa450edef68
maven-core/src/main/java/org/apache/maven/plugin/MavenPluginCollector.java
add copyright
<ide><path>aven-core/src/main/java/org/apache/maven/plugin/MavenPluginCollector.java <ide> package org.apache.maven.plugin; <add> <add>/* <add> * Copyright 2001-2005 The Apache Software Foundation. <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except i...
JavaScript
agpl-3.0
8a6574e81a7c0d44c908ce2b4740f004124f63c8
0
nextcloud/server,IljaN/core,IljaN/core,endsguy/server,xx621998xx/server,sharidas/core,Ardinis/server,sharidas/core,lrytz/core,xx621998xx/server,pixelipo/server,xx621998xx/server,lrytz/core,pmattern/server,pmattern/server,Ardinis/server,bluelml/core,IljaN/core,endsguy/server,pollopolea/core,jbicha/server,Ardinis/server,...
/* * Copyright (c) 2014 * * This file is licensed under the Affero General Public License version 3 * or later. * * See the COPYING-README file. * */ (function() { var TEMPLATE_ADDBUTTON = '<a href="#" class="button new" title="{{addText}}"><img src="{{iconUrl}}"></img></a>'; /** * @class OCA.Files.FileL...
apps/files/js/filelist.js
/* * Copyright (c) 2014 * * This file is licensed under the Affero General Public License version 3 * or later. * * See the COPYING-README file. * */ (function() { var TEMPLATE_ADDBUTTON = '<a href="#" class="button new" title="{{addText}}"><img src="{{iconUrl}}"></img></a>'; /** * @class OCA.Files.FileL...
Keep right sidebar open, add Details action
apps/files/js/filelist.js
Keep right sidebar open, add Details action
<ide><path>pps/files/js/filelist.js <ide> this._detailsView.addDetailView(new OCA.Files.MainFileInfoDetailView({fileList: this, fileActions: this.fileActions})); <ide> this._detailsView.$el.insertBefore(this.$el); <ide> this._detailsView.$el.addClass('disappear'); <add> <add> this.fileActions.registerAct...
Java
apache-2.0
0ade2baa2776be55332b76ae6fe49932fa6d07a1
0
allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int...
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.xml; import com.intellij.codeInsight.daemon.impl.HighlightInfoType; import com.intellij.ide.highlighter.XHtmlFileType; import com.intellij.lang.ASTNode; impo...
xml/xml-psi-impl/src/com/intellij/xml/XmlExtension.java
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.xml; import com.intellij.codeInsight.daemon.impl.HighlightInfoType; import com.intellij.ide.highlighter.XHtmlFileType; import com.intellij.lang.ASTNode; impo...
angular: WEB-43748 fix input missing associated label inspection with Angular Material - code review changes GitOrigin-RevId: ddea18ab64162f6c4c08d817ff8914b8ffead9d2
xml/xml-psi-impl/src/com/intellij/xml/XmlExtension.java
angular: WEB-43748 fix input missing associated label inspection with Angular Material - code review changes
<ide><path>ml/xml-psi-impl/src/com/intellij/xml/XmlExtension.java <ide> return false; <ide> } <ide> <del> public boolean isImplicitlyLabelledTag(@NotNull XmlTag tag) { <del> return false; <del> } <del> <ide> public HighlightInfoType getHighlightInfoType(XmlFile file) { <ide> return HighlightInfoType.E...
JavaScript
bsd-2-clause
9946ee8493fe48198dfd974669747a6a401a4b3e
0
campbellwmorgan/nunjucks,atorkhov/nunjucks,vigetlabs/nunjucks,kevinschaul/nunjucks,AaronO/nunjucks,node-modules/nunjucks,campbellwmorgan/nunjucks,mozilla/nunjucks,santoshsahoo/nunjucks,rhengles/nunjucks,node-modules/nunjucks,carljm/nunjucks,rhengles/nunjucks,robgraeber/nunjucks,campbellwmorgan/nunjucks,kevinschaul/nunj...
var fs = require('fs'); var path = require('path'); var lib = require('./lib'); var Loader = require('./loader'); var chokidar = require('chokidar'); // Node <0.7.1 compatibility var existsSync = fs.existsSync || path.existsSync; var FileSystemLoader = Loader.extend({ init: function(searchPaths, noWatch, noCache)...
src/node-loaders.js
var fs = require('fs'); var path = require('path'); var lib = require('./lib'); var Loader = require('./loader'); var chokidar = require('chokidar'); // Node <0.7.1 compatibility var existsSync = fs.existsSync || path.existsSync; var FileSystemLoader = Loader.extend({ init: function(searchPaths, noWatch, noCache)...
Fix test of position of template file
src/node-loaders.js
Fix test of position of template file
<ide><path>rc/node-loaders.js <ide> var paths = this.searchPaths; <ide> <ide> for(var i=0; i<paths.length; i++) { <add> var basePath = path.resolve(paths[i]); <ide> var p = path.resolve(paths[i], name); <ide> <ide> // Only allow the current directory and anything <id...
Java
apache-2.0
14111c0e697d26b4695058218abc0091eb2ffca9
0
3sidedcube/Android-LightningUi
package com.cube.storm.ui.view.holder; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; import com.cube...
src/main/java/com/cube/storm/ui/view/holder/ButtonListItemHolder.java
package com.cube.storm.ui.view.holder; import android.text.TextUtils; import android.view.LayoutInflater; import android.view.View; import android.view.View.OnClickListener; import android.view.ViewGroup; import android.widget.Button; import android.widget.LinearLayout; import android.widget.TextView; import com.cube...
Fixed incorrect implementation in button list item holder
src/main/java/com/cube/storm/ui/view/holder/ButtonListItemHolder.java
Fixed incorrect implementation in button list item holder
<ide><path>rc/main/java/com/cube/storm/ui/view/holder/ButtonListItemHolder.java <ide> title.setVisibility(View.GONE); <ide> button.setVisibility(View.GONE); <ide> <del> String content = UiSettings.getInstance().getTextProcessor().process(model.getButton().getTitle().getContent()); <add> if (model.getTitle() ...
Java
apache-2.0
3a392609e176e8e5321dc8d18d1d955375d1bc64
0
nizhikov/ignite,andrey-kuznetsov/ignite,SomeFire/ignite,ilantukh/ignite,andrey-kuznetsov/ignite,SomeFire/ignite,xtern/ignite,apache/ignite,nizhikov/ignite,SomeFire/ignite,ilantukh/ignite,SomeFire/ignite,nizhikov/ignite,ilantukh/ignite,NSAmelchev/ignite,ilantukh/ignite,chandresh-pancholi/ignite,ilantukh/ignite,chandresh...
/* * 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 ...
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxFinishSync.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 ...
IGNITE-11754 Fixed memory leak in TxFinishSync - Fixes #6462. Signed-off-by: Alexey Goncharuk <c2e378302c4fe819c8ea9894ec81272c9da3a0af@gmail.com>
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxFinishSync.java
IGNITE-11754 Fixed memory leak in TxFinishSync - Fixes #6462.
<ide><path>odules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/GridCacheTxFinishSync.java <ide> import org.apache.ignite.internal.processors.cache.GridCacheSharedContext; <ide> import org.apache.ignite.internal.util.future.GridFinishedFuture; <ide> import org.apache.ignite.internal.util.fu...
Java
mit
c080f3751983d5f95bbb736597eb9d47a12e8f08
0
ChaseYaoCong/main,CS2103AUG2016-F11-C1/main,CS2103AUG2016-F11-C1/main
package seedu.todo.commons.util; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.time.format.TextStyle; import java.time.temporal.ChronoUnit; import java.util.Date; import java.util.Locale; /** * A utility class for Dates and...
src/main/java/seedu/todo/commons/util/DateUtil.java
package seedu.todo.commons.util; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.format.DateTimeFormatter; import java.time.format.TextStyle; import java.time.temporal.ChronoUnit; import java.util.Date; import java.util.Locale; /** * A utility class for Dates and...
Use more concise DateTimeFormatter for formatShortDate
src/main/java/seedu/todo/commons/util/DateUtil.java
Use more concise DateTimeFormatter for formatShortDate
<ide><path>rc/main/java/seedu/todo/commons/util/DateUtil.java <ide> public static String formatShortDate(LocalDateTime dateTime) { <ide> LocalDate date = dateTime.toLocalDate(); <ide> long daysDifference = LocalDate.now().until(date, ChronoUnit.DAYS); <del> String dayOfWeek = date.getDayOfWee...
Java
agpl-3.0
5fbbc9328b0a4a191b9ff9d598b42c6553d12aae
0
UniversityOfHawaii/kfs,quikkian-ua-devops/will-financials,kuali/kfs,ua-eas/kfs-devops-automation-fork,quikkian-ua-devops/kfs,quikkian-ua-devops/kfs,kuali/kfs,bhutchinson/kfs,kuali/kfs,quikkian-ua-devops/will-financials,quikkian-ua-devops/kfs,quikkian-ua-devops/will-financials,quikkian-ua-devops/will-financials,ua-eas/k...
/* * Copyright 2011 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by app...
work/src/org/kuali/kfs/module/tem/document/web/bean/TravelEntertainmentMvcWrapperBean.java
/* * Copyright 2011 The Kuali Foundation. * * Licensed under the Educational Community License, Version 1.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl1.php * * Unless required by app...
KFSCONTRB-937 renaming to be more consistent
work/src/org/kuali/kfs/module/tem/document/web/bean/TravelEntertainmentMvcWrapperBean.java
KFSCONTRB-937 renaming to be more consistent
<ide><path>ork/src/org/kuali/kfs/module/tem/document/web/bean/TravelEntertainmentMvcWrapperBean.java <ide> /** <ide> * This class... <ide> */ <del>public interface TravelEntertainmentMVCWrapperBean extends TravelMvcWrapperBean { <add>public interface TravelEntertainmentMvcWrapperBean extends TravelMvcWrapperBean { <i...
Java
apache-2.0
fcb2c0a04242c2cebb12c9abc3405b43158c8cfd
0
stelar7/L4J8
package no.stelar7.api.l4j8.basic.constants.api; import java.util.*; import java.util.stream.Stream; public enum Platform { /** * Unknown platform, used for bots in participant identities */ UNKNOWN(""), /** * BRAZIL platform. */ BR1("BR1"), /** * Europe No...
src/main/java/no/stelar7/api/l4j8/basic/constants/api/Platform.java
package no.stelar7.api.l4j8.basic.constants.api; import java.util.*; import java.util.stream.Stream; public enum Platform { /** * Unknown platform, used for bots in participant identities */ UNKNOWN(""), /** * BR platform. */ BR1("BR1"), /** * EUNE platform...
Add garena regions
src/main/java/no/stelar7/api/l4j8/basic/constants/api/Platform.java
Add garena regions
<ide><path>rc/main/java/no/stelar7/api/l4j8/basic/constants/api/Platform.java <ide> */ <ide> UNKNOWN(""), <ide> /** <del> * BR platform. <add> * BRAZIL platform. <ide> */ <ide> BR1("BR1"), <ide> /** <del> * EUNE platform. <add> * Europe Nordic & East platform. <ide> */ <id...
Java
mit
8a9879ea887a3af3ab1dd9755ae81333ce1e8e62
0
sake/bouncycastle-java
package org.bouncycastle.crypto.modes; import org.bouncycastle.crypto.BlockCipher; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.DataLengthException; import org.bouncycastle.crypto.InvalidCipherTextException; /** * A block cipher mode that includes authenticated encryption with a st...
src/org/bouncycastle/crypto/modes/AEADBlockCipher.java
package org.bouncycastle.crypto.modes; import org.bouncycastle.crypto.BlockCipher; import org.bouncycastle.crypto.CipherParameters; import org.bouncycastle.crypto.DataLengthException; import org.bouncycastle.crypto.InvalidCipherTextException; /** * A block cipher mode that includes authenticated encryption with a st...
Include reset() method as part of interface
src/org/bouncycastle/crypto/modes/AEADBlockCipher.java
Include reset() method as part of interface
<ide><path>rc/org/bouncycastle/crypto/modes/AEADBlockCipher.java <ide> * with len bytes of input. <ide> */ <ide> public int getOutputSize(int len); <add> <add> /** <add> * Reset the cipher. After resetting the cipher is in the same state <add> * as it was after the last init (if there was one)....
Java
apache-2.0
4bd821646eb24245b2c39fe1551a0a4920a22e6c
0
thomasjungblut/thomasjungblut-common
package de.jungblut.nlp; import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; import java.util.Random; import java.util.Set; import com.google.common.base.Preconditions; import de.jungblut.math.DoubleVector; import de.jungblut.math.DoubleVector.DoubleVectorElement; /** * Line...
src/de/jungblut/nlp/MinHash.java
package de.jungblut.nlp; import java.util.Arrays; import java.util.Iterator; import java.util.Random; import com.google.common.base.Preconditions; import de.jungblut.math.DoubleVector; import de.jungblut.math.DoubleVector.DoubleVectorElement; /** * Linear MinHash algorithm to find near duplicates faste...
generate cluster keys from a minhash
src/de/jungblut/nlp/MinHash.java
generate cluster keys from a minhash
<ide><path>rc/de/jungblut/nlp/MinHash.java <ide> package de.jungblut.nlp; <ide> <ide> import java.util.Arrays; <add>import java.util.HashSet; <ide> import java.util.Iterator; <ide> import java.util.Random; <add>import java.util.Set; <ide> <ide> import com.google.common.base.Preconditions; <ide> <ide> private final...
JavaScript
bsd-3-clause
3ebb4155a4f6bfbb8549e3805d31a4115380728a
0
Migweld/spree,volpejoaquin/spree,cutefrank/spree,madetech/spree,miyazawatomoka/spree,degica/spree,groundctrl/spree,dru/pokupalka,Boomkat/spree,carlesjove/spree,jimblesm/spree,jordan-brough/solidus,devilcoders/solidus,shaywood2/spree,tesserakt/clean_spree,brchristian/spree,JDutil/spree,beni55/spree,hifly/spree,trigrass2...
var regions = new Array('billing', 'shipping', 'shipping_method', 'creditcard', 'confirm_order'); $(document).ajaxSend(function(event, request, settings) { if (typeof(AUTH_TOKEN) == "undefined") return; // settings.data is a serialized string like "foo=bar&baz=boink" (or null) settings.data = settings.data || ""...
public/javascripts/checkout.js
var regions = new Array('billing', 'shipping', 'shipping_method', 'creditcard', 'confirm_order'); $(document).ajaxSend(function(event, request, settings) { if (typeof(AUTH_TOKEN) == "undefined") return; // settings.data is a serialized string like "foo=bar&baz=boink" (or null) settings.data = settings.data || ""...
refined the update_state mechanism * the hidden value is only copied to a combo if there's an option which matches in the new list * the hidden value is only copied to a textbox if it isn't ^\d+$ * the hidden value is always set from the combo/textbox after any change I've also reinstated the change callback in up...
public/javascripts/checkout.js
refined the update_state mechanism
<ide><path>ublic/javascripts/checkout.js <ide> .html(nm); <ide> replacement.append(opt) <ide> if (id == hidden_element.val()) { opt.attr('selected', 'true') } <del> // query - should opt.val(...) work too? was used in original <del> // probably will when states are fixed... <add> ...
Java
agpl-3.0
2e203de0f4026ec179fd6695d1e198f03670981a
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
bac07080-2e60-11e5-9284-b827eb9e62be
hello.java
babaf628-2e60-11e5-9284-b827eb9e62be
bac07080-2e60-11e5-9284-b827eb9e62be
hello.java
bac07080-2e60-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>babaf628-2e60-11e5-9284-b827eb9e62be <add>bac07080-2e60-11e5-9284-b827eb9e62be
Java
isc
2172dfa1bf84d79af2cf431eebc9709ba03a8a3a
0
Tetr4/Spacecurl
package de.klimek.spacecurl.game.pong; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import de.klimek.spacecurl.R; /** * Lives */ public class Lives { private static final int RADIUS = 32; private s...
SpaceCurl/src/de/klimek/spacecurl/game/pong/Lives.java
package de.klimek.spacecurl.game.pong; import android.content.res.Resources; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import de.klimek.spacecurl.R; /** * Lives */ public class Lives { private static final int RADIUS = 32; private s...
fixed wrong offset for lives in pong
SpaceCurl/src/de/klimek/spacecurl/game/pong/Lives.java
fixed wrong offset for lives in pong
<ide><path>paceCurl/src/de/klimek/spacecurl/game/pong/Lives.java <ide> <ide> protected void draw(Canvas canvas) { <ide> for (int i = 0; i < mLiveCount; i++) { <del> canvas.drawBitmap(mSmileyBitmap, i * RADIUS * 2 + PADDING_SIDE, PADDING_TOP, <add> canvas.drawBitmap(mSmileyBitmap, i * ...
Java
mit
927d04fcd07a8589451abfec0efeee2cea8f3d41
0
greboid/DMDirc,ShaneMcC/DMDirc-Client,DMDirc/DMDirc,ShaneMcC/DMDirc-Client,DMDirc/DMDirc,ShaneMcC/DMDirc-Client,DMDirc/DMDirc,csmith/DMDirc,csmith/DMDirc,DMDirc/DMDirc,ShaneMcC/DMDirc-Client,csmith/DMDirc,greboid/DMDirc,greboid/DMDirc,csmith/DMDirc,greboid/DMDirc
/* * Copyright (c) 2006-2010 Chris Smith, Shane Mc Cormack, Gregory Holmes * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
src/com/dmdirc/Server.java
/* * Copyright (c) 2006-2010 Chris Smith, Shane Mc Cormack, Gregory Holmes * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights ...
addQuery and addChannel now return the added objects Fixes issue 3880 Change-Id: If19373c7c662b7532dfa814fdad25667585cbc35 Reviewed-on: http://gerrit.dmdirc.com/991 Reviewed-by: Shane Mc Cormack <6f6e68d1df92f30cb4b3ce35260ddf94a402f33d@dmdirc.com> Automatic-Compile: Shane Mc Cormack <6f6e68d1df92f30cb4b3ce35260ddf94...
src/com/dmdirc/Server.java
addQuery and addChannel now return the added objects
<ide><path>rc/com/dmdirc/Server.java <ide> * Adds a specific channel and window to this server. <ide> * <ide> * @param chan channel to add <del> */ <del> public void addChannel(final ChannelInfo chan) { <add> * @return The channel that was added (may be null if closing) <add> */ <add> p...
Java
apache-2.0
d8ddc4487fe04a46d3db550b49c2578f1e514e06
0
jyemin/mongo-java-driver,PSCGroup/mongo-java-driver,davydotcom/mongo-java-driver,eltimn/mongo-java-driver,kevinsawicki/mongo-java-driver,rozza/mongo-java-driver,eltimn/mongo-java-driver,kevinsawicki/mongo-java-driver,jsonking/mongo-java-driver,jyemin/mongo-java-driver,rozza/mongo-java-driver,kay-kim/mongo-java-driver,w...
// DBCollection.java package ed.db; import java.util.*; import java.lang.reflect.*; import ed.util.*; /** DB Collection * * Class for database collection objects. When you invoke something like: * var my_coll = db.students; * you get back a collection which can be used to perform various database operations...
src/main/ed/db/DBCollection.java
// DBCollection.java package ed.db; import java.util.*; import java.lang.reflect.*; import ed.util.*; /** DB Collection * * Class for database collection objects. When you invoke something like: * var my_coll = db.students; * you get back a collection which can be used to perform various database operations...
drop/dropIndexes
src/main/ed/db/DBCollection.java
drop/dropIndexes
<ide><path>rc/main/ed/db/DBCollection.java <ide> protected abstract void doapply( DBObject o ); <ide> <ide> /** Removes an object from the database collection. <del> * @param id The _id of the object to be removed <ide> * @return -1 <ide> */ <del> public abstract int remove( DBObject id ); <ad...
Java
apache-2.0
e77324dec29fee27c77dd107f51a07bbef1848e9
0
bastiaanb/carbon-identity,bastiaanb/carbon-identity,liurl3/carbon-identity,darshanasbg/carbon-identity,laki88/carbon-identity,godwinamila/carbon-identity,JKAUSHALYA/carbon-identity,0xkasun/carbon-identity,johannnallathamby/carbon-identity,jacklotusho/carbon-identity,kesavany/carbon-identity,madurangasiriwardena/carbon-...
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) 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 * * ...
components/application-authenticators/org.wso2.carbon.identity.application.authenticator.openid.ext/src/main/java/org/wso2/carbon/identity/application/authenticator/openid/ext/internal/SampleAuthenticatorServiceComponent.java
/* * Copyright (c) 2014, WSO2 Inc. (http://www.wso2.org) 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 * * ...
code quality improvement oidc ext
components/application-authenticators/org.wso2.carbon.identity.application.authenticator.openid.ext/src/main/java/org/wso2/carbon/identity/application/authenticator/openid/ext/internal/SampleAuthenticatorServiceComponent.java
code quality improvement oidc ext
<ide><path>omponents/application-authenticators/org.wso2.carbon.identity.application.authenticator.openid.ext/src/main/java/org/wso2/carbon/identity/application/authenticator/openid/ext/internal/SampleAuthenticatorServiceComponent.java <ide> import org.wso2.carbon.identity.application.authenticator.openid.ext.GoogleOpe...
JavaScript
mit
7481d632174782ca5c696bc4a00c92d238011656
0
lukecahill/Note-keeper,lukecahill/Note-keeper,lukecahill/Note-keeper
(function() { // load the available notes and tags. var showingComplete = false; var $noteList = $('#note-list'); var $completedNoteButton = $('#complete-notes-button'); var $newNoteSection = $('#new-note-section'); var $tagChooser = $('#tag-chooser'); var $noteTags = $('#add-note-tags'); var color = 'red'; ...
js/script.js
(function() { // load the available notes and tags. var showingComplete = false; var $noteList = $('#note-list'); var $completedNoteButton = $('#complete-notes-button'); var $newNoteSection = $('#new-note-section'); var $tagChooser = $('#tag-chooser'); var $noteTags = $('#add-note-tags'); var color = 'red'; ...
Remove old code. Add dropdown items to array for future use
js/script.js
Remove old code. Add dropdown items to array for future use
<ide><path>s/script.js <ide> var $tagChooser = $('#tag-chooser'); <ide> var $noteTags = $('#add-note-tags'); <ide> var color = 'red'; <add> var dropdownTags = []; <ide> <ide> // configuration for toastr notificiations. <ide> toastr.options = { <ide> * @function String format <ide> * <ide> * Add functionality ...
Java
mit
error: pathspec 'tests.java' did not match any file(s) known to git
007f7c0ab55e435e68e15d44c80ffd9316f6a30f
1
jonnysdavis/textedu
//no comment
tests.java
Create tests.java
tests.java
Create tests.java
<ide><path>ests.java <add>//no comment
Java
apache-2.0
f87be0e4f37b38bb5e22207cca2b22c64bad39d5
0
SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
base/src/main/java/io/spine/code/proto/Type.java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Fix flawed `equals`.
base/src/main/java/io/spine/code/proto/Type.java
Fix flawed `equals`.
<ide><path>ase/src/main/java/io/spine/code/proto/Type.java <ide> <ide> import com.google.common.base.Objects; <ide> import com.google.errorprone.annotations.Immutable; <del>import com.google.protobuf.Descriptors; <ide> import com.google.protobuf.Descriptors.GenericDescriptor; <ide> import com.google.protobuf.Message; ...
JavaScript
mit
9a04c70bd31b7530c13d30cb432a608eacd81ebb
0
fmoliveira/fmoliveira.github.io,fmoliveira/fmoliveira.github.io
module.exports = { siteMetadata: { title: `fmoliveira.dev`, description: `I'm a Freelance Software Engineer who loves writing clean and well-tested code. My favourite tech stack at the moment is React, TypeScript, Jest and Testing Library. Always hungry for learning and happy to help!`, author: `@fmolivei...
gatsby-config.js
module.exports = { siteMetadata: { title: `Gatsby Default Starter`, description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`, author: `@gatsbyjs`, }, plugins: [ `gatsby-plugin-typescript...
Replace initial config for personal info.
gatsby-config.js
Replace initial config for personal info.
<ide><path>atsby-config.js <ide> module.exports = { <ide> siteMetadata: { <del> title: `Gatsby Default Starter`, <del> description: `Kick off your next, great Gatsby project with this default starter. This barebones starter ships with the main Gatsby configuration files you might need.`, <del> author: `@gats...
Java
mit
222af5fd5f74870e97cd3d7482e0359c61bb8bfb
0
nking/curvature-scale-space-corners-and-transformations,nking/curvature-scale-space-corners-and-transformations
package algorithms.imageProcessing.features; import algorithms.MultiArrayMergeSort; import algorithms.compGeometry.MedialAxis; import algorithms.compGeometry.PerimeterFinder2; import algorithms.compGeometry.RotatedOffsets; import algorithms.compGeometry.clustering.KMeansHSV; import algorithms.compGeometry.clustering.K...
tests/algorithms/imageProcessing/features/AndroidStatuesTest.java
package algorithms.imageProcessing.features; import algorithms.MultiArrayMergeSort; import algorithms.compGeometry.MedialAxis; import algorithms.compGeometry.PerimeterFinder2; import algorithms.compGeometry.RotatedOffsets; import algorithms.compGeometry.clustering.KMeansHSV; import algorithms.compGeometry.clustering.K...
adding a cupcake statues test
tests/algorithms/imageProcessing/features/AndroidStatuesTest.java
adding a cupcake statues test
<ide><path>ests/algorithms/imageProcessing/features/AndroidStatuesTest.java <ide> } <ide> } <ide> <del> public void testORBMatcher2() throws Exception { <add> public void estORBMatcher() throws Exception { <ide> <ide> /* <ide> this demonstrates ORB <ide> } <ide> }...
Java
apache-2.0
3c28492525b14477f7eca3dc753ac2e3e6745189
0
ChadKillingsworth/closure-compiler,nawawi/closure-compiler,GerHobbelt/closure-compiler,GerHobbelt/closure-compiler,monetate/closure-compiler,google/closure-compiler,MatrixFrog/closure-compiler,vobruba-martin/closure-compiler,ChadKillingsworth/closure-compiler,tdelmas/closure-compiler,GerHobbelt/closure-compiler,Yannic/...
/* * Copyright 2004 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
src/com/google/javascript/jscomp/Scope.java
/* * Copyright 2004 The Closure Compiler Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable...
Gives the name value when checkState fails ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=159613530
src/com/google/javascript/jscomp/Scope.java
Gives the name value when checkState fails
<ide><path>rc/com/google/javascript/jscomp/Scope.java <ide> * @param input the input in which this variable is defined. <ide> */ <ide> Var declare(String name, Node nameNode, CompilerInput input) { <del> checkState(name != null && !name.isEmpty()); <add> checkState(name != null && !name.isEmpty(), name); ...
Java
lgpl-2.1
2e7d75463200cd205d3443360c09bb1635b6873a
0
ethaneldridge/vassal,ethaneldridge/vassal,ethaneldridge/vassal
/* * * Copyright (c) 2000-2003 by Rodney Kinney * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, * bu...
vassal-app/src/main/java/VASSAL/preferences/PrefsEditor.java
/* * * Copyright (c) 2000-2003 by Rodney Kinney * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License (LGPL) as published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, * bu...
12888 - PrefsEditor - when cancelling, possibility of trying to set value of object to null (see also: BAD)
vassal-app/src/main/java/VASSAL/preferences/PrefsEditor.java
12888 - PrefsEditor - when cancelling, possibility of trying to set value of object to null (see also: BAD)
<ide><path>assal-app/src/main/java/VASSAL/preferences/PrefsEditor.java <ide> <ide> protected synchronized void cancel() { <ide> for (Configurer c : options) { <del> c.setValue(savedValues.get(c)); <add> Object o = savedValues.get(c); <add> if (o != null) { <add> c.setValue(o); <add> } ...
Java
apache-2.0
b3a70c788f3a0e9dec1cc4dda0bb8bcead216364
0
ivan-fedorov/intellij-community,vvv1559/intellij-community,muntasirsyed/intellij-community,kdwink/intellij-community,apixandru/intellij-community,idea4bsd/idea4bsd,ivan-fedorov/intellij-community,ryano144/intellij-community,gnuhub/intellij-community,blademainer/intellij-community,MER-GROUP/intellij-community,allotria/i...
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/SelectIgnorePatternsToRemoveOnDeleteDialog.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
IDEA-55104 Select svn:ignore patterns to remove usability (do not suggest to delete ignore patterns on ignore target deletion)
plugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/SelectIgnorePatternsToRemoveOnDeleteDialog.java
IDEA-55104 Select svn:ignore patterns to remove usability (do not suggest to delete ignore patterns on ignore target deletion)
<ide><path>lugins/svn4idea/src/org/jetbrains/idea/svn/dialogs/SelectIgnorePatternsToRemoveOnDeleteDialog.java <del>/* <del> * Copyright 2000-2009 JetBrains s.r.o. <del> * <del> * Licensed under the Apache License, Version 2.0 (the "License"); <del> * you may not use this file except in compliance with the License. <del...
Java
lgpl-2.1
a643dd52b7dbf4ed858dc58f4828e943432965f1
0
tomck/intermine,Arabidopsis-Information-Portal/intermine,tomck/intermine,zebrafishmine/intermine,JoeCarlson/intermine,joshkh/intermine,drhee/toxoMine,elsiklab/intermine,drhee/toxoMine,elsiklab/intermine,JoeCarlson/intermine,elsiklab/intermine,drhee/toxoMine,Arabidopsis-Information-Portal/intermine,zebrafishmine/intermi...
package org.intermine.webservice.server.output; import java.util.ArrayList; import java.util.Arrays; import java.util.Calendar; import java.util.Collections; import java.util.Date; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Locale; import java.util.Map; import java.util...
intermine/web/test/src/org/intermine/webservice/server/output/JSONResultsIteratorTest.java
package org.intermine.webservice.server.output; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Set; import org.intermine.api.query.MainHelper; import org.intermine.api....
All tests now pass, and coverage is 100%
intermine/web/test/src/org/intermine/webservice/server/output/JSONResultsIteratorTest.java
All tests now pass, and coverage is 100%
<ide><path>ntermine/web/test/src/org/intermine/webservice/server/output/JSONResultsIteratorTest.java <ide> <ide> import java.util.ArrayList; <ide> import java.util.Arrays; <add>import java.util.Calendar; <ide> import java.util.Collections; <add>import java.util.Date; <ide> import java.util.HashMap; <ide> import java.u...
Java
mit
75ad6c200d9f44e7614b92da9f205ec2d6102000
0
jheusser/XChange,npomfret/XChange,mmithril/XChange,cinjoff/XChange-1,anwfr/XChange,timmolter/XChange,evdubs/XChange,yarKH/XChange,codeck/XChange,kzbikowski/XChange,TSavo/XChange,Panchen/XChange,coingecko/XChange,Achterhoeker/XChange,habibmasuro/XChange,nopy/XChange,dozd/XChange,joansmith/XChange,okazia/XChange,stevenur...
/** * Copyright (C) 2012 - 2014 Xeiam LLC http://xeiam.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 the rights to * use, copy,...
xchange-core/src/main/java/com/xeiam/xchange/dto/marketdata/Trade.java
/** * Copyright (C) 2012 - 2014 Xeiam LLC http://xeiam.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 the rights to * use, copy,...
added the getter for orderId
xchange-core/src/main/java/com/xeiam/xchange/dto/marketdata/Trade.java
added the getter for orderId
<ide><path>change-core/src/main/java/com/xeiam/xchange/dto/marketdata/Trade.java <ide> <ide> return id; <ide> } <add> <add> public String getOrderId() { <add> <add> return orderId; <add> } <ide> <ide> @Override <ide> public String toString() {
Java
apache-2.0
b82746f0ead13314d26085b27335681f287ecd30
0
freiheit-com/fuava_simplebatch
/** * Copyright 2015 freiheit.com technologies gmbh * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
core/src/main/java/com/freiheit/fuava/simplebatch/processor/RetryingProcessor.java
/** * Copyright 2015 freiheit.com technologies gmbh * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
better logging
core/src/main/java/com/freiheit/fuava/simplebatch/processor/RetryingProcessor.java
better logging
<ide><path>ore/src/main/java/com/freiheit/fuava/simplebatch/processor/RetryingProcessor.java <ide> : this._func.apply( outputs ); <ide> <ide> if ( persistenceResults.size() != outputs.size() || persistenceResults.size() != successes.size() ) { <del> throw new IllegalStateException( "pers...
Java
apache-2.0
90ead92bd20f4ea31f8212f46b6632a2ad45fb52
0
sotorrent/so-posthistory-extractor
package de.unitrier.st.soposthistory; import de.unitrier.st.soposthistory.history.PostHistoryIterator; import org.apache.commons.cli.*; import java.nio.file.Path; import java.nio.file.Paths; class MainIterator { // TODO : Also store n-grams of code blocks in database? -> would result in a very large database ...
src/de/unitrier/st/soposthistory/MainIterator.java
package de.unitrier.st.soposthistory; import de.unitrier.st.soposthistory.history.PostHistoryIterator; import org.apache.commons.cli.*; import java.nio.file.Path; import java.nio.file.Paths; class MainIterator { // TODO : Also store n-grams of code blocks in database? -> would result in a very large database ...
Update TODO
src/de/unitrier/st/soposthistory/MainIterator.java
Update TODO
<ide><path>rc/de/unitrier/st/soposthistory/MainIterator.java <ide> class MainIterator { <ide> // TODO : Also store n-grams of code blocks in database? -> would result in a very large database <ide> // TODO: Evolution of question title (PostHistoryTypeId 1)? <del> // TODO: Use CreationDate instead of PostHist...
Java
apache-2.0
da8dfbd82dc749d94f1a653d4b76e2a2c76e210b
0
robertwb/incubator-beam,lukecwik/incubator-beam,lukecwik/incubator-beam,robertwb/incubator-beam,apache/beam,robertwb/incubator-beam,lukecwik/incubator-beam,RyanSkraba/beam,lukecwik/incubator-beam,RyanSkraba/beam,RyanSkraba/beam,apache/beam,chamikaramj/beam,robertwb/incubator-beam,robertwb/incubator-beam,robertwb/incuba...
/* * 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 ...
runners/spark/src/main/java/org/apache/beam/runners/spark/structuredstreaming/translation/helpers/EncoderHelpers.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 ...
[BEAM-8470] Remove Encoders based on kryo now that we call Beam coders in the runner
runners/spark/src/main/java/org/apache/beam/runners/spark/structuredstreaming/translation/helpers/EncoderHelpers.java
[BEAM-8470] Remove Encoders based on kryo now that we call Beam coders in the runner
<ide><path>unners/spark/src/main/java/org/apache/beam/runners/spark/structuredstreaming/translation/helpers/EncoderHelpers.java <ide> /** {@link Encoders} utility class. */ <ide> public class EncoderHelpers { <ide> <del> // 1. use actual class and not object to avoid Spark fallback to GenericRowWithSchema. <del> // ...
JavaScript
mit
f945db2db4c593659629c25b73ff18d8aec55d59
0
l-urence/react-native-autocomplete-input,l-urence/react-native-autocomplete-input,l-urence/react-native-autocomplete-input
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { ListView, Platform, StyleSheet, Text, TextInput, View, ViewPropTypes as RNViewPropTypes } from 'react-native'; const ViewPropTypes = RNViewPropTypes || View.propTypes; class Autocomplete extends Component { static p...
index.js
import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { ListView, Platform, StyleSheet, Text, TextInput, View, ViewPropTypes as RNViewPropTypes } from 'react-native'; const ViewPropTypes = RNViewPropTypes || View.propTypes; class Autocomplete extends Component { static p...
Add isFocused() proxy to the internal TextInput
index.js
Add isFocused() proxy to the internal TextInput
<ide><path>ndex.js <ide> focus() { <ide> const { textInput } = this; <ide> textInput && textInput.focus(); <add> } <add> <add> /** <add> * Proxy `isFocused()` to autocomplete's text input. <add> */ <add> isFocused() { <add> const { textInput } = this; <add> return textInput && textInput.isFocused...
JavaScript
mit
183efaf3910003f944e00b2690c32effe0869928
0
JHallberg5100/BattleShip,JHallberg5100/BattleShip,JHallberg5100/BattleShip,JHallberg5100/BattleShip
$(document).ready(function() { var boardFunctionality = function(){ var direction = "horizontal" $("#toggle-button").on("click", function(){ if (direction === "horizontal"){ direction = "vertical"; } else{ direction = "horizontal"; } }) $('a').on("click", func...
Battleship/app/assets/javascripts/game_setup.js
$(document).ready(function() { var boardFunctionality = function(){ var direction = "horizontal" $("#toggle-button").on("click", function(){ if( direction === "horizontal"){ direction = "vertical"; } else{ direction = "horizontal"; } }) $('a').on("click", func...
Clean up JS
Battleship/app/assets/javascripts/game_setup.js
Clean up JS
<ide><path>attleship/app/assets/javascripts/game_setup.js <ide> var boardFunctionality = function(){ <ide> var direction = "horizontal" <ide> $("#toggle-button").on("click", function(){ <del> if( direction === "horizontal"){ <add> if (direction === "horizontal"){ <ide> direction = "vertical"...
Java
apache-2.0
error: pathspec 'core/src/main/java/nl/nn/adapterframework/webcontrol/DummySSLSocketFactory.java' did not match any file(s) known to git
1e7b688e445510d9c2fee4401881ed7320d7a962
1
ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf,ibissource/iaf
/* Copyright 2013 Nationale-Nederlanden 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...
core/src/main/java/nl/nn/adapterframework/webcontrol/DummySSLSocketFactory.java
initial version
core/src/main/java/nl/nn/adapterframework/webcontrol/DummySSLSocketFactory.java
initial version
<ide><path>ore/src/main/java/nl/nn/adapterframework/webcontrol/DummySSLSocketFactory.java <add>/* <add> Copyright 2013 Nationale-Nederlanden <add> <add> Licensed under the Apache License, Version 2.0 (the "License"); <add> you may not use this file except in compliance with the License. <add> You may obtain a c...
Java
mit
084a78a78ffeba8239a9135a350c56dad69b5f70
0
venkatramanm/swf-all,venkatramanm/swf-all,venkatramanm/swf-all
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.venky.swf.db.model; import java.sql.Timestamp; import java.util.List; import java.util.Map; import com.venky.cache.Cache; import com.venky.swf.db.annotations.column.COLUMN_DEF; import com.venky.swf.db.annot...
swf-db/src/main/java/com/venky/swf/db/model/User.java
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.venky.swf.db.model; import java.sql.Timestamp; import java.util.List; import java.util.Map; import com.venky.cache.Cache; import com.venky.swf.db.annotations.column.COLUMN_DEF; import com.venky.swf.db.annot...
User UK Fix
swf-db/src/main/java/com/venky/swf/db/model/User.java
User UK Fix
<ide><path>wf-db/src/main/java/com/venky/swf/db/model/User.java <ide> public interface User extends Model{ <ide> <ide> @IS_NULLABLE(false) <del> @UNIQUE_KEY("K1,K2") <add> @UNIQUE_KEY("K1,K2,K3") <ide> @Index <ide> public String getName(); <ide> public void setName(String name);
JavaScript
mit
4fe7f3b4ebc6a477b30bd3cb55055bb9cdbffc47
0
TeamIllegalSkillsException/CashFlow,TeamIllegalSkillsException/CashFlow,TeamIllegalSkillsException/CashFlow
'use strict'; module.exports = function(environment) { const config = { development: { cookieName: 'test cookie', sessionSecret: 'secret ala bala', webTokenSecret: 'secret mecret', connectionString: 'mongodb://localhost:27017/cash-flow-db', port: ...
server/config/config.js
'use strict'; module.exports = function(environment) { const config = { development: { cookieName: 'test cookie', sessionSecret: 'secret ala bala', webTokenSecret: 'secret mecret', connectionString: 'mongodb://Azonic89:VASko2814mlyo89@ds151018.mlab.com:51018/...
dev connect string
server/config/config.js
dev connect string
<ide><path>erver/config/config.js <ide> cookieName: 'test cookie', <ide> sessionSecret: 'secret ala bala', <ide> webTokenSecret: 'secret mecret', <del> connectionString: 'mongodb://Azonic89:VASko2814mlyo89@ds151018.mlab.com:51018/cash-flow-db', <add> connectionS...
Java
apache-2.0
49202e2cf849dce7df3856ec9f40b1b5596a7ae9
0
sunjincheng121/flink,twalthr/flink,gyfora/flink,godfreyhe/flink,darionyaphet/flink,zentol/flink,xccui/flink,tzulitai/flink,xccui/flink,tillrohrmann/flink,tillrohrmann/flink,xccui/flink,gyfora/flink,wwjiang007/flink,zjureel/flink,StephanEwen/incubator-flink,fhueske/flink,aljoscha/flink,hequn8128/flink,godfreyhe/flink,xc...
/* * 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-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/ConnectorCatalogTable.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 ...
[FLINK-13495][table-api] Use DataType in ConnectorCatalogTable instead of TypeInformation
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/ConnectorCatalogTable.java
[FLINK-13495][table-api] Use DataType in ConnectorCatalogTable instead of TypeInformation
<ide><path>link-table/flink-table-api-java/src/main/java/org/apache/flink/table/catalog/ConnectorCatalogTable.java <ide> <ide> import org.apache.flink.annotation.Internal; <ide> import org.apache.flink.annotation.VisibleForTesting; <del>import org.apache.flink.api.common.typeinfo.TypeInformation; <ide> import org.apac...
Java
agpl-3.0
31573637f659d77b1bc61717d2b568f3f033eac4
0
alcarraz/jPOS,jpos/jPOS,jpos/jPOS,barspi/jPOS,alcarraz/jPOS,jpos/jPOS,barspi/jPOS,alcarraz/jPOS,barspi/jPOS
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2017 jPOS Software SRL * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your opt...
jpos/src/main/java/org/jpos/q2/iso/QMUX.java
/* * jPOS Project [http://jpos.org] * Copyright (C) 2000-2017 jPOS Software SRL * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as * published by the Free Software Foundation, either version 3 of the * License, or (at your opt...
added metrics
jpos/src/main/java/org/jpos/q2/iso/QMUX.java
added metrics
<ide><path>pos/src/main/java/org/jpos/q2/iso/QMUX.java <ide> <ide> package org.jpos.q2.iso; <ide> <add>import org.HdrHistogram.AtomicHistogram; <add>import org.HdrHistogram.Histogram; <ide> import org.jdom2.Element; <ide> import org.jpos.core.ConfigurationException; <ide> import org.jpos.iso.*; <ide> import org.jpos....
Java
apache-2.0
f460e5d0831e8c497179c7edbf1e66f992f09cf0
0
fubuki/elasticsearch,fubuki/elasticsearch,fubuki/elasticsearch,fubuki/elasticsearch,fubuki/elasticsearch,fubuki/elasticsearch
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
src/test/java/org/elasticsearch/transport/ActionNamesBackwardsCompatibilityTest.java
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
test: add exception for field stats api
src/test/java/org/elasticsearch/transport/ActionNamesBackwardsCompatibilityTest.java
test: add exception for field stats api
<ide><path>rc/test/java/org/elasticsearch/transport/ActionNamesBackwardsCompatibilityTest.java <ide> import org.elasticsearch.cluster.node.DiscoveryNodes; <ide> import org.elasticsearch.discovery.zen.ping.unicast.UnicastZenPing; <ide> import org.elasticsearch.indices.store.IndicesStore; <add>import org.elasticsearch.re...
Java
apache-2.0
cca887b51ee07da85793ccbb9adc1cd856eb647c
0
google/error-prone,google/error-prone
/* * Copyright 2021 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
core/src/test/java/com/google/errorprone/bugpatterns/AlreadyCheckedTest.java
/* * Copyright 2021 The Error Prone Authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
Add a regression test for https://github.com/google/error-prone/issues/2928 Must've already been fixed. PiperOrigin-RevId: 427168692
core/src/test/java/com/google/errorprone/bugpatterns/AlreadyCheckedTest.java
Add a regression test for https://github.com/google/error-prone/issues/2928
<ide><path>ore/src/test/java/com/google/errorprone/bugpatterns/AlreadyCheckedTest.java <ide> } <ide> <ide> @Test <add> public void thisAndThat() { <add> helper <add> .addSourceLines( <add> "Test.java", <add> "class Test {", <add> " public void test(boolean a, boolean b)...
Java
mit
33017b957c4f503db52f2f09f3e89146f232b9f9
0
aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips,aterai/java-swing-tips
package example; //-*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import java.util.Objects; import java.util.regex.*; import javax.swing.*; import javax.swing.plaf.metal.MetalScrollBarUI; import javax.swing.text.*; import...
ScrollBarSearchHighlighter/src/java/example/MainPanel.java
package example; //-*- mode:java; encoding:utf-8 -*- // vim:set fileencoding=utf-8: //@homepage@ import java.awt.*; import java.awt.event.*; import java.awt.geom.*; import java.util.Objects; import java.util.regex.*; import javax.swing.*; import javax.swing.plaf.metal.MetalScrollBarUI; import javax.swing.text.*; import...
refactor: use a lambda expression instead of an anonymous class(ActionListener)
ScrollBarSearchHighlighter/src/java/example/MainPanel.java
refactor: use a lambda expression instead of an anonymous class(ActionListener)
<ide><path>crollBarSearchHighlighter/src/java/example/MainPanel.java <ide> // return d; <ide> // } <ide> // }; <del> protected final JCheckBox check = new JCheckBox(new AbstractAction("LineWrap") { <del> @Override public void actionPerformed(ActionEvent e) { <del> JCheckBox ...
Java
apache-2.0
91496c0617fcb598cce66cb4cd06ae1f39c4e21d
0
andyadc/idea-framework
package com.idea4j.framework.bean; import com.idea4j.framework.FrameworkException; import com.idea4j.framework.bean.annotation.Bean; import com.idea4j.framework.core.ClassHelper; import com.idea4j.framework.core.fault.InitializationError; import com.idea4j.framework.mvc.annotation.Action; import org.slf4j.Logger; impo...
idea4j/src/main/java/com/idea4j/framework/bean/BeanHelper.java
package com.idea4j.framework.bean; import com.idea4j.framework.FrameworkException; import com.idea4j.framework.bean.annotation.Bean; import com.idea4j.framework.core.ClassHelper; import com.idea4j.framework.core.fault.InitializationError; import com.idea4j.framework.mvc.annotation.Action; import org.slf4j.Logger; impo...
english logs
idea4j/src/main/java/com/idea4j/framework/bean/BeanHelper.java
english logs
<ide><path>dea4j/src/main/java/com/idea4j/framework/bean/BeanHelper.java <ide> } <ide> } <ide> } catch (Exception e) { <del> LOGGER.error("初始化 BeanHelper 出错!", e); <del> throw new InitializationError("初始化 BeanHelper 出错!", e); <add> LOGGER.error("Initi...
Java
lgpl-2.1
92c4bd538df7302b0580542eafb2500b77669270
0
tklauser/sopc2dts
/* sopc2dts - Devicetree generation for Altera systems Copyright (C) 2011 Walter Goossens <waltergoossens@home.nl> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the Li...
sopc2dts/sopc2dts/generators/DTBHex8Generator.java
package sopc2dts.generators; import sopc2dts.lib.AvalonSystem; import sopc2dts.lib.Bin2IHex; import sopc2dts.lib.Bin2IHex.HexTypes; import sopc2dts.lib.BoardInfo; public class DTBHex8Generator extends AbstractSopcGenerator { private DTBGenerator dtbGen; public DTBHex8Generator(AvalonSystem s) { super(s, true); ...
dtbhex8: Add missing copyright header Signed-off-by: Walter Goossens <423eb823df3d47e4be79896b836c41319472e26c@home.nl>
sopc2dts/sopc2dts/generators/DTBHex8Generator.java
dtbhex8: Add missing copyright header
<ide><path>opc2dts/sopc2dts/generators/DTBHex8Generator.java <add>/* <add>sopc2dts - Devicetree generation for Altera systems <add> <add>Copyright (C) 2011 Walter Goossens <waltergoossens@home.nl> <add> <add>This library is free software; you can redistribute it and/or <add>modify it under the terms of the GNU Lesser G...
Java
mit
c20a76c38484206736f7dfa6a0ca87d060305a34
0
auth0/auth0-api-java,auth0/auth0-java
package com.auth0.net; import com.auth0.client.MockServer; import com.auth0.exception.APIException; import com.auth0.exception.Auth0Exception; import com.auth0.json.auth.TokenHolder; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.ja...
src/test/java/com/auth0/net/CustomRequestTest.java
package com.auth0.net; import com.auth0.client.MockServer; import com.auth0.exception.APIException; import com.auth0.exception.Auth0Exception; import com.auth0.json.auth.TokenHolder; import com.fasterxml.jackson.core.JsonParseException; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.ja...
add missing test case
src/test/java/com/auth0/net/CustomRequestTest.java
add missing test case
<ide><path>rc/test/java/com/auth0/net/CustomRequestTest.java <ide> APIException authException = (APIException) exception; <ide> assertThat(authException.getDescription(), is("A plain-text error response")); <ide> assertThat(authException.getError(), is(nullValue())); <add> assertThat(auth...
Java
bsd-3-clause
error: pathspec 'core/src/androidTest/java/org/hisp/dhis/android/core/event/internal/EventDataFilterStoreIntegrationShould.java' did not match any file(s) known to git
5bca30114c72208b45defc1cc0cb0ba362dc4de2
1
dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk,dhis2/dhis2-android-sdk
/* * Copyright (c) 2004-2019, University of Oslo * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this * list of cond...
core/src/androidTest/java/org/hisp/dhis/android/core/event/internal/EventDataFilterStoreIntegrationShould.java
[androsdk-1269] Add EventDataFilterStoreIntegrationShould
core/src/androidTest/java/org/hisp/dhis/android/core/event/internal/EventDataFilterStoreIntegrationShould.java
[androsdk-1269] Add EventDataFilterStoreIntegrationShould
<ide><path>ore/src/androidTest/java/org/hisp/dhis/android/core/event/internal/EventDataFilterStoreIntegrationShould.java <add>/* <add> * Copyright (c) 2004-2019, University of Oslo <add> * All rights reserved. <add> * <add> * Redistribution and use in source and binary forms, with or without <add> * modification, are p...
JavaScript
mit
4f28522bf6d9a1732a35c00b7d5c53414975eb8e
0
Simpreative/WebSockChat,Simpreative/WebSockChat
var ws = require("nodejs-websocket") function broadcast(server, msg) { server.connections.forEach(function (conn) { conn.sendText(msg) }) } var server = ws.createServer(function (conn) { console.log("New connection") conn.on("text", function (str) { console.log("Received " + str) ...
ws_server.js
var ws = require("nodejs-websocket") var server = ws.createServer(function (conn) { console.log("New connection") conn.on("text", function (str) { console.log("Received "+str) conn.sendText(str) }) conn.on("close", function (code, reason) { console.log("Connection closed") ...
broadcast test
ws_server.js
broadcast test
<ide><path>s_server.js <ide> var ws = require("nodejs-websocket") <ide> <add>function broadcast(server, msg) { <add> server.connections.forEach(function (conn) { <add> conn.sendText(msg) <add> }) <add>} <add> <ide> var server = ws.createServer(function (conn) { <ide> console.log("New connection") <id...
Java
apache-2.0
b7e949dc8ddf9c5bf5c4601ec30105c103cc6dca
0
vladmm/intellij-community,kdwink/intellij-community,ftomassetti/intellij-community,fitermay/intellij-community,signed/intellij-community,amith01994/intellij-community,robovm/robovm-studio,mglukhikh/intellij-community,akosyakov/intellij-community,caot/intellij-community,hurricup/intellij-community,vvv1559/intellij-commu...
/* * Created by IntelliJ IDEA. * User: cdr * Date: Jul 15, 2007 * Time: 4:04:39 PM */ package com.intellij.openapi.vfs.encoding; import com.intellij.openapi.actionSystem.*; import com.intellij.openapi.actionSystem.impl.SimpleDataContext; import com.intellij.openapi.project.Project; import com.intellij.openapi.roo...
source/com/intellij/openapi/vfs/encoding/FileTreeTable.java
/* * Created by IntelliJ IDEA. * User: cdr * Date: Jul 15, 2007 * Time: 4:04:39 PM */ package com.intellij.openapi.vfs.encoding; import com.intellij.openapi.actionSystem.*; import com.intellij.openapi.actionSystem.impl.SimpleDataContext; import com.intellij.openapi.project.Project; import com.intellij.openapi.roo...
IDEADEV-24088
source/com/intellij/openapi/vfs/encoding/FileTreeTable.java
IDEADEV-24088
<ide><path>ource/com/intellij/openapi/vfs/encoding/FileTreeTable.java <ide> import com.intellij.openapi.ui.Messages; <ide> import com.intellij.openapi.vfs.VfsUtil; <ide> import com.intellij.openapi.vfs.VirtualFile; <add>import com.intellij.openapi.util.Pair; <add>import com.intellij.openapi.fileEditor.impl.LoadTextUtil...
Java
apache-2.0
23e26edcca61e42e7ed938fda0306887e74c4ece
0
skittlesdev/kubrick
package com.github.skittlesdev.kubrick; import android.app.FragmentTransaction; import android.os.Bundle; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import android.text.TextUtil...
app/src/main/java/com/github/skittlesdev/kubrick/ProfileActivity.java
package com.github.skittlesdev.kubrick; import android.app.FragmentTransaction; import android.os.Bundle; import android.support.v4.widget.DrawerLayout; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.RecyclerView; import android.support.v7.widget.Toolbar; import android.text.TextUtil...
Login / logout events handling in ProfileActivity
app/src/main/java/com/github/skittlesdev/kubrick/ProfileActivity.java
Login / logout events handling in ProfileActivity
<ide><path>pp/src/main/java/com/github/skittlesdev/kubrick/ProfileActivity.java <ide> import android.widget.ImageView; <ide> import android.widget.TextView; <ide> import com.bumptech.glide.Glide; <add>import com.github.skittlesdev.kubrick.events.LoginEvent; <add>import com.github.skittlesdev.kubrick.events.LogoutEvent;...
Java
mit
776881fb9eede46c6db92f10941308499f7363d3
0
kits-ab/gakusei,kits-ab/gakusei,kits-ab/gakusei
package se.kits.gakusei.content.model; import com.fasterxml.jackson.annotation.JsonManagedReference; import org.hibernate.annotations.Fetch; import org.hibernate.annotations.FetchMode; import org.hibernate.annotations.NotFound; import org.hibernate.annotations.NotFoundAction; import javax.persistence.*; import java.i...
src/main/java/se/kits/gakusei/content/model/Course.java
package se.kits.gakusei.content.model; import javax.persistence.*; import java.io.Serializable; import java.util.List; @Entity @Table(name = "courses", schema = "contentschema") public class Course implements Serializable { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @Col...
changed course-part course relationship
src/main/java/se/kits/gakusei/content/model/Course.java
changed course-part course relationship
<ide><path>rc/main/java/se/kits/gakusei/content/model/Course.java <ide> package se.kits.gakusei.content.model; <add> <add>import com.fasterxml.jackson.annotation.JsonManagedReference; <add>import org.hibernate.annotations.Fetch; <add>import org.hibernate.annotations.FetchMode; <add>import org.hibernate.annotations.NotF...
JavaScript
mit
cf5753375303302be51e0be2303ed226daa9dacc
0
jordandh/sprout,jordandh/sprout
define(["module", "sprout/pubsub", "sprout/util", "sprout/dom", "sprout/env"], function (module, pubsub, _, $, env) { "use strict"; (function () { 'use strict'; var DEFAULT_MAX_DEPTH = 6; var DEFAULT_ARRAY_MAX_LENGTH = 50; var seen; // Same variable used for all stringification...
src/error.js
define(["module", "sprout/pubsub", "sprout/util", "sprout/dom", "sprout/env"], function (module, pubsub, _, $, env) { "use strict"; (function () { 'use strict'; var DEFAULT_MAX_DEPTH = 6; var DEFAULT_ARRAY_MAX_LENGTH = 50; var seen; // Same variable used for all stringification...
Added versioning to the error module. A set of stored errors can have a version associated with it. If the error set version changes then the error store is cleared.
src/error.js
Added versioning to the error module. A set of stored errors can have a version associated with it. If the error set version changes then the error store is cleared.
<ide><path>rc/error.js <ide> * Private helper functions <ide> */ <ide> LocalStorageKey: 'sprout-errors', <add> LocalStorageErrorSetVersionKey: '-version', <ide> <ide> getErrorKey: function (error) <ide> { <ide> } <ide> <ide> return {...
Java
apache-2.0
4ab77acf4af2150b1aa6e079264726f6a620da15
0
petteyg/intellij-community,idea4bsd/idea4bsd,ernestp/consulo,da1z/intellij-community,alphafoobar/intellij-community,ibinti/intellij-community,TangHao1987/intellij-community,idea4bsd/idea4bsd,kdwink/intellij-community,xfournet/intellij-community,joewalnes/idea-community,kool79/intellij-community,ahb0327/intellij-communi...
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
java/java-impl/src/com/intellij/refactoring/OptimizeImportsRefactoringHelper.java
/* * Copyright 2000-2009 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
Hold formatting until import optimization finished
java/java-impl/src/com/intellij/refactoring/OptimizeImportsRefactoringHelper.java
Hold formatting until import optimization finished
<ide><path>ava/java-impl/src/com/intellij/refactoring/OptimizeImportsRefactoringHelper.java <ide> } <ide> <ide> public void performOperation(final Project project, final Set<PsiJavaFile> javaFiles) { <del> ApplicationManager.getApplication().runWriteAction(new Runnable() { <add> PsiManager.getInstance(projec...
Java
mit
0bcc8e7ab19f3fc300a5f5c888fa505c22a4c6fe
0
Winglu/SecondWork
package alg; import java.util.ArrayList; import java.util.Hashtable; import java.util.Iterator; import java.util.Map; import java.util.Queue; import java.util.Set; import java.util.concurrent.LinkedBlockingQueue; import jgraphtResearch.Vertex; import org.jgrapht.UndirectedGraph; import org.jgrapht.alg...
src/main/java/alg/TrussDecomposition.java
package alg; import java.util.ArrayList; import java.util.Hashtable; import java.util.Iterator; import java.util.Map; import java.util.Queue; import java.util.Set; import java.util.concurrent.LinkedBlockingQueue; import jgraphtResearch.Vertex; import org.jgrapht.UndirectedGraph; import org.jgrapht.alg...
test commit2
src/main/java/alg/TrussDecomposition.java
test commit2
<ide><path>rc/main/java/alg/TrussDecomposition.java <ide> <ide> /** <ide> * After calling trussDecomposition, the graph must be reloaded <add> * Moved to git hub <ide> * @author luchen <ide> * <ide> */ <ide> } <ide> <ide> <del> int k = 0; <add> int k = 2; <ide> int j = k-2; <ide> <ide> while(g.edg...
Java
apache-2.0
24ec59b4739f17b1b0568e20e1da8dc57a84e7f5
0
fengshao0907/HikariJSON,brettwooldridge/HikariJSON
package com.zaxxer.hikari.json.serializer; import static com.zaxxer.hikari.json.util.Utf8Utils.fastTrackAsciiDecode; import static com.zaxxer.hikari.json.util.Utf8Utils.findEndQuote; import static com.zaxxer.hikari.json.util.Utf8Utils.findEndQuoteUTF8; import static com.zaxxer.hikari.json.util.Utf8Utils.seekBackUtf8Bo...
src/main/java/com/zaxxer/hikari/json/serializer/BaseJsonParser.java
package com.zaxxer.hikari.json.serializer; import static com.zaxxer.hikari.json.util.Utf8Utils.fastTrackAsciiDecode; import static com.zaxxer.hikari.json.util.Utf8Utils.findEndQuote; import static com.zaxxer.hikari.json.util.Utf8Utils.findEndQuoteUTF8; import static com.zaxxer.hikari.json.util.Utf8Utils.seekBackUtf8Bo...
Rollback some tweaks that paradoxically slowed things down. Likely the JIT could not spot the intended optimization and actually chose a less efficient path.
src/main/java/com/zaxxer/hikari/json/serializer/BaseJsonParser.java
Rollback some tweaks that paradoxically slowed things down. Likely the JIT could not spot the intended optimization and actually chose a less efficient path.
<ide><path>rc/main/java/com/zaxxer/hikari/json/serializer/BaseJsonParser.java <ide> <ide> private int parseMembers(int bufferIndex, final Context context) <ide> { <add> int limit = bufferLimit; <ide> do { <del> final int limit = bufferLimit; <ide> for (final byte[] buffer = byteBuffer...
Java
apache-2.0
9203845d134473205c384a1b2b10f6c23bc5aa1d
0
ThiagoGarciaAlves/intellij-community,ibinti/intellij-community,idea4bsd/idea4bsd,vvv1559/intellij-community,michaelgallacher/intellij-community,da1z/intellij-community,idea4bsd/idea4bsd,youdonghai/intellij-community,FHannes/intellij-community,idea4bsd/idea4bsd,youdonghai/intellij-community,idea4bsd/idea4bsd,FHannes/int...
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
platform/platform-api/src/com/intellij/ui/components/JBScrollPane.java
/* * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agre...
IDEA-157667 Editor's scrollbar thumb: alpha and colors tune border alignment for Retina on Mac
platform/platform-api/src/com/intellij/ui/components/JBScrollPane.java
IDEA-157667 Editor's scrollbar thumb: alpha and colors tune border alignment for Retina on Mac
<ide><path>latform/platform-api/src/com/intellij/ui/components/JBScrollPane.java <ide> if (myDrawColor != null) { <ide> g.setColor(myDrawColor); <ide> if (UIUtil.isRetina(g)) { <del> g.draw(new RoundRectangle2D.Double(.5 + x, .5 + y, width - 1, height - 1, arc, arc)); <add> g.dra...
Java
lgpl-2.1
db0d93db78e32d1ba6c6ce01bdaca89deffd276a
0
wesley1001/orbeon-forms,ajw625/orbeon-forms,orbeon/orbeon-forms,ajw625/orbeon-forms,evlist/orbeon-forms,orbeon/orbeon-forms,joansmith/orbeon-forms,ajw625/orbeon-forms,martinluther/orbeon-forms,wesley1001/orbeon-forms,evlist/orbeon-forms,tanbo800/orbeon-forms,wesley1001/orbeon-forms,tanbo800/orbeon-forms,joansmith/orbeo...
/** * Copyright (C) 2010 Orbeon, Inc. * * This program is free software; you can redistribute it and/or modify it under the terms of the * GNU Lesser General Public License as published by the Free Software Foundation; either version * 2.1 of the License, or (at your option) any later version. * * This program i...
src/java/org/orbeon/oxf/xforms/processor/XFormsToXHTML.java
/** * Copyright (C) 2010 Orbeon, Inc. * * This program is free software; you can redistribute it and/or modify it under the terms of the * GNU Lesser General Public License as published by the Free Software Foundation; either version * 2.1 of the License, or (at your option) any later version. * * This program i...
Space.
src/java/org/orbeon/oxf/xforms/processor/XFormsToXHTML.java
Space.
<ide><path>rc/java/org/orbeon/oxf/xforms/processor/XFormsToXHTML.java <ide> for (final String currentSchemaURI: schemaURIs) { <ide> if (indentedLogger.isDebugEnabled()) <ide> indentedLogger.logDebug("", "adding document cache dependency for schema", "schema UR...
Java
apache-2.0
1eda8fb101f2843046520e9cd4e73f2955a2a94c
0
MrGussio/EarthInvadersGDX,MrGussio/EarthInvadersGDX,MrGussio/EarthInvadersGDX
package ga.gussio.ld38.earthinvaders.screen; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlo...
core/src/ga/gussio/ld38/earthinvaders/screen/MenuScreen.java
package ga.gussio.ld38.earthinvaders.screen; import com.badlogic.gdx.Gdx; import com.badlogic.gdx.graphics.Color; import com.badlogic.gdx.graphics.OrthographicCamera; import com.badlogic.gdx.graphics.Texture; import com.badlogic.gdx.graphics.g2d.BitmapFont; import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlo...
Fixed disposals in the menu screen.
core/src/ga/gussio/ld38/earthinvaders/screen/MenuScreen.java
Fixed disposals in the menu screen.
<ide><path>ore/src/ga/gussio/ld38/earthinvaders/screen/MenuScreen.java <ide> sb.draw(logo, Game.WIDTH/2-(logo.getTexture().getWidth()*10)/2, Game.HEIGHT-50-logo.getHeight()*10, logo.getWidth()*10, logo.getHeight()*10); <ide> play.renderSB(sb); <ide> sb.end(); <del> <ide> } <ide> <ide> @...
JavaScript
bsd-3-clause
16f8083ecae4fe541d827431473324fa22493887
0
WhiskeyMedia/ella,whalerock/ella,MichalMaM/ella,whalerock/ella,petrlosa/ella,MichalMaM/ella,WhiskeyMedia/ella,ella/ella,petrlosa/ella,whalerock/ella
/** * Text Area powered by callbacks. * requires: jQuery 1.4.2+, * gettext() function, * log_ntarea object (initialized in fuckitup.js), * ContentElementViewportDetector object (utils.js). * */ var NEWMAN_TEXTAREA_PREVIEW_SIZE_ADDITION = 10; //px var newman_textarea_focused; var new...
ella/newman/media/js/fuckitup_install.js
/** * Text Area powered by callbacks. * requires: jQuery 1.4.2+, * gettext() function, * log_ntarea object (initialized in fuckitup.js), * ContentElementViewportDetector object (utils.js). * */ var NEWMAN_TEXTAREA_PREVIEW_SIZE_ADDITION = 10; //px var newman_textarea_focused; var new...
markdown area buttons for creating ordered and unordered list now ignores blank lines on beginning and end of selection (usability improvement)
ella/newman/media/js/fuckitup_install.js
markdown area buttons for creating ordered and unordered list now ignores blank lines on beginning and end of selection (usability improvement)
<ide><path>lla/newman/media/js/fuckitup_install.js <ide> } <ide> var lines = sel.split(/\r\n|\n|\r/); <ide> var bullet_lines = []; <del> for (var i = 0; i < lines.length; i++) { <add> <add> var i = 0; <add> /* find first and last non-empty line */ <add> for (i=0; i<li...
JavaScript
mit
f5fff2124d6ff3bb96e7359f928e61614577a072
0
esdoc/esdoc,h13i32maru/esdoc,h13i32maru/esdoc
/** * this is TestGuessReturn. */ export default class TestGuessReturn { method1(){ return 123; } method2(){ return [123, 456]; } method3(){ return {x1: 123, x2: 'text'}; } method4(){ return `text`; } method5(){ const obj = {} return {...obj} } }
test/fixture/package/src/Guess/Return.js
/** * this is TestGuessReturn. */ export default class TestGuessReturn { method1(){ return 123; } method2(){ return [123, 456]; } method3(){ return {x1: 123, x2: 'text'}; } method4(){ return `text`; } }
Add test to show parser crash.
test/fixture/package/src/Guess/Return.js
Add test to show parser crash.
<ide><path>est/fixture/package/src/Guess/Return.js <ide> method4(){ <ide> return `text`; <ide> } <add> <add> method5(){ <add> const obj = {} <add> return {...obj} <add> } <ide> }
Java
mit
6cde154084aef7c9f991bfbef523dd764cd0f9f0
0
amarseillan/pedestriansimulation,amarseillan/pedestriansimulation,amarseillan/pedestriansimulation
package ar.edu.itba.pedestriansim.front; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Scanner; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; ...
src/main/java/ar/edu/itba/pedestriansim/front/GUIPedestrianSim.java
package ar.edu.itba.pedestriansim.front; import java.io.File; import java.io.IOException; import java.util.Scanner; import org.newdawn.slick.AppGameContainer; import org.newdawn.slick.BasicGame; import org.newdawn.slick.GameContainer; import org.newdawn.slick.Graphics; import org.newdawn.slick.Input; impor...
import faltante que producia error de compilacion.
src/main/java/ar/edu/itba/pedestriansim/front/GUIPedestrianSim.java
import faltante que producia error de compilacion.
<ide><path>rc/main/java/ar/edu/itba/pedestriansim/front/GUIPedestrianSim.java <ide> package ar.edu.itba.pedestriansim.front; <ide> <ide> import java.io.File; <add>import java.io.FileNotFoundException; <ide> import java.io.IOException; <ide> import java.util.Scanner; <ide>
Java
apache-2.0
6c0c508ef8afe602a12dbeb2b68ea708fdffedd2
0
5of9/traccar,tananaev/traccar,joseant/traccar-1,jssenyange/traccar,stalien/traccar_test,renaudallard/traccar,duke2906/traccar,jon-stumpf/traccar,AnshulJain1985/Roadcast-Tracker,tananaev/traccar,vipien/traccar,tsmgeek/traccar,tananaev/traccar,renaudallard/traccar,jon-stumpf/traccar,5of9/traccar,al3x1s/traccar,al3x1s/tra...
/* * Copyright 2016 Anton Tananaev (anton.tananaev@gmail.com) * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required b...
src/org/traccar/api/resource/NotificationResource.java
package org.traccar.api.resource; import java.sql.SQLException; import java.util.Collection; import javax.ws.rs.Consumes; import javax.ws.rs.GET; import javax.ws.rs.POST; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.QueryParam; import javax.ws.rs.core.MediaType; import javax.ws...
Fixed missed license and wrong EOL
src/org/traccar/api/resource/NotificationResource.java
Fixed missed license and wrong EOL
<ide><path>rc/org/traccar/api/resource/NotificationResource.java <add>/* <add> * Copyright 2016 Anton Tananaev (anton.tananaev@gmail.com) <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may obtain a copy...
JavaScript
mit
0f799d8808410ac1975178721a6720228d794d40
0
rafaeljesus/easy-schedule
import User from '../../api/users/collection' import Event from '../../api/events/collection' describe('Events:RoutesSpec', () => { let fixture = require('./fixture')() , evt1 = fixture.event1 , evt2 = fixture.event2 , name = 'user-name' , password = 'user-password' beforeEach(function* () { ...
test/events/routes.spec.js
import User from '../../api/users/collection' import Event from '../../api/events/collection' describe('Events:RoutesSpec', () => { let fixture = require('./fixture')() , evt1 = fixture.event1 , evt2 = fixture.event2 , name = 'user-name' , password = 'user-password' beforeEach(function* () { ...
Remove unnecessary done callback from spec
test/events/routes.spec.js
Remove unnecessary done callback from spec
<ide><path>est/events/routes.spec.js <ide> set('Accept', 'application/json'). <ide> set('Accept-Encoding', 'gzip'). <ide> expect('Content-Type', /json/). <del> expect(401, (err, res) => { <del> if (err) return done(err) <del> expect(res.body.error).to.equal('unauthorized') <del> ...
Java
apache-2.0
2e99b50fffda1c6798a0ef5c1dba6feb5cb70ef4
0
kuali/kc-rice,UniversityOfHawaiiORS/rice,shahess/rice,cniesen/rice,smith750/rice,ewestfal/rice,bsmith83/rice-1,shahess/rice,gathreya/rice-kc,bhutchinson/rice,jwillia/kc-rice1,rojlarge/rice-kc,kuali/kc-rice,bsmith83/rice-1,bsmith83/rice-1,ewestfal/rice-svn2git-test,jwillia/kc-rice1,cniesen/rice,gathreya/rice-kc,sonamuth...
/** * Copyright 2005-2013 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
rice-framework/krad-sampleapp/impl/src/main/java/edu/sampleu/travel/dataobject/TravelDestination.java
/** * Copyright 2005-2013 The Kuali Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ecl2.php * * Unless required by a...
KULRICE-11003 Advanced Lookup Demo - Configure basic DD, Maintenance, Lookup & Inquiry for Primary Destination
rice-framework/krad-sampleapp/impl/src/main/java/edu/sampleu/travel/dataobject/TravelDestination.java
KULRICE-11003 Advanced Lookup Demo - Configure basic DD, Maintenance, Lookup & Inquiry for Primary Destination
<ide><path>ice-framework/krad-sampleapp/impl/src/main/java/edu/sampleu/travel/dataobject/TravelDestination.java <ide> */ <ide> package edu.sampleu.travel.dataobject; <ide> <add>import edu.sampleu.travel.options.PostalCountryCode; <ide> import edu.sampleu.travel.options.PostalCountryCodeKeyValuesFinder; <add>import ed...
Java
apache-2.0
c6788ccb91ac88f7ae3d15b8c7d6b9251c4dd7c1
0
psoreide/bnd,psoreide/bnd,psoreide/bnd
package aQute.libg.reporter; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Arrays; import java.util.IllegalFormatException; import aQute.service.reporter.Messages.ERROR; import aQute.service.reporter.Messages.WARNING; import aQute.service...
aQute.libg/src/aQute/libg/reporter/ReporterMessages.java
package aQute.libg.reporter; import java.lang.reflect.InvocationHandler; import java.lang.reflect.Method; import java.lang.reflect.Proxy; import java.util.Arrays; import java.util.IllegalFormatException; import aQute.service.reporter.Messages.ERROR; import aQute.service.reporter.Messages.WARNING; import aQute.service...
reporter: Better report exceptions for ERROR class proxy This will unroll InvocationTargetExceptions to show the real issue. Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>
aQute.libg/src/aQute/libg/reporter/ReporterMessages.java
reporter: Better report exceptions for ERROR class proxy
<ide><path>Qute.libg/src/aQute/libg/reporter/ReporterMessages.java <ide> char c = name.charAt(i); <ide> switch (c) { <ide> case '_' : <del> sb.append(" %s, "); <add> sb.append(" %s"); <add> if (i + 1 < name.length()) { <add> sb.append(", "); <add> } <ide> n...
Java
apache-2.0
ffabf9ba9b70baa679cca6cf804ef4ec275fdccc
0
amyvmiwei/hbase,Eshcar/hbase,narendragoyal/hbase,ChinmaySKulkarni/hbase,Guavus/hbase,JingchengDu/hbase,StackVista/hbase,ibmsoe/hbase,mahak/hbase,apurtell/hbase,bijugs/hbase,Apache9/hbase,Guavus/hbase,drewpope/hbase,drewpope/hbase,StackVista/hbase,Apache9/hbase,drewpope/hbase,justintung/hbase,apurtell/hbase,HubSpot/hbas...
/* * 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 n...
hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedReader.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 n...
HBASE-10616. Addendum that fixes the case of multiget_batchsize == 1 git-svn-id: 5353167ba0f92ab62ee9bfcb6d1de88aeef09424@1577438 13f79535-47bb-0310-9956-ffa450edef68
hbase-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedReader.java
HBASE-10616. Addendum that fixes the case of multiget_batchsize == 1
<ide><path>base-server/src/test/java/org/apache/hadoop/hbase/util/MultiThreadedReader.java <ide> numKeys++; <ide> } while (numKeys < batchSize); <ide> <del> if (numKeys > 1) { //meaning there is some key to read <add> if (numKeys > 0) { //meaning there is some key to read <ide> ...
JavaScript
apache-2.0
eacd15082555e44fde87543b41827f8fe16401dd
0
mcanthony/ares-project,mcanthony/ares-project,mcanthony/ares-project,enyojs/ares-project,enyojs/ares-project,mcanthony/ares-project,enyojs/ares-project,mcanthony/ares-project,enyojs/ares-project,enyojs/ares-project,mcanthony/ares-project
/*global Ares, ares, async, ProjectConfig, ServiceRegistry */ enyo.kind({ name: "ProjectWizardCreate", kind: "onyx.Popup", modal: true, centered: true, floating: true, autoDismiss: false, classes: "enyo-unselectable", events: { onAddProjectInList: "", onShowWaitPopup: "", onHideWaitPopup: "" }, handl...
project-view/source/ProjectWizard.js
/*global Ares, ares, async, ProjectConfig, ServiceRegistry */ enyo.kind({ name: "ProjectWizardCreate", kind: "onyx.Popup", modal: true, centered: true, floating: true, autoDismiss: false, classes: "enyo-unselectable", events: { onAddProjectInList: "", onShowWaitPopup: "", onHideWaitPopup: "" }, handl...
ENYO-2388: Modify "Project Properties" wizard for a project creation to fit new fileChooser improvements
project-view/source/ProjectWizard.js
ENYO-2388: Modify "Project Properties" wizard for a project creation to fit new fileChooser improvements
<ide><path>roject-view/source/ProjectWizard.js <ide> <ide> components: [ <ide> {kind: "ProjectProperties", name: "propertiesWidget", onApplyAddSource: "notifyChangeSource"}, <del> {kind: "Ares.FileChooser", canGenerate: false, name: "selectDirectoryPopup", classes:"ares-masked-content-popup", folderChooser: true},...
Java
mit
054fda2f0bf4754a58af48db543b312ac90e04f9
0
cristid9/FunWeb,cristid9/FunWeb,cristid9/FunWeb
package controllers; import com.mashape.unirest.http.exceptions.UnirestException; import factories.BidirectionalLoginDataCustomFactory; import factories.BidirectionalPendingPasswordResetFactory; import factories.BidirectionalQuestionFactory; import factories.BidirectionalUserFactory; import funWebMailer.FunWebMailer; ...
funweb-code/src/main/java/controllers/MainController.java
package controllers; import com.mashape.unirest.http.exceptions.UnirestException; import factories.BidirectionalLoginDataCustomFactory; import factories.BidirectionalPendingPasswordResetFactory; import factories.BidirectionalQuestionFactory; import factories.BidirectionalUserFactory; import funWebMailer.FunWebMailer; ...
Adeed post end point for change password
funweb-code/src/main/java/controllers/MainController.java
Adeed post end point for change password
<ide><path>unweb-code/src/main/java/controllers/MainController.java <ide> return "change_password"; <ide> } <ide> <add> <add> @RequestMapping(value = "/change_password", method = RequestMethod.POST) <add> public String postChangePassword(HttpServletRequest request) { <add> <add> return "succes...
Java
apache-2.0
fedeba9b94574fe207f767731442a3633df7b826
0
kool79/intellij-community,muntasirsyed/intellij-community,alphafoobar/intellij-community,apixandru/intellij-community,retomerz/intellij-community,samthor/intellij-community,ryano144/intellij-community,jexp/idea2,semonte/intellij-community,holmes/intellij-community,holmes/intellij-community,clumsy/intellij-community,tmp...
package com.intellij.codeInsight.lookup.impl; import com.intellij.codeInsight.CodeInsightSettings; import com.intellij.codeInsight.completion.CompletionPreferencePolicy; import com.intellij.codeInsight.completion.PrefixMatcher; import com.intellij.codeInsight.completion.impl.CamelHumpMatcher; import com.intellij.codeI...
lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java
package com.intellij.codeInsight.lookup.impl; import com.intellij.codeInsight.CodeInsightSettings; import com.intellij.codeInsight.completion.CompletionPreferencePolicy; import com.intellij.codeInsight.completion.PrefixMatcher; import com.intellij.codeInsight.completion.impl.CamelHumpMatcher; import com.intellij.codeI...
fix nik
lang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java
fix nik
<ide><path>ang-impl/src/com/intellij/codeInsight/lookup/impl/LookupImpl.java <ide> <ide> if (!isEmpty) { <ide> if (oldSelected != null) { <del> if (!ListScrollingUtil.selectItem(myList, oldSelected)) { <add> if (hasExactPrefixes || !ListScrollingUtil.selectItem(myList, oldSelected)) { <...
Java
apache-2.0
8ef0abda48c40aa40481ae0f018b8380d2a4b61d
0
orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb,orientechnologies/orientdb
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE...
core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/StorageStartupMetadata.java
/* * * * Copyright 2010-2016 OrientDB LTD (http://orientdb.com) * * * * Licensed under the Apache License, Version 2.0 (the "License"); * * you may not use this file except in compliance with the License. * * You may obtain a copy of the License at * * * * http://www.apache.org/licenses/LICENSE...
Bug of binary compatibility with previous versions of startup metadata was fixed.
core/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/StorageStartupMetadata.java
Bug of binary compatibility with previous versions of startup metadata was fixed.
<ide><path>ore/src/main/java/com/orientechnologies/orient/core/storage/impl/local/paginated/StorageStartupMetadata.java <ide> <ide> final long size = channel.size(); <ide> <del> if (size == 1) { <add> if (size < 9) { <ide> ByteBuffer buffer = ByteBuffer.allocate(1); <ide> OIO...
JavaScript
mit
76161e1cabb97d5701e259d5228df2e32989226a
0
zarocknz/javascript-winwheel
/* Winwheel.js, by Douglas McKechie @ www.dougtesting.net See website for tutorials and other documentation. The MIT License (MIT) Copyright (c) 2016 Douglas McKechie Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation...
Winwheel.js
/* Winwheel.js, by Douglas McKechie @ www.dougtesting.net See website for tutorials and other documentation. The MIT License (MIT) Copyright (c) 2016 Douglas McKechie Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software...
Convert tabs to spaces
Winwheel.js
Convert tabs to spaces
<ide><path>inwheel.js <ide> /* <del> Winwheel.js, by Douglas McKechie @ www.dougtesting.net <del> See website for tutorials and other documentation. <del> <del> The MIT License (MIT) <del> <del> Copyright (c) 2016 Douglas McKechie <del> <del> Permission is hereby granted, free of charge, to any person obtaining a copy...
Java
mit
6ad3c974774df2f03e800ae3caf5e7aa9552110a
0
DDoS/SpongeVanilla,DDoS/SpongeVanilla,CodeKingdomsTeam/SpongeVanilla,CodeKingdomsTeam/SpongeVanilla,kenzierocks/SpongeVanilla,kenzierocks/SpongeVanilla
badsrc/MythicEssentials.java
public class MythicEssentials { /* * This class handles command events to provide Essentials-like functionality. * It also demonstrates a plugin setup. */ public static String dbPrefix = "mythic_ess"; public static void onInstall(){ Mythic.getDatabase().install(dbPrefix, true, true, true, true, true, ...
Remove old badsrc code.
badsrc/MythicEssentials.java
Remove old badsrc code.
<ide><path>adsrc/MythicEssentials.java <del> <del>public class MythicEssentials { <del> <del> /* <del> * This class handles command events to provide Essentials-like functionality. <del> * It also demonstrates a plugin setup. <del> */ <del> <del> public static String dbPrefix = "mythic_ess"; <del> <del> public st...
Java
apache-2.0
59cfa777de9aa92037b4d80a147a89f4ea5e99f2
0
tonellotto/nibiru,edwardcapriolo/nibiru
package io.teknek.nibiru; import java.util.List; import io.teknek.nibiru.personality.ColumnFamilyPersonality; import io.teknek.nibiru.personality.KeyValuePersonality; import io.teknek.nibiru.transport.Message; import io.teknek.nibiru.transport.Response; public class Coordinator { private static final String SYSTE...
src/main/java/io/teknek/nibiru/Coordinator.java
package io.teknek.nibiru; import java.util.List; import io.teknek.nibiru.personality.ColumnFamilyPersonality; import io.teknek.nibiru.personality.KeyValuePersonality; import io.teknek.nibiru.transport.Message; import io.teknek.nibiru.transport.Response; public class Coordinator { private static final String SYSTE...
Remove redundant code
src/main/java/io/teknek/nibiru/Coordinator.java
Remove redundant code
<ide><path>rc/main/java/io/teknek/nibiru/Coordinator.java <ide> if (SYSTEM_KEYSPACE.equals(message.getKeyspace())) { <ide> return null; <ide> } <add> <ide> Keyspace keyspace = server.getKeyspaces().get(message.getKeyspace()); <add> if (keyspace == null){ <add> throw new RuntimeException(messag...
Java
mit
f4c37b69a15a01bb3b0ead8b00b01536234dd7dd
0
petrs/ECTester,petrs/ECTester,petrs/ECTester
/* * ECTester, tool for testing Elliptic curve cryptography implementations. * Copyright (c) 2016-2018 Petr Svenda <petr@svenda.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 wi...
src/cz/crcs/ectester/standalone/ECTesterStandalone.java
/* * ECTester, tool for testing Elliptic curve cryptography implementations. * Copyright (c) 2016-2018 Petr Svenda <petr@svenda.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 wi...
Use native timing when available.
src/cz/crcs/ectester/standalone/ECTesterStandalone.java
Use native timing when available.
<ide><path>rc/cz/crcs/ectester/standalone/ECTesterStandalone.java <ide> result = ka.generateSecret(); <ide> } <ide> elapsed += System.nanoTime(); <add> if (lib.supportsNativeTiming()) { <add> elapsed = lib.getLastNativeTiming(); <add> } <ide> ...
JavaScript
apache-2.0
c9b676053eb4ad6ecb025f59904a68c601b4447f
0
caskdata/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap,caskdata/cdap
/* * Copyright © 2016 Cask Data, 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 t...
cdap-ui/app/features/hydratorplusplus/services/detail/stores/pipeline-detail-runs-store.js
/* * Copyright © 2016 Cask Data, 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 t...
Fixes logs and metrics to be on workflows instead of mapreduce in batch & data pipelines
cdap-ui/app/features/hydratorplusplus/services/detail/stores/pipeline-detail-runs-store.js
Fixes logs and metrics to be on workflows instead of mapreduce in batch & data pipelines
<ide><path>dap-ui/app/features/hydratorplusplus/services/detail/stores/pipeline-detail-runs-store.js <ide> return this.state.runs.list[0]; <ide> }; <ide> this.getLatestMetricRunId = function() { <del> var appType = this.getAppType(); <ide> var metricRunId; <ide> if (!this.state.runs.count...
JavaScript
mit
94d698793f2e395888d6a0490f46b6f3904ed4a2
0
exponentjs/xdl,exponentjs/xdl,exponentjs/xdl
/** * @flow */ import 'instapromise'; import { vsprintf } from 'sprintf-js'; import bodyParser from 'body-parser'; import child_process from 'child_process'; import delayAsync from 'delay-async'; import express from 'express'; import FormData from 'form-data'; import freeportAsync from 'freeport-async'; import fs ...
src/Project.js
/** * @flow */ import 'instapromise'; import { vsprintf } from 'sprintf-js'; import bodyParser from 'body-parser'; import child_process from 'child_process'; import delayAsync from 'delay-async'; import express from 'express'; import FormData from 'form-data'; import freeportAsync from 'freeport-async'; import fs ...
SDK 7. Remove SDK 2, 4. Fix XDL watchman restarting. fbshipit-source-id: e3f0b90
src/Project.js
SDK 7. Remove SDK 2, 4. Fix XDL watchman restarting.
<ide><path>rc/Project.js <ide> logError(projectRoot, 'exponent', 'Attempted to restart watchman but failed. Please try running `watchman watch-del-all`.'); <ide> } <ide> <del>function _logPackagerOutput(projectRoot: string, data: Object) { <add>function _logPackagerOutput(projectRoot: string, level: string, data: Ob...
Java
bsd-3-clause
8494702f2bd344de90859b7790d1d75290555016
0
lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon
/* * $Id: TestSiamHtmlLinkExtractorFactory.java,v 1.2 2013-08-30 22:45:58 alexandraohlson Exp $ */ /* Copyright (c) 2000-2013 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of his software and associated docu...
plugins/test/src/org/lockss/plugin/atypon/siam/TestSiamHtmlLinkExtractorFactory.java
/* * $Id: TestSiamHtmlLinkExtractorFactory.java,v 1.1 2013-07-31 21:43:57 alexandraohlson Exp $ */ /* Copyright (c) 2000-2013 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of his software and associated docu...
and more test adjusted to take in to account the additional form restriction... git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@29628 4f837ed2-42f5-46e7-a7a5-fa17313484d4
plugins/test/src/org/lockss/plugin/atypon/siam/TestSiamHtmlLinkExtractorFactory.java
and more test adjusted to take in to account the additional form restriction...
<ide><path>lugins/test/src/org/lockss/plugin/atypon/siam/TestSiamHtmlLinkExtractorFactory.java <ide> /* <del> * $Id: TestSiamHtmlLinkExtractorFactory.java,v 1.1 2013-07-31 21:43:57 alexandraohlson Exp $ <add> * $Id: TestSiamHtmlLinkExtractorFactory.java,v 1.2 2013-08-30 22:45:58 alexandraohlson Exp $ <ide> */ <ide> /*...
JavaScript
mpl-2.0
bcbc6f5766a218c82e3d3746f95b5c822c936f5c
0
mozilla/talkilla,mozilla/talkilla,mozilla/talkilla
/* jshint expr:true */ "use strict"; /* The intent is for this to only add unit tests to this file going forward. * * XXX Before long, we're going to want to create a home for backend functional * tests, and move many of the tests that current live in this file there. */ var EventEmitter = require( "events" ).Eve...
test/server/presence_test.js
/* jshint expr:true */ "use strict"; /* The intent is for this to only add unit tests to this file going forward. * * XXX Before long, we're going to want to create a home for backend functional * tests, and move many of the tests that current live in this file there. */ var EventEmitter = require( "events" ).Eve...
Add unit test for instant-share method
test/server/presence_test.js
Add unit test for instant-share method
<ide><path>est/server/presence_test.js <ide> }); <ide> <ide> }); <add> <add> describe("#instantShare", function() { <add> <add> var req, res; <add> <add> beforeEach(function() { <add> req = {session: {email: "foo"}, params: {email: "bar"}}; <add> res = {sendfile: sinon.spy()}; <add...
Java
apache-2.0
77c4e9e308234a23ff9b92a9edb08e38d50de8c1
0
NEERC/chat,NEERC/chat,NEERC/chat
/* Copyright 2009 NEERC 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 applicable law or agreed t...
Chat/src/main/java/ru/ifmo/neerc/chat/client/UsersPanel.java
/* Copyright 2009 NEERC 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 applicable law or agreed t...
Update users list from EDT thread
Chat/src/main/java/ru/ifmo/neerc/chat/client/UsersPanel.java
Update users list from EDT thread
<ide><path>hat/src/main/java/ru/ifmo/neerc/chat/client/UsersPanel.java <ide> <ide> private void update() { <ide> init(); <del> fireContentsChanged(this, 0, userEntries.length); <add> SwingUtilities.invokeLater(new Runnable() { <add> @Override <add> ...
Java
apache-2.0
bcfe050c0c8629ed36d46160df63ae9bb61ccc9a
0
Hack23/cia,Hack23/cia,Hack23/cia,Hack23/cia
/* * Copyright 2010 James Pether Sörling * * 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 agr...
service.impl/src/main/java/com/hack23/cia/service/impl/task/AbstractJob.java
package com.hack23.cia.service.impl.task; import java.io.Serializable; import org.quartz.JobExecutionContext; import org.quartz.Scheduler; import org.quartz.SchedulerContext; import org.quartz.SchedulerException; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.ApplicationCo...
cleanup
service.impl/src/main/java/com/hack23/cia/service/impl/task/AbstractJob.java
cleanup
<ide><path>ervice.impl/src/main/java/com/hack23/cia/service/impl/task/AbstractJob.java <add>/* <add> * Copyright 2010 James Pether Sörling <add> * <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance with the License. <add> * You may obtain a cop...
Java
mit
39543b1f632b1bbe44303ed0e2ea7690add41ea8
0
team1306/Robot2016
package org.usfirst.frc.team1306.robot; import edu.wpi.first.wpilibj.Joystick; /** * An Xbox controller. This is a relatively minor extension of Joystick that * adds methods specific to the Xbox controller. * * @author Finn Voichick * */ public class XboxController extends Joystick { /** * Creates a new Xb...
src/org/usfirst/frc/team1306/robot/XboxController.java
package org.usfirst.frc.team1306.robot; import edu.wpi.first.wpilibj.Joystick; public class XboxController extends Joystick { public XboxController(int port) { super(port); } /** * Get the x displacement of either joystick on an xbox controller. * * @param hand * Which joystick * @return ...
Commented XboxController
src/org/usfirst/frc/team1306/robot/XboxController.java
Commented XboxController
<ide><path>rc/org/usfirst/frc/team1306/robot/XboxController.java <ide> <ide> import edu.wpi.first.wpilibj.Joystick; <ide> <add>/** <add> * An Xbox controller. This is a relatively minor extension of Joystick that <add> * adds methods specific to the Xbox controller. <add> * <add> * @author Finn Voichick <add> * <add...
JavaScript
mit
1c31886d3772a8a4b8301e7d9221e51d9e73cfd9
0
brianc/node-sql,braddunbar/node-sql,BeeDi/node-sql,danrzeppa/node-sql,bgag/node-sql,strugee/node-sql,paytm/node-sql,niklabh/node-sql
var assert = require('assert'); var Postgres = require(__dirname + '/../lib/dialect/postgres'); var Table = require(__dirname + '/../lib/table'); var test = function(expected) { var query = expected.query; var pgQuery = new Postgres().getQuery(query); var expectedPgText = expected.pg; assert.equal(pgQuery.text...
test/dialect-tests.js
var assert = require('assert'); var Postgres = require(__dirname + '/../lib/dialect/postgres'); var Table = require(__dirname + '/../lib/table'); var user = Table.define({ name: 'user', quote: true, columns: ['id','name'] }) assert.textEqual = function(query, expected) { var q = new Postgres().getQuery(query)...
remove unused code
test/dialect-tests.js
remove unused code
<ide><path>est/dialect-tests.js <ide> var assert = require('assert'); <ide> var Postgres = require(__dirname + '/../lib/dialect/postgres'); <ide> var Table = require(__dirname + '/../lib/table'); <del> <del>var user = Table.define({ <del> name: 'user', <del> quote: true, <del> columns: ['id','name'] <del>}) <del> <d...
Java
bsd-3-clause
47f8cad1355f8ed8b798e4bfdec3ed06d9b4a7a9
0
lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,edina/lockss-daemon,lockss/lockss-daemon,edina/lockss-daemon
/* * $Id: LeafNodeImpl.java,v 1.3 2002-11-02 01:01:00 aalto Exp $ */ /* Copyright (c) 2002 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
src/org/lockss/repository/LeafNodeImpl.java
/* * $Id: LeafNodeImpl.java,v 1.2 2002-11-02 00:57:50 aalto Exp $ */ /* Copyright (c) 2002 Board of Trustees of Leland Stanford Jr. University, all rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to ...
Left a line out. git-svn-id: 293778eaa97c8c94097d610b1bd5133a8f478f36@190 4f837ed2-42f5-46e7-a7a5-fa17313484d4
src/org/lockss/repository/LeafNodeImpl.java
<ide><path>rc/org/lockss/repository/LeafNodeImpl.java <ide> /* <del> * $Id: LeafNodeImpl.java,v 1.2 2002-11-02 00:57:50 aalto Exp $ <add> * $Id: LeafNodeImpl.java,v 1.3 2002-11-02 01:01:00 aalto Exp $ <ide> */ <ide> <ide> /* <ide> throw new UnsupportedOperationException("New version already"+ <ide> ...
Java
mit
cfb4d5993abe55d5a79aabfec5b555d89ea6b0cf
0
sddtc/couple,sddtc/couple
src/com/sddtc/utils/accounts/factory/EmailFactory.java
package com.sddtc.utils.accounts.factory; /** * @author sddtc * */ public class EmailFactory { public void send() { //...silent is gold.. } }
delete
src/com/sddtc/utils/accounts/factory/EmailFactory.java
delete
<ide><path>rc/com/sddtc/utils/accounts/factory/EmailFactory.java <del>package com.sddtc.utils.accounts.factory; <del> <del>/** <del> * @author sddtc <del> * <del> */ <del>public class EmailFactory { <del> public void send() { <del> //...silent is gold.. <del> } <del> <del>}
Java
bsd-3-clause
4f5b7dacfa4b4aac190bd012d93097631b10f561
0
hoijui/JavaOSC
/* * Copyright (C) 2004-2014, C. Ramakrishnan / Illposed Software. * All rights reserved. * * This code is licensed under the BSD 3-Clause license. * See file LICENSE (or LICENSE.html) for more information. */ package com.illposed.osc.transport.udp; import com.illposed.osc.OSCPacket; import com.illposed.osc.OSC...
modules/core/src/main/java/com/illposed/osc/transport/udp/OSCPortOut.java
/* * Copyright (C) 2004-2014, C. Ramakrishnan / Illposed Software. * All rights reserved. * * This code is licensed under the BSD 3-Clause license. * See file LICENSE (or LICENSE.html) for more information. */ package com.illposed.osc.transport.udp; import com.illposed.osc.OSCPacket; import com.illposed.osc.OSC...
introduce `OSCPortOut#toString()`
modules/core/src/main/java/com/illposed/osc/transport/udp/OSCPortOut.java
introduce `OSCPortOut#toString()`
<ide><path>odules/core/src/main/java/com/illposed/osc/transport/udp/OSCPortOut.java <ide> new DatagramPacket(byteArray, byteArray.length, address, getPort()); <ide> getSocket().send(packet); <ide> } <add> <add> @Override <add> public String toString() { <add> <add> final StringBuilder rep = new StringBuilder(64...
Java
apache-2.0
ec8ca3d073a4606e340499503c32689a0157e517
0
bonigarcia/selenium-jupiter,bonigarcia/selenium-jupiter
/* * (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/) * * 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 require...
src/main/java/io/github/bonigarcia/handler/DockerDriverHandler.java
/* * (C) Copyright 2017 Boni Garcia (http://bonigarcia.github.io/) * * 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 require...
Log noVNC URL of Android device when required
src/main/java/io/github/bonigarcia/handler/DockerDriverHandler.java
Log noVNC URL of Android device when required
<ide><path>rc/main/java/io/github/bonigarcia/handler/DockerDriverHandler.java <ide> boolean recording = config().isRecording(); <ide> String selenoidImage = config().getSelenoidImage(); <ide> String novncImage = config().getNovncImage(); <add> String androidNoVncUrl; <ide> <ide> public DockerDriverH...
Java
apache-2.0
100041ff5d37b8cad8928cb46eb3755a6873d3a5
0
alfasoftware/morf,alfasoftware/morf
/* Copyright 2017 Alfa Financial 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 l...
morf-core/src/main/java/org/alfasoftware/morf/sql/AbstractSelectStatement.java
/* Copyright 2017 Alfa Financial 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 l...
Removing unused code.
morf-core/src/main/java/org/alfasoftware/morf/sql/AbstractSelectStatement.java
Removing unused code.
<ide><path>orf-core/src/main/java/org/alfasoftware/morf/sql/AbstractSelectStatement.java <ide> * The fields to sort the result set by <ide> */ <ide> private final List<AliasedField> orderBys; <del> <del> <del> protected AbstractSelectStatement() { <del> if (AliasedField.immutableDslEnabled()) { <del> ...
Java
apache-2.0
27cdd4350a8782218e812afbe3531f11cc5ce8b9
0
andrej-sajenko/georocket,georocket/georocket,andrej-sajenko/georocket,georocket/georocket
package io.georocket.storage; import io.vertx.core.AsyncResult; import io.vertx.core.Handler; import io.vertx.core.json.JsonObject; import io.vertx.rx.java.ObservableFuture; import io.vertx.rx.java.RxHelper; import rx.Observable; /** * Wraps around {@link Store} and adds methods to be used with RxJava * @author Mi...
georocket-server/src/main/java/io/georocket/storage/RxStore.java
package io.georocket.storage; import io.vertx.core.AsyncResult; import io.vertx.core.Handler; import io.vertx.core.json.JsonObject; import io.vertx.rx.java.ObservableFuture; import io.vertx.rx.java.RxHelper; import javafx.collections.ObservableMap; import rx.Observable; import java.util.Map; /** * Wraps around {@li...
remove unused map imports
georocket-server/src/main/java/io/georocket/storage/RxStore.java
remove unused map imports
<ide><path>eorocket-server/src/main/java/io/georocket/storage/RxStore.java <ide> import io.vertx.core.json.JsonObject; <ide> import io.vertx.rx.java.ObservableFuture; <ide> import io.vertx.rx.java.RxHelper; <del>import javafx.collections.ObservableMap; <ide> import rx.Observable; <ide> <del>import java.util.Map; <ide>...
Java
apache-2.0
27d1b8a5177099df6f33d5ae228b7658682709d1
0
srishtyagrawal/storm,mesosphere/storm,kamleshbhatt/storm,hilfialkaff/storm,jamesmarva/storm,d2r/storm-marz,allenjin/storm,taoguan/storm-1,erikdw/storm,Crim/storm,nathanmarz/storm,erikdw/storm,Frostman/storm,kamleshbhatt/storm,srishtyagrawal/storm,ferrero-zhang/storm,carl34/storm,elancom/storm,Aloomaio/incubator-storm,j...
package backtype.storm.transactional; import backtype.storm.coordination.FailedBatchException; import backtype.storm.Config; import backtype.storm.spout.SpoutOutputCollector; import backtype.storm.task.TopologyContext; import backtype.storm.topology.IRichSpout; import backtype.storm.topology.OutputFieldsDeclarer; impo...
src/jvm/backtype/storm/transactional/TransactionalSpoutCoordinator.java
package backtype.storm.transactional; import backtype.storm.coordination.FailedBatchException; import backtype.storm.Config; import backtype.storm.spout.SpoutOutputCollector; import backtype.storm.task.TopologyContext; import backtype.storm.topology.IRichSpout; import backtype.storm.topology.OutputFieldsDeclarer; impo...
clean up coordinator component conf
src/jvm/backtype/storm/transactional/TransactionalSpoutCoordinator.java
clean up coordinator component conf
<ide><path>rc/jvm/backtype/storm/transactional/TransactionalSpoutCoordinator.java <ide> <ide> @Override <ide> public Map<String, Object> getComponentConfiguration() { <del> Map<String, Object> ret = new HashMap<String, Object>(_spout.getComponentConfiguration()); <del> ret.put(Config.TOPOLOGY_MAX...
Java
bsd-3-clause
3108e1f35f5913b74ed28be94917eb365ceb196b
0
threerings/game-gardens
// // $Id$ // // ToyBox library - framework for matchmaking networked games // Copyright (C) 2005 Three Rings Design, Inc., All Rights Reserved // http://www.gamegardens.com/code/ // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as...
projects/toybox/src/java/com/threerings/toybox/client/ToyBoxGameConfigurator.java
// // $Id$ // // ToyBox library - framework for matchmaking networked games // Copyright (C) 2005 Three Rings Design, Inc., All Rights Reserved // http://www.gamegardens.com/code/ // // This library is free software; you can redistribute it and/or modify it // under the terms of the GNU Lesser General Public License as...
Implemented the ChoiceEditor.
projects/toybox/src/java/com/threerings/toybox/client/ToyBoxGameConfigurator.java
Implemented the ChoiceEditor.
<ide><path>rojects/toybox/src/java/com/threerings/toybox/client/ToyBoxGameConfigurator.java <ide> package com.threerings.toybox.client; <ide> <ide> import javax.swing.JCheckBox; <add>import javax.swing.JComboBox; <add>import javax.swing.JLabel; <ide> import javax.swing.JPanel; <ide> <ide> import com.samskivert.swing....