lang
stringclasses
2 values
license
stringclasses
13 values
stderr
stringlengths
0
343
commit
stringlengths
40
40
returncode
int64
0
128
repos
stringlengths
6
87.7k
new_contents
stringlengths
0
6.23M
new_file
stringlengths
3
311
old_contents
stringlengths
0
6.23M
message
stringlengths
6
9.1k
old_file
stringlengths
3
311
subject
stringlengths
0
4k
git_diff
stringlengths
0
6.31M
Java
apache-2.0
error: pathspec 'src/main/java/com/google/sps/servlets/IndexServlet.java' did not match any file(s) known to git
d96707bb69f7f1c775c82a72a7fc9d92c805d653
1
googleinterns/step132-2020,googleinterns/step132-2020,googleinterns/step132-2020
// Copyright 2019 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to i...
src/main/java/com/google/sps/servlets/IndexServlet.java
Create index servlet (#59)
src/main/java/com/google/sps/servlets/IndexServlet.java
Create index servlet (#59)
<ide><path>rc/main/java/com/google/sps/servlets/IndexServlet.java <add>// Copyright 2019 Google LLC <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 of the License at <add>// <add>// ...
JavaScript
apache-2.0
b4f190ce8dbfb5a2679ed133c6de6ccd30e94d56
0
justindujardin/pow2,justindujardin/pow2,justindujardin/pow2
module.exports = function(grunt) { grunt.option('force', true); grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), notify: { options: { title: 'E.B.U.R.P.' }, sprites:{ options: { message: 'Sprite Sheets built.' }...
Gruntfile.js
module.exports = function(grunt) { grunt.option('force', true); grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), notify: { options: { title: 'E.B.U.R.P.' }, sprites:{ options: { message: 'Sprite Sheets built.' }...
Don't build sprite on heroku, IIRC heroku takes your unversioned local files, so they should be there.
Gruntfile.js
Don't build sprite on heroku, IIRC heroku takes your unversioned local files, so they should be there.
<ide><path>runtfile.js <ide> } <ide> else { <ide> grunt.registerTask('default', ['sprites', 'concat', 'coffee']); <del> grunt.registerTask('heroku:production', ['sprites','concat','coffee', 'uglify']); <add> grunt.registerTask('heroku:production', ['concat','coffee', 'uglify']); <ide> } <ide> }...
Java
mit
b6407e12e363bc408fc1bad2c52ab8dc476013e0
0
HadoopGenomics/Hadoop-BAM,HadoopGenomics/Hadoop-BAM,fnothaft/Hadoop-BAM,HadoopGenomics/Hadoop-BAM,cmnbroad/Hadoop-BAM,fnothaft/Hadoop-BAM,ryan-williams/Hadoop-BAM,cmnbroad/Hadoop-BAM,tomwhite/Hadoop-BAM,ryan-williams/Hadoop-BAM,fnothaft/Hadoop-BAM,tkrishp/Hadoop-BAM
// Copyright (c) 2013 Aalto University // // 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, modify, merge, publi...
src/fi/tkk/ics/hadoop/bam/cli/CLIMRPlugin.java
// Copyright (c) 2013 Aalto University // // 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, modify, merge, publi...
CLIMRPlugin: set non-deprecated reduce tasks # too
src/fi/tkk/ics/hadoop/bam/cli/CLIMRPlugin.java
CLIMRPlugin: set non-deprecated reduce tasks # too
<ide><path>rc/fi/tkk/ics/hadoop/bam/cli/CLIMRPlugin.java <ide> final String out = (String)parser.getOptionValue(outputPathOpt); <ide> outPath = out == null ? null : new Path(out); <ide> <del> getConf().setInt("mapred.reduce.tasks", reduceTasks); <add> getConf().setInt("mapred.reduce.tasks", reduceTasks); <add>...
JavaScript
mit
c45c2497677bed437d71c424da161a3e8b1be55b
0
froggy666uk/node-sonos-discovery,jishi/node-sonos-discovery
'use strict'; const url = require('url'); const Subscriber = require('../Subscriber'); const soap = require('../helpers/soap'); const streamer = require('../helpers/streamer'); const TYPE = soap.TYPE; const flow = require('xml-flow'); const XmlEntities = require('html-entities').XmlEntities; const path = require('path'...
lib/models/Player.js
'use strict'; const url = require('url'); const Subscriber = require('../Subscriber'); const soap = require('../helpers/soap'); const streamer = require('../helpers/streamer'); const TYPE = soap.TYPE; const flow = require('xml-flow'); const XmlEntities = require('html-entities').XmlEntities; const path = require('path'...
Add groupState to player serialization
lib/models/Player.js
Add groupState to player serialization
<ide><path>ib/models/Player.js <ide> coordinator: this.coordinator.uuid, <ide> roomName: this.roomName, <ide> state: this.state, <add> groupState: this.coordinator.groupState, <ide> avTransportUri: this.avTransportUri, <ide> avTransportUriMetadata: this.avTransportUriMetadata <ide> };
Java
apache-2.0
53465b931de3629cdbe5a69a1755f509761c6150
0
vert-x3/vertx-jdbc-client
/* * Copyright (c) 2011-2014 The original author or authors * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distributi...
src/main/java/io/vertx/ext/jdbc/impl/JDBCClientImpl.java
/* * Copyright (c) 2011-2014 The original author or authors * ------------------------------------------------------ * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * and Apache License v2.0 which accompanies this distributi...
Remove usage of completer()
src/main/java/io/vertx/ext/jdbc/impl/JDBCClientImpl.java
Remove usage of completer()
<ide><path>rc/main/java/io/vertx/ext/jdbc/impl/JDBCClientImpl.java <ide> } catch (SQLException e) { <ide> future.fail(e); <ide> } <del> }, f2.completer()); <add> }, f2); <ide> } else { <ide> f2.complete(); <ide> }
JavaScript
isc
06ba505f3fa86b96ec4057fde9ef911f07354383
0
colinmeinke/universal-js
import React from 'react'; import Home from '../components/Home'; import Edit from '../components/Edit'; import { updateName } from '../actions/name'; const getRoutes = () => ([ [ '/', { name: updateName }, <Home /> ], [ 'edit', { name: updateName }, <Edit /> ], [ '*', <h1>Not found</h1> ], ]); let routes = g...
src/common/config/routes.js
import React from 'react'; import Home from '../components/Home'; import Edit from '../components/Edit'; import { updateName } from '../actions/name'; const routes = [ [ '/', { name: updateName }, <Home /> ], [ 'edit', { name: updateName }, <Edit /> ], [ '*', <h1>Not found</h1> ], ]; export default routes;
fix(hot): hot reload components
src/common/config/routes.js
fix(hot): hot reload components
<ide><path>rc/common/config/routes.js <ide> <ide> import { updateName } from '../actions/name'; <ide> <del>const routes = [ <add>const getRoutes = () => ([ <ide> [ '/', { name: updateName }, <Home /> ], <ide> [ 'edit', { name: updateName }, <Edit /> ], <ide> [ '*', <h1>Not found</h1> ], <del>]; <add>]); <add> <...
Java
agpl-3.0
5575c03ff5dfe7bccdf34ad1f11511d24d9eadbb
0
ua-eas/kfs-devops-automation-fork,bhutchinson/kfs,kuali/kfs,ua-eas/kfs,smith750/kfs,smith750/kfs,quikkian-ua-devops/will-financials,smith750/kfs,ua-eas/kfs-devops-automation-fork,ua-eas/kfs-devops-automation-fork,quikkian-ua-devops/will-financials,quikkian-ua-devops/kfs,quikkian-ua-devops/will-financials,kuali/kfs,kual...
/* * Copyright 2008 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/cam/document/EquipmentLoanOrReturnDocument.java
/* * Copyright 2008 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...
KULCAP-1051
work/src/org/kuali/kfs/module/cam/document/EquipmentLoanOrReturnDocument.java
KULCAP-1051
<ide><path>ork/src/org/kuali/kfs/module/cam/document/EquipmentLoanOrReturnDocument.java <ide> public class EquipmentLoanOrReturnDocument extends FinancialSystemTransactionalDocumentBase { <ide> private static org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(EquipmentLoanOrReturnDocument.class); <ide>...
Java
mit
2557f6bd9d6a9d248060f842d99ddf13d5a2ccf8
0
EinsamHauer/disthene-reader,EinsamHauer/disthene-reader,EinsamHauer/disthene-reader
package net.iponweb.disthene.reader; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import io.netty.handler.codec.http.*; import org.apache.log4j.Logger; import static io.netty.handler...
src/main/java/net/iponweb/disthene/reader/DistheneServerHandler.java
package net.iponweb.disthene.reader; import io.netty.buffer.Unpooled; import io.netty.channel.ChannelFutureListener; import io.netty.channel.ChannelHandlerContext; import io.netty.channel.ChannelInboundHandlerAdapter; import io.netty.handler.codec.http.*; import org.apache.log4j.Logger; import static io.netty.handler...
Added paths handler
src/main/java/net/iponweb/disthene/reader/DistheneServerHandler.java
Added paths handler
<ide><path>rc/main/java/net/iponweb/disthene/reader/DistheneServerHandler.java <ide> decoder.parameters().get("query").get(0) <ide> ); <ide> } catch (Exception e) { <del> logger.error(e); <add> logger.error("En...
Java
mit
b2c50f9ef42243d057762b05c4fc97d03e78e785
0
jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico,jbalint/banshee-sympatico
package com.jbalint.bs.bookstore; import java.io.IOException; import java.net.URI; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Date; import com.complexible.common.openrdf.util.ModelBuilder; import com.complexible.common.openrdf.util.Resource...
bookstore/src/main/java/com/jbalint/bs/bookstore/FileMetadataGenerator.java
package com.jbalint.bs.bookstore; import java.io.IOException; import java.net.URI; import java.net.URL; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.Date; import com.complexible.common.openrdf.util.ModelBuilder; import com.complexible.common.openrdf.util.Resource...
Use ask() instead of a truncated statement stream (fixes [BS-50])
bookstore/src/main/java/com/jbalint/bs/bookstore/FileMetadataGenerator.java
Use ask() instead of a truncated statement stream (fixes [BS-50])
<ide><path>ookstore/src/main/java/com/jbalint/bs/bookstore/FileMetadataGenerator.java <ide> * Does an entry for the corresponding path exist in the DB? <ide> */ <ide> boolean existsInDb(Path p) { <del> return conn.get().context(context).predicate(Nepomuk.NIE.url).object(getIRI(p)).statements().findFirst().isPrese...
JavaScript
mit
0ef10e11dad30feb1e42667237b0390561937f0f
0
AwesomeJerry/react-native-qrcode-svg
/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow strict-local */ import React from "react"; import { SafeAreaView, StyleSheet, ScrollView, View, Text, StatusBar, } from "react-native"; import { Header, LearnMoreLinks, Colors, DebugInstructions, R...
example/App.js
/** * Sample React Native App * https://github.com/facebook/react-native * * @format * @flow strict-local */ import React from 'react'; import { SafeAreaView, StyleSheet, ScrollView, View, Text, StatusBar, } from 'react-native'; import { Header, LearnMoreLinks, Colors, DebugInstructions, R...
Update `Example`
example/App.js
Update `Example`
<ide><path>xample/App.js <ide> * @flow strict-local <ide> */ <ide> <del>import React from 'react'; <add>import React from "react"; <ide> import { <ide> SafeAreaView, <ide> StyleSheet, <ide> View, <ide> Text, <ide> StatusBar, <del>} from 'react-native'; <add>} from "react-native"; <ide> <ide> import { <ide...
Java
lgpl-2.1
a72c90e19ee711785ac4c0f695178c10ba1ccd41
0
exedio/copernica,exedio/copernica,exedio/copernica
/* * Copyright (C) 2004-2008 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
runtime/src/com/exedio/cope/Pattern.java
/* * Copyright (C) 2004-2008 exedio GmbH (www.exedio.com) * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later versi...
fix exception messages after recent renames git-svn-id: 9dbc6da3594b32e13bcf3b3752e372ea5bc7c2cc@10822 e7d4fc99-c606-0410-b9bf-843393a9eab7
runtime/src/com/exedio/cope/Pattern.java
fix exception messages after recent renames
<ide><path>untime/src/com/exedio/cope/Pattern.java <ide> if(field==null) <ide> throw new NullPointerException("field must not be null for postfix '" + postfix + '\''); <ide> if(sourceFieldMapGather==null) <del> throw new IllegalStateException("registerSource can be called only until initialize() is called, not...
JavaScript
mit
29363ea503c0dd0571a449290abf9eebc8fb55a5
0
fergiemcdowall/stopword
/* global describe */ /* global it */ const should = require('should') const sw = require('../lib/stopword.js') describe('general stopwordiness:', function () { it('should remove stopwords, should default to english, should preserve case', function () { const oldString = 'a really Interesting string with some w...
test/test.js
/* global describe */ /* global it */ const should = require('should') const sw = require('../lib/stopword.js') describe('general stopwordiness:', function () { it('should remove stopwords, should default to english, should preserve case', function () { const oldString = 'a really Interesting string with some w...
farsi for test stopword Added
test/test.js
farsi for test stopword Added
<ide><path>est/test.js <ide> const newString = sw.removeStopwords(oldString, sw.es) <ide> newString.should.eql([ 'investigadores', 'han', 'analizado', 'adn', 'restos', 'unos', '200', 'gatos', 'tomados', 'momias', 'egipcias', 'yacimientos', 'vikingos', 'cuevas', 'edad', 'piedra', 'entre', 'otros', 'lugares', 'va...
Java
mit
4978a083a768418191a65ee6d71660e8538890e5
0
eric-thelin/fractions
package se.ericthelin.fractions; import java.util.regex.Matcher; import java.util.regex.Pattern; import static java.lang.Integer.parseInt; public class Fraction { private static final Pattern FRACTION_PATTERN = Pattern.compile("(\\d+)/(\\d+)"); private static final Pattern INTEGER_PATTERN = Pattern.compile("\\d+"...
production/source/se/ericthelin/fractions/Fraction.java
package se.ericthelin.fractions; import java.util.regex.Matcher; import java.util.regex.Pattern; import static java.lang.Integer.parseInt; public class Fraction { private static final Pattern FRACTION_PATTERN = Pattern.compile("(\\d+)/(\\d+)"); private static final Pattern INTEGER_PATTERN = Pattern.compile("\\d+"...
Fraction constructor is now private
production/source/se/ericthelin/fractions/Fraction.java
Fraction constructor is now private
<ide><path>roduction/source/se/ericthelin/fractions/Fraction.java <ide> private final int numerator; <ide> private final int denominator; <ide> <del> public Fraction(int numerator, int denominator) { <add> private Fraction(int numerator, int denominator) { <ide> this.numerator = numerator; <ide> this.denominator...
Java
mit
aece95c7cc7fc7bb682e3eaf59baddf321ff60dc
0
semiotproject/semiot-platform,semiotproject/semiot-platform,semiotproject/semiot-platform,semiotproject/semiot-platform,semiotproject/semiot-platform
package ru.semiot.services.data_archiving_service; import java.io.StringReader; import java.util.Calendar; import java.util.HashMap; import javax.xml.bind.DatatypeConverter; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import rx.Observer; impor...
data-archiving-service/src/main/java/ru/semiot/services/data_archiving_service/WriterMetricsListener.java
package ru.semiot.services.data_archiving_service; import java.io.StringReader; import java.util.Calendar; import java.util.HashMap; import javax.xml.bind.DatatypeConverter; import org.apache.commons.lang3.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import rx.Observer; impor...
Changed QUDT_ENUMERATION variable.
data-archiving-service/src/main/java/ru/semiot/services/data_archiving_service/WriterMetricsListener.java
Changed QUDT_ENUMERATION variable.
<ide><path>ata-archiving-service/src/main/java/ru/semiot/services/data_archiving_service/WriterMetricsListener.java <ide> private static final String FEATURE_OF_INTEREST = "feature_of_interest"; <ide> private static final String SOURCE = "source"; <ide> <del> private static final String QUDT_ENUMERATION = "http://w...
JavaScript
mit
3a7c686b3338a6e6e57336de349bd278cb56b43a
0
kido1611/Riset_CCC,kido1611/Riset_CCC
import React from 'react'; import SelectField from 'material-ui/SelectField'; import MenuItem from 'material-ui/MenuItem'; import axios from 'axios'; class Struktur extends React.Component{ constructor(){ super(); this.state = { value: '', list: [], data: [], } } loadData(data){ var _this = th...
src/components/Struktur.js
import React from 'react'; import SelectField from 'material-ui/SelectField'; import MenuItem from 'material-ui/MenuItem'; import axios from 'axios'; class Struktur extends React.Component{ constructor(){ super(); this.state = { value: '', list: [], data: [], } } loadData(data){ var _this = th...
Fix deteksi JSON memperbaiki cara pendeteksian JSON Object berupa array atau bukan. Diimplementasikan pada JSON nama
src/components/Struktur.js
Fix deteksi JSON
<ide><path>rc/components/Struktur.js <ide> var _this = this; <ide> var tahun = data; <ide> console.log("Load data "+tahun);; <del> axios.get('/data/'+tahun+'.json') <add> axios.get('data/'+tahun+'.json') <ide> .then(function (response) { <ide> _this.setState({ <ide> value: tahun, <ide> <t...
Java
apache-2.0
a41ac956a8c9ee8eea200f0b103ffe40cdef9501
0
OpenCollabZA/sakai,OpenCollabZA/sakai,buckett/sakai-gitflow,colczr/sakai,willkara/sakai,puramshetty/sakai,rodriguezdevera/sakai,liubo404/sakai,joserabal/sakai,whumph/sakai,zqian/sakai,udayg/sakai,surya-janani/sakai,ktakacs/sakai,whumph/sakai,joserabal/sakai,joserabal/sakai,frasese/sakai,colczr/sakai,frasese/sakai,bkirs...
/******************************************************************************* * $URL$ * $Id$ * ********************************************************************************** * * Copyright (c) 2006, 2007, 2008 Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"...
citations/citations-impl/impl/src/java/org/sakaiproject/citation/impl/BaseCitationService.java
/******************************************************************************* * $URL$ * $Id$ * ********************************************************************************** * * Copyright (c) 2006, 2007, 2008 Sakai Foundation * * Licensed under the Educational Community License, Version 2.0 (the "License"...
SAK-14282 - added an if test to importFromRisList() to handle the UR RIS tag. If it is a UR tag, it creates an id out of via addcustomUrl() for the RISvalue and sets the citation's preferred URL to this urlId. git-svn-id: dce76f8a399c671fe9c0e23b6e81ff8638f82523@51411 66ffb92e-73f9-0310-93c1-f5514f145a0a
citations/citations-impl/impl/src/java/org/sakaiproject/citation/impl/BaseCitationService.java
SAK-14282 - added an if test to importFromRisList() to handle the UR RIS tag. If it is a UR tag, it creates an id out of via addcustomUrl() for the RISvalue and sets the citation's preferred URL to this urlId.
<ide><path>itations/citations-impl/impl/src/java/org/sakaiproject/citation/impl/BaseCitationService.java <ide> Iterator iter = null; // The iterator used to boogie through the Schema Fields <ide> boolean status = true; // Used to maintain/exit the tag lookup while loop <ide> String[] RIScodes = null; // This h...
Java
apache-2.0
a0bf66a5cbc30f837704e6cd8632beeb198f61ab
0
sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt,sosy-lab/java-smt
// This file is part of JavaSMT, // an API wrapper for a collection of SMT solvers: // https://github.com/sosy-lab/java-smt // // SPDX-FileCopyrightText: 2021 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.java_smt.solvers.cvc5; import static com.google.common.tru...
src/org/sosy_lab/java_smt/solvers/cvc5/CVC5NativeAPITest.java
// This file is part of JavaSMT, // an API wrapper for a collection of SMT solvers: // https://github.com/sosy-lab/java-smt // // SPDX-FileCopyrightText: 2021 Dirk Beyer <https://www.sosy-lab.org> // // SPDX-License-Identifier: Apache-2.0 package org.sosy_lab.java_smt.solvers.cvc5; import static com.google.common.tru...
Add a native API test for bv distinct
src/org/sosy_lab/java_smt/solvers/cvc5/CVC5NativeAPITest.java
Add a native API test for bv distinct
<ide><path>rc/org/sosy_lab/java_smt/solvers/cvc5/CVC5NativeAPITest.java <ide> import io.github.cvc5.api.Solver; <ide> import io.github.cvc5.api.Sort; <ide> import io.github.cvc5.api.Term; <add>import java.util.ArrayList; <ide> import java.util.Arrays; <add>import java.util.List; <ide> import org.junit.After; <ide> impo...
Java
apache-2.0
aae5e7a84bde749539dac442a81bd617cc1a1ec9
0
antoinesd/weld-core,weld/core,manovotn/core,antoinesd/weld-core,weld/core,manovotn/core,antoinesd/weld-core,manovotn/core
/* * JBoss, Home of Professional Open Source * Copyright 2008, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
webbeans-ri/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java
/* * JBoss, Home of Professional Open Source * Copyright 2008, Red Hat Middleware LLC, and individual contributors * by the @authors tag. See the copyright.txt in the distribution for a * full listing of individual contributors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not us...
test for correct constructor before creating the SimpleBean! git-svn-id: 811cd8a17a8c3c0c263af499002feedd54a892d0@640 1c488680-804c-0410-94cd-c6b725194a0e
webbeans-ri/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java
test for correct constructor before creating the SimpleBean!
<ide><path>ebbeans-ri/src/main/java/org/jboss/webbeans/bootstrap/WebBeansBootstrap.java <ide> import static org.jboss.webbeans.servlet.Servlet.SERVLET_REQUEST_LISTENER_CLASS; <ide> <ide> import java.lang.annotation.Annotation; <add>import java.lang.reflect.Constructor; <ide> import java.lang.reflect.Field; <ide> impor...
Java
apache-2.0
263de8eb3329f77c930d3983a581515f948ce351
0
pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus,pegasus-isi/pegasus
/** * Copyright 2007-2012 University Of Southern 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 of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
src/edu/isi/pegasus/planner/dax/ADAG.java
/** * Copyright 2007-2012 University Of Southern 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 of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by appl...
PM-1311 get the dax generator api to always generate workflow metadata with key dax.api and value java
src/edu/isi/pegasus/planner/dax/ADAG.java
PM-1311 get the dax generator api to always generate workflow metadata with key dax.api and value java
<ide><path>rc/edu/isi/pegasus/planner/dax/ADAG.java <ide> import edu.isi.pegasus.common.util.Version; <ide> import edu.isi.pegasus.common.util.XMLWriter; <ide> import edu.isi.pegasus.planner.dax.Invoke.WHEN; <add>import edu.isi.pegasus.planner.namespace.Metadata; <ide> <ide> /** <ide> * <pre> <ide> * The version...
Java
mit
2a706d0e43936ba761234e832e218a42e8c9fd26
0
Nincodedo/Ninbot
package com.nincraft.ninbot.components.event; import com.nincraft.ninbot.components.config.ConfigDao; import lombok.extern.log4j.Log4j2; import lombok.val; import net.dv8tion.jda.core.JDA; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import o...
src/main/java/com/nincraft/ninbot/components/event/EventScheduler.java
package com.nincraft.ninbot.components.event; import com.nincraft.ninbot.components.config.ConfigDao; import lombok.extern.log4j.Log4j2; import lombok.val; import net.dv8tion.jda.core.JDA; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import o...
Fixes #27
src/main/java/com/nincraft/ninbot/components/event/EventScheduler.java
Fixes #27
<ide><path>rc/main/java/com/nincraft/ninbot/components/event/EventScheduler.java <ide> } else { <ide> eventEndTime = eventStartTime.plus(1, ChronoUnit.DAYS); <ide> } <del> if (eventEndTime.isBefore(Instant.now())) { <add> if (eventEndTime.isBefore(Instant.now()) || <add> ...
JavaScript
mit
c85c92364b1a501bbd2b85f7cef9acb96a357988
0
mil/lunch
'use strict'; var _ = require('lodash'); var fs = require('fs'); var path = require('path'); var yaml = require('js-yaml'); var read_dir = require('fs-readdir-recursive'); function config_loader(config_dir) { return _.merge.apply({}, _.map(read_dir(config_dir), function(file) { return yaml.safeLoad( ...
modules/config_loader.js
'use strict'; var _ = require('lodash'); var fs = require('fs'); var path = require('path'); var yaml = require('js-yaml'); var read_dir = require('fs-readdir-recursive'); function config_loader(config_dir) { return _.merge.apply({}, _.map(read_dir(config_dir), function(file) { return yaml.safeLoad( ...
whitespace
modules/config_loader.js
whitespace
<ide><path>odules/config_loader.js <ide> ); <ide> } <ide> <del> <ide> module.exports = config_loader;
JavaScript
unlicense
2a1387d3667f9021f63397ffdf864b3257ea0dc0
0
xpl/ololog
const mocha = require ('mocha') , ansi = require ('ansicolor') , ololog = require ('ololog') , StackTracey = require ('stacktracey') , log = ololog.configure ({ locate: false }) , { isBlank } = require ('printable-characters') /* ------------------------------------------...
reporter.js
const mocha = require ('mocha') , ansi = require ('ansicolor') , ololog = require ('ololog') , StackTracey = require ('stacktracey') , log = ololog.configure ({ locate: false }) , { isBlank } = require ('printable-characters') /* ------------------------------------------...
better error reporting in Mocha (now shows SyntaxErrors correctly)
reporter.js
better error reporting in Mocha (now shows SyntaxErrors correctly)
<ide><path>eporter.js <ide> <ide> /* ------------------------------------------------------------------------ */ <ide> <del>process.on ('uncaughtException', e => { log.bright.red.error (e) }) <del>process.on ('unhandledRejection', e => { log.bright.red.error (e) }) <add>const printError = e => { <add> <add> log....
Java
apache-2.0
49a83c242c5976e54025ccbfd9df84420671d7a5
0
baratine/lucene-plugin,baratine/lucene-plugin,baratine/lucene-plugin,baratine/lucene-plugin
package com.caucho.lucene; import com.caucho.env.system.RootDirectorySystem; import com.caucho.util.LruCache; import io.baratine.core.ServiceManager; import io.baratine.files.BfsFileSync; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.d...
service/src/main/java/com/caucho/lucene/LuceneIndexBean.java
package com.caucho.lucene; import com.caucho.env.system.RootDirectorySystem; import com.caucho.util.LruCache; import io.baratine.core.ServiceManager; import io.baratine.files.BfsFileSync; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.standard.StandardAnalyzer; import org.apache.lucene.d...
caching updates
service/src/main/java/com/caucho/lucene/LuceneIndexBean.java
caching updates
<ide><path>ervice/src/main/java/com/caucho/lucene/LuceneIndexBean.java <ide> <ide> private LruCache<String,Query> _queryCache = new LruCache<>(1024); <ide> <del> private LruCache<String,LuceneEntry[]> _resultsCache = new LruCache<>(512); <del> <ide> private AtomicLong _updateSequence = new AtomicLong(); <ide> ...
JavaScript
mpl-2.0
39c9df0cd23f3b1dd0fb6aa23fe8e9d52f7cca9e
0
asamuzaK/sidebarTabs,asamuzaK/sidebarTabs
/* sidebar.js */ "use strict"; { /* api */ const { bookmarks, contextualIdentities, i18n, management, sessions, storage, tabs, windows, } = browser; /* constants */ const ACTIVE = "active"; const AUDIBLE = "audible"; const AUDIO_MUTE = "muteAudio"; const AUDIO_MUTE_UNMUTE = "unmuteAudio"; con...
src/js/sidebar.js
/* sidebar.js */ "use strict"; { /* api */ const { bookmarks, contextualIdentities, i18n, management, sessions, storage, tabs, windows, } = browser; /* constants */ const ACTIVE = "active"; const AUDIBLE = "audible"; const AUDIO_MUTE = "muteAudio"; const AUDIO_MUTE_UNMUTE = "unmuteAudio"; con...
Always update favicon and title
src/js/sidebar.js
Always update favicon and title
<ide><path>rc/js/sidebar.js <ide> if (windowId === sidebar.windowId && tabId !== tabs.TAB_ID_NONE) { <ide> const tab = document.querySelector(`[data-tab-id="${tabId}"]`); <ide> if (tab) { <del> if (info.hasOwnProperty("favIconUrl") || <del> info.hasOwnProperty("status") || <del> ...
Java
apache-2.0
2f3ce2c7df1eaac2f9d964733b1e6e57ec57ee1c
0
commoncrawl/nutch,commoncrawl/nutch,commoncrawl/nutch,commoncrawl/nutch
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/test/org/commoncrawl/util/TestWarcRecordWriter.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 ...
WARC writer incorrectly adds extra line in response records between HTTP headers and payload content (#5) - HTTP headers are now supposed to always contain a trailing empty line - fix unit to reflect this
src/test/org/commoncrawl/util/TestWarcRecordWriter.java
WARC writer incorrectly adds extra line in response records between HTTP headers and payload content (#5) - HTTP headers are now supposed to always contain a trailing empty line - fix unit to reflect this
<ide><path>rc/test/org/commoncrawl/util/TestWarcRecordWriter.java <ide> headers.append(testHeaders1[i]).append(WarcRecordWriter.COLONSP); <ide> headers.append(testHeaders1[i+1]).append(WarcRecordWriter.CRLF); <ide> } <add> headers.append(WarcRecordWriter.CRLF); <ide> testHeaderString1 = headers.t...
Java
apache-2.0
644d7c0902005484a481543520296aee0fb93adf
0
RackerWilliams/xercesj,RackerWilliams/xercesj,RackerWilliams/xercesj
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/org/apache/xerces/dom/PSVIElementNSImpl.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 ...
cosmetic javadoc improvement git-svn-id: 39602be06c88ea89c23a8a9fd3d1314146990de6@1086532 13f79535-47bb-0310-9956-ffa450edef68
src/org/apache/xerces/dom/PSVIElementNSImpl.java
cosmetic javadoc improvement
<ide><path>rc/org/apache/xerces/dom/PSVIElementNSImpl.java <ide> /** the schema information property */ <ide> protected XSModel fSchemaInformation = null; <ide> <del> /** inherited attributes **/ <add> /** inherited attributes */ <ide> protected XSAttributeUse[] fInheritedAttributes = null; <ide...
Java
apache-2.0
50694242db15fe054720c30e515fe6f0a914956f
0
ACCTFORGH/foursquared,sathiamour/foursquared,shivasrinath/foursquared,codingz/foursquared,wenkeyang/foursquared.eclair,nextzy/foursquared.eclair,dreamapps786/foursquared.eclair,ksrpraneeth/foursquared,harajuko/foursquared.eclair,jotish/foursquared,hardikamal/foursquared,RahulRavindren/foursquared,pratikjk/foursquared.e...
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapController; import com.google.android.maps.MapView; import com.google.android.maps.MyLocationOverlay; import com.google.andro...
src/com/joelapenna/foursquared/SearchVenueMapActivity.java
/** * Copyright 2009 Joe LaPenna */ package com.joelapenna.foursquared; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapController; import com.google.android.maps.MapView; import com.google.android.maps.MyLocationOverlay; import com.google.andro...
rename mVenue in SearchVenueMapActivity to make it clear its purpose. committer: Joe LaPenna <16a9a54ddf4259952e3c118c763138e83693d7fd@joelapenna.com>
src/com/joelapenna/foursquared/SearchVenueMapActivity.java
rename mVenue in SearchVenueMapActivity to make it clear its purpose.
<ide><path>rc/com/joelapenna/foursquared/SearchVenueMapActivity.java <ide> public static final String TAG = "SearchVenueMapActivity"; <ide> public static final boolean DEBUG = Foursquared.DEBUG; <ide> <del> private Venue mVenue; <add> private Venue mTappedVenue; <ide> <ide> private MapView mMapView;...
Java
apache-2.0
fbc32f581b90940f78a47e659393144db80da9d1
0
bhatvv/jitsi,bhatvv/jitsi,bhatvv/jitsi,bhatvv/jitsi,bhatvv/jitsi
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.protocol.sip; import gov.nist.javax.sip.header.*; import net.java.sip.communicator.util.*; import net.java.sip.communicator.service....
src/net/java/sip/communicator/impl/protocol/sip/ConfigHeaders.java
/* * Jitsi, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.impl.protocol.sip; import gov.nist.javax.sip.header.*; import net.java.sip.communicator.util.*; import net.java.sip.communicator.service....
fix for configurable domain change
src/net/java/sip/communicator/impl/protocol/sip/ConfigHeaders.java
fix for configurable domain change
<ide><path>rc/net/java/sip/communicator/impl/protocol/sip/ConfigHeaders.java <ide> <ide> if (value.contains(props.get(ProtocolProviderFactory.DOMAIN))) <ide> { <del> value = value.replace(value.substring(value.indexOf("@"),value.indexOf("@") + props.get(ProtocolProvid...
Java
agpl-3.0
44f0956721d102bf0dee81fd786afbeb498f6a5b
0
ngaut/sql-layer,shunwang/sql-layer-1,qiuyesuifeng/sql-layer,qiuyesuifeng/sql-layer,shunwang/sql-layer-1,shunwang/sql-layer-1,ngaut/sql-layer,ngaut/sql-layer,jaytaylor/sql-layer,jaytaylor/sql-layer,relateiq/sql-layer,relateiq/sql-layer,qiuyesuifeng/sql-layer,relateiq/sql-layer,wfxiang08/sql-layer-1,qiuyesuifeng/sql-laye...
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * 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 option) any later version. * * Thi...
src/main/java/com/foundationdb/sql/script/ScriptBindingsRoutine.java
/** * Copyright (C) 2009-2013 FoundationDB, LLC * * 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 option) any later version. * * Thi...
Adjust for the Rhino 1.7 problem.
src/main/java/com/foundationdb/sql/script/ScriptBindingsRoutine.java
Adjust for the Rhino 1.7 problem.
<ide><path>rc/main/java/com/foundationdb/sql/script/ScriptBindingsRoutine.java <ide> <ide> import com.foundationdb.ais.model.Parameter; <ide> import com.foundationdb.qp.operator.QueryBindings; <del>import com.foundationdb.server.error.ExternalRoutineInvocationException; <ide> import com.foundationdb.sql.server.ServerC...
Java
epl-1.0
aee462612da899da95bfd59029bf17438ab2d341
0
SmithRWORNL/ice,wo-amlangwang/ice,nickstanish/ice,nickstanish/ice,eclipse/ice,SmithRWORNL/ice,nickstanish/ice,menghanli/ice,SmithRWORNL/ice,eclipse/ice,eclipse/ice,nickstanish/ice,wo-amlangwang/ice,wo-amlangwang/ice,gorindn/ice,SmithRWORNL/ice,nickstanish/ice,gorindn/ice,wo-amlangwang/ice,menghanli/ice,nickstanish/ice,...
/******************************************************************************* * Copyright (c) 2012, 2014 UT-Battelle, LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is avail...
tests/org.eclipse.ice.datastructures.test/src/org/eclipse/ice/datastructures/test/MaterialStackTester.java
/******************************************************************************* * Copyright (c) 2012, 2014 UT-Battelle, LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is avail...
Apparently the bug with XML parsing for the Material is not a problem for Java 1.8 on my home machine. I reset the test to use CO2. Signed-off-by: Jay Jay Billings <823bf6329bcacc9ee3ce8be53f88c13e0ec9f98a@ornl.gov>
tests/org.eclipse.ice.datastructures.test/src/org/eclipse/ice/datastructures/test/MaterialStackTester.java
Apparently the bug with XML parsing for the Material is not a problem for Java 1.8 on my home machine. I reset the test to use CO2.
<ide><path>ests/org.eclipse.ice.datastructures.test/src/org/eclipse/ice/datastructures/test/MaterialStackTester.java <ide> ICEJAXBHandler jaxbHandler = new ICEJAXBHandler(); <ide> <ide> // Create a Material that will be written to XML <del> Material material = new Material();//TestMaterialFactory.createCO2(); <de...
JavaScript
mit
cbe1d5230b1a51bf119bd8a14df9165c41f149af
0
asnowwolf/lottery-ui,asnowwolf/lottery-ui
'use strict'; angular.module('app').factory('daoLottery', function () { function Award(award) { _.extend(this, award); } function DaoLottery() { this.name = ''; this.description = ''; this.awards = [{id: 1}]; } DaoLottery.prototype.clear = function () { this.name = ''; this.descript...
app/scripts/services/dao/DaoLottery.js
'use strict'; angular.module('app').factory('daoLottery', function () { function Award(award) { _.extend(this, award); } function DaoLottery() { this.name = ''; this.description = ''; this.awards = [{id: 1}]; } DaoLottery.prototype.clear = function () { this.name = ''; this.descript...
解决移除奖项时导致的bug
app/scripts/services/dao/DaoLottery.js
解决移除奖项时导致的bug
<ide><path>pp/scripts/services/dao/DaoLottery.js <ide> var award = _.where(this.awards, {id: awardId}); <ide> }; <ide> DaoLottery.prototype.removeAward = function (award) { <del> this.awards.splice(this.awards.indexOf(award)); <add> this.awards.splice(this.awards.indexOf(award), 1); <ide> }; <ide> Dao...
Java
apache-2.0
1277f24a634cc223e0f59729245eb390e20f01db
0
ga4gh/dockstore,ga4gh/dockstore,ga4gh/dockstore
package io.github.collaboratory; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.OutputStream; import java.net.URI; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Arrays; import java.util.HashM...
dockstore-launcher/src/main/java/io/github/collaboratory/LauncherCWL.java
package io.github.collaboratory; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.OutputStream; import java.net.URI; import java.nio.charset.StandardCharsets; import java.util.ArrayList; import java.util.Arrays; import java.util.HashM...
Satisfy checkstyle
dockstore-launcher/src/main/java/io/github/collaboratory/LauncherCWL.java
Satisfy checkstyle
<ide><path>ockstore-launcher/src/main/java/io/github/collaboratory/LauncherCWL.java <ide> // default layout saves to original_file_name/object_id <ide> // file name is the directory and object id is actual file name <ide> String client = getStorageClient(); <del> String bob = client + " --quiet" +...
Java
apache-2.0
14b5659f835aa70c6593a51161622fdaa573cc92
0
vroyer/elasticassandra,strapdata/elassandra,vroyer/elassandra,vroyer/elassandra,strapdata/elassandra,vroyer/elasticassandra,strapdata/elassandra,vroyer/elasticassandra,vroyer/elassandra,strapdata/elassandra,strapdata/elassandra
/* * Licensed to Elasticsearch under one or more contributor * license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright * ownership. Elasticsearch licenses this file to you under * the Apache License, Version 2.0 (the "License"); you may * not use this fi...
core/src/test/java/org/elasticsearch/indices/recovery/StartRecoveryRequestTests.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...
fix StartRecoveryRequestTests.testSerialization
core/src/test/java/org/elasticsearch/indices/recovery/StartRecoveryRequestTests.java
fix StartRecoveryRequestTests.testSerialization
<ide><path>ore/src/test/java/org/elasticsearch/indices/recovery/StartRecoveryRequestTests.java <ide> UUIDs.randomBase64UUID(), <ide> new DiscoveryNode("a", buildNewFakeTransportAddress(), emptyMap(), emptySet(), targetNodeVersion), <ide> new DiscoveryNode("b", buildNewFak...
Java
unlicense
fb63102ecdf6864a3de17cfaf481a685881705c8
0
Kramermp/FoodMood
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package testharness; import foodprofile.model.Food; import java.lang.reflect.Field; import java.util.ArrayList; import java....
src/testharness/FoodTestHarness.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package testharness; import foodprofile.model.Food; import java.lang.reflect.Field; import java.util.ArrayList; import java....
Updating constructors
src/testharness/FoodTestHarness.java
Updating constructors
<ide><path>rc/testharness/FoodTestHarness.java <ide> Field idField = foodClass.getDeclaredField("id"); <ide> idField.setAccessible(true); <ide> int newID = 77; <del> testFood.setID(newID); <ide> int detectedID = (int) idField.get(testFood); <ide> if...
JavaScript
mit
7f699fd6d1a632f23f4dceafc0d35c815f14fdc9
0
shannonmpoole/fh-fhc,wei-lee/fh-fhc,david-martin/fh-fhc,paolobueno/fh-fhc,nialldonnellyfh/fh-fhc
var common = require("../../../common"); var fhreq = require("../../../utils/request"); module.exports = domains; domains.desc = "Manage Domains"; domains.usage= "admin domains create <domainName> <type admin|developer> --theme=<sometheme> --parent=<someparent> "; function domains(argv,cb){ var args = argv._; ...
lib/cmd/fh3/admin/domains.js
var common = require("../../../common"); var fhreq = require("../../../utils/request"); module.exports = domains; domains.desc = "Manage Domains"; domains.usage= "admin domains create <domainName> <type admin|developer> --theme=<sometheme> --parent=<someparent> "; function domains(argv,cb){ var args = argv._; ...
remove console.log
lib/cmd/fh3/admin/domains.js
remove console.log
<ide><path>ib/cmd/fh3/admin/domains.js <ide> <ide> <ide> function createDomain(args, cb){ <del> console.log(args); <ide> var argsArr = args._; <ide> var domain = argsArr[1], <ide> type = argsArr[2],
Java
agpl-3.0
9bd4774f068d10402b510423db8776ba38db59ac
0
masters-info-nantes/myLazyClock,masters-info-nantes/myLazyClock,masters-info-nantes/myLazyClock
package org.myLazyClock.travelApi; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.UR...
server-gae/travel-gmap/src/main/java/org/myLazyClock/travelApi/TravelGmapStrategy.java
package org.myLazyClock.travelApi; import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; import com.google.gson.JsonParser; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.HttpURLConnection; import java.net.URL...
fixes url for gmaps when contain space
server-gae/travel-gmap/src/main/java/org/myLazyClock/travelApi/TravelGmapStrategy.java
fixes url for gmaps when contain space
<ide><path>erver-gae/travel-gmap/src/main/java/org/myLazyClock/travelApi/TravelGmapStrategy.java <ide> import com.google.gson.JsonElement; <ide> import com.google.gson.JsonObject; <ide> import com.google.gson.JsonParser; <add> <ide> import java.io.IOException; <ide> import java.io.InputStream; <ide> import java.io.Inpu...
Java
apache-2.0
9503f89ac26e67a44c50ada69fb855e1a13c3498
0
kuberkaul/artifactory-plugin,arothian/artifactory-plugin,JFrogDev/jenkins-artifactory-plugin,arothian/artifactory-plugin,AlexeiVainshtein/jenkins-artifactory-plugin,grossws/jenkins-artifactory-plugin,JFrogDev/jenkins-artifactory-plugin,shikloshi/jenkins-artifactory-plugin,AlexeiVainshtein/jenkins-artifactory-plugin,nil...
/* * Copyright (C) 2010 JFrog Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
src/main/java/org/jfrog/hudson/maven3/Maven3Builder.java
/* * Copyright (C) 2010 JFrog Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
HAP-230 - Fixed property condition test
src/main/java/org/jfrog/hudson/maven3/Maven3Builder.java
HAP-230 - Fixed property condition test
<ide><path>rc/main/java/org/jfrog/hudson/maven3/Maven3Builder.java <ide> FilePath actualDependencyDirectory = <ide> PluginDependencyHelper.getActualDependencyDirectory(build, maven3ExtractorJar); <ide> <del> if (StringUtils.isNotBlank(getMavenOpts()) && !getMavenOpts().contai...
Java
apache-2.0
1f3f5f35bb66fe9345bc74cc17bec691914500c2
0
apereo/cas,apereo/cas,fogbeam/cas_mirror,leleuj/cas,Jasig/cas,fogbeam/cas_mirror,philliprower/cas,leleuj/cas,rkorn86/cas,pdrados/cas,philliprower/cas,apereo/cas,pdrados/cas,philliprower/cas,rkorn86/cas,fogbeam/cas_mirror,Jasig/cas,leleuj/cas,pdrados/cas,philliprower/cas,apereo/cas,fogbeam/cas_mirror,rkorn86/cas,pdrados...
/* * Copyright 2007 The JA-SIG Collaborative. All rights reserved. See license * distributed with this file and available online at * http://www.ja-sig.org/products/cas/overview/license/ */ package org.jasig.cas; import org.jasig.cas.authentication.Authentication; import org.jasig.cas.authentication.ImmutableAuthe...
cas-server-core/src/test/java/org/jasig/cas/TestUtils.java
/* * Copyright 2007 The JA-SIG Collaborative. All rights reserved. See license * distributed with this file and available online at * http://www.ja-sig.org/products/cas/overview/license/ */ package org.jasig.cas; import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; import java.ut...
Switch to https://github.com for valid SSL host. Resolves build issues on some platforms (e.g. Linux).
cas-server-core/src/test/java/org/jasig/cas/TestUtils.java
Switch to https://github.com for valid SSL host. Resolves build issues on some platforms (e.g. Linux).
<ide><path>as-server-core/src/test/java/org/jasig/cas/TestUtils.java <ide> */ <ide> package org.jasig.cas; <ide> <del>import java.net.MalformedURLException; <del>import java.net.URL; <del>import java.util.ArrayList; <del>import java.util.List; <del> <ide> import org.jasig.cas.authentication.Authentication; <ide> impo...
Java
mit
e7c9680dd24a84229df234abf82277115d3f4f00
0
wmcmahan/react-native-calendar-events,wmcmahan/react-native-calendar-events,wmcmahan/react-native-calendar-events
package com.calendarevents; import android.app.Activity; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Intent; import android.content.pm.PackageManager; import android.content.SharedPreferences; import android.Manifest; import a...
android/src/main/java/com/calendarevents/RNCalendarEvents.java
package com.calendarevents; import android.app.Activity; import android.content.ContentResolver; import android.content.ContentUris; import android.content.ContentValues; import android.content.Intent; import android.content.pm.PackageManager; import android.content.SharedPreferences; import android.Manifest; import a...
Fixed `'boolean android.database.Cursor.moveToNext()' on a null object reference` error Closes #259 Closes #255
android/src/main/java/com/calendarevents/RNCalendarEvents.java
Fixed `'boolean android.database.Cursor.moveToNext()' on a null object reference` error
<ide><path>ndroid/src/main/java/com/calendarevents/RNCalendarEvents.java <ide> Cursor cursor = CalendarContract.Attendees.query(resolver, eventID, new String[] { <ide> CalendarContract.Attendees._ID <ide> }); <del> <add> <ide> while (cursor.moveToNext()) { <ide> ...
Java
apache-2.0
ffd17dc53a30565f1f765b8ec7b3f3f85dd651e9
0
leokraemer/mathosphere,TU-Berlin/mathosphere,leokraemer/mathosphere,TU-Berlin/mathosphere
package mlp.pojos; import com.google.common.collect.ImmutableMultiset; import com.google.common.collect.ImmutableSet; import mlp.text.WikiTextUtils; import org.junit.Test; import static junit.framework.Assert.assertEquals; import static mlp.text.WikiTextUtilsTest.getTestResource; /** * Created by Moritz on 30.09.20...
mlp/src/test/java/mlp/pojos/MathTagTest.java
package mlp.pojos; import com.google.common.collect.ImmutableMultiset; import com.google.common.collect.ImmutableSet; import mlp.text.WikiTextUtils; import org.junit.Test; import static junit.framework.Assert.assertEquals; import static mlp.text.WikiTextUtilsTest.getTestResource; /** * Created by Moritz on 30.09.20...
fix test undo stupid change in last PS * the content was changed but not the hash
mlp/src/test/java/mlp/pojos/MathTagTest.java
fix test undo stupid change in last PS
<ide><path>lp/src/test/java/mlp/pojos/MathTagTest.java <ide> <ide> @Test <ide> public void testGetContentHash() throws Exception { <del> MathTag t = new MathTag(1, "<math><mrow><mo>x</mo></mrow></math>", WikiTextUtils.MathMarkUpType.MATHML); <add> MathTag t = new MathTag(1, "<math><mrow><mo>x</mo><mrow></mat...
Java
apache-2.0
639c7c100d7931bde189b19d9ec70cd953dc590f
0
nezda/yawni,nezda/yawni,nezda/yawni,nezda/yawni,nezda/yawni
/* * Copyright 1998 by Oliver Steele. You can use this software freely so long as you preserve * the copyright notice and this restriction, and label your changes. */ package edu.brandeis.cs.steele.wn; import java.util.*; import static edu.brandeis.cs.steele.wn.PointerTypeFlag.*; /** Instances of this class enume...
src/edu/brandeis/cs/steele/wn/PointerType.java
/* * WordNet-Java * * Copyright 1998 by Oliver Steele. You can use this software freely so long as you preserve * the copyright notice and this restriction, and label your changes. */ package edu.brandeis.cs.steele.wn; import java.util.*; import static edu.brandeis.cs.steele.wn.PointerTypeFlags.*; /** Instances...
tentative getSuperTypes()/getSubTypes(), comments, removed dead commented code git-svn-id: 0f0e769425a95b277772daee6ac27d370147d87f@182 158bccb4-7c0b-4fb3-968f-7c40bf2d9062
src/edu/brandeis/cs/steele/wn/PointerType.java
tentative getSuperTypes()/getSubTypes(), comments, removed dead commented code
<ide><path>rc/edu/brandeis/cs/steele/wn/PointerType.java <ide> /* <del> * WordNet-Java <del> * <ide> * Copyright 1998 by Oliver Steele. You can use this software freely so long as you preserve <ide> * the copyright notice and this restriction, and label your changes. <ide> */ <ide> package edu.brandeis.cs.steele.wn...
Java
mit
error: pathspec 'app/src/main/java/com/uic/sandeep/phonepark/DisplayNearestParkBlock.java' did not match any file(s) known to git
930783400b389f84e98a6c4d0953495253c24124
1
sandeepsas/PhonePark
package com.uic.sandeep.phonepark; /** * Created by Sandeep on 3/15/2016. */ import android.location.Location; import android.os.AsyncTask; import com.google.android.gms.maps.model.LatLng; import com.uic.sandeep.phonepark.blocksmap.ParkingBlock; import java.io.BufferedReader; import java.io.InputStream; import ja...
app/src/main/java/com/uic/sandeep/phonepark/DisplayNearestParkBlock.java
Beta version release v2.01
app/src/main/java/com/uic/sandeep/phonepark/DisplayNearestParkBlock.java
Beta version release v2.01
<ide><path>pp/src/main/java/com/uic/sandeep/phonepark/DisplayNearestParkBlock.java <add>package com.uic.sandeep.phonepark; <add> <add>/** <add> * Created by Sandeep on 3/15/2016. <add> */ <add> <add>import android.location.Location; <add>import android.os.AsyncTask; <add> <add>import com.google.android.gms.maps.model.L...
Java
mit
e0785a2228c7eee6cbb5aa43d0567c2f830b995f
0
Stolpersteine/stolpersteine-android
package com.dreiri.stolpersteine.activities; import java.util.ArrayList; import java.util.List; import java.util.ListIterator; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import an...
Stolpersteine/src/com/dreiri/stolpersteine/activities/MapActivity.java
package com.dreiri.stolpersteine.activities; import java.util.ArrayList; import java.util.List; import java.util.ListIterator; import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import an...
Disable action bar in map activity
Stolpersteine/src/com/dreiri/stolpersteine/activities/MapActivity.java
Disable action bar in map activity
<ide><path>tolpersteine/src/com/dreiri/stolpersteine/activities/MapActivity.java <ide> import android.text.TextWatcher; <ide> import android.view.Menu; <ide> import android.view.MenuItem; <add>import android.view.Window; <ide> import android.widget.ArrayAdapter; <ide> import android.widget.AutoCompleteTextView; <ide> ...
Java
bsd-3-clause
379d5a4f69e578a362a47025954f95d5668947da
0
hanmomhanda/DesignPatterns,hanmomhanda/DesignPatterns,hanmomhanda/DesignPatterns,hanmomhanda/DesignPatterns
package TemplateCallback.java; import java.io.*; public class TemplateCallbackPattern { public static void main(String[] args){ String filePath = "TemplateCallback/data.txt"; Template template = new Template(); // Client 입장에서 파일을 다루면서도, // Template 덕분에 try/catch 같은 것을 신경 쓸 필요가 없...
TemplateCallback/java/TemplateCallbackPattern.java
package TemplateCallback.java; import java.io.*; public class TemplateCallbackPattern { public static void main(String[] args){ String filePath = "TemplateCallback/data.txt"; Template template = new Template(); // Client 입장에서 파일을 다루면서도, // Template 덕분에 try/catch 같은 것을 신경 쓸 필요가 없...
자바 템플릿 메서드 패턴에 FileReader를 close() 안 해주는 오류 수정
TemplateCallback/java/TemplateCallbackPattern.java
자바 템플릿 메서드 패턴에 FileReader를 close() 안 해주는 오류 수정
<ide><path>emplateCallback/java/TemplateCallbackPattern.java <ide> * @param callback <ide> */ <ide> public <T> void processFile(String filePath, T initValue, CallBack<T> callback){ <add> FileReader fr = null; <ide> BufferedReader br = null; <add> <ide> T result = initValue; <ide> ...
Java
apache-2.0
6528a0101493415ddfb8f2dc434ad8a2fa53a78e
0
stefanneuhaus/DependencyCheck,stefanneuhaus/DependencyCheck,stefanneuhaus/DependencyCheck,jeremylong/DependencyCheck,jeremylong/DependencyCheck,stefanneuhaus/DependencyCheck,stefanneuhaus/DependencyCheck,jeremylong/DependencyCheck,jeremylong/DependencyCheck,stefanneuhaus/DependencyCheck,jeremylong/DependencyCheck,jerem...
/* * This file is part of dependency-check-maven. * * 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...
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java
/* * This file is part of dependency-check-maven. * * 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...
[issue 2960] Added support for encrypted proxy passwords in Maven settings (#2966) Also: - Refactored handling of SecDispatcherException in class org.owasp.dependencycheck.maven.BaseDependencyCheckMojo. - Added setting the system property "jdk.http.auth.tunneling.disabledSchemes" to an empty list already in org.o...
maven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java
[issue 2960] Added support for encrypted proxy passwords in Maven settings (#2966)
<ide><path>aven/src/main/java/org/owasp/dependencycheck/maven/BaseDependencyCheckMojo.java <ide> settings.setString(Settings.KEYS.PROXY_SERVER, proxy.getHost()); <ide> settings.setString(Settings.KEYS.PROXY_PORT, Integer.toString(proxy.getPort())); <ide> final String userName = proxy...
Java
apache-2.0
9c6c512f9f1f3c645939223814578ba9f09af579
0
rblalock/titanium_mobile,sriks/titanium_mobile,peymanmortazavi/titanium_mobile,taoger/titanium_mobile,linearhub/titanium_mobile,mano-mykingdom/titanium_mobile,jhaynie/titanium_mobile,KoketsoMabuela92/titanium_mobile,jhaynie/titanium_mobile,linearhub/titanium_mobile,cheekiatng/titanium_mobile,falkolab/titanium_mobile,jv...
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2013 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package org.appcelerator.titanium; import java.lang.ref.WeakReference; import jav...
android/titanium/src/java/org/appcelerator/titanium/TiBaseActivity.java
/** * Appcelerator Titanium Mobile * Copyright (c) 2009-2013 by Appcelerator, Inc. All Rights Reserved. * Licensed under the terms of the Apache Public License * Please see the LICENSE included with this distribution for details. */ package org.appcelerator.titanium; import java.lang.ref.WeakReference; import jav...
timob-16279: convert life cycle sync events to async
android/titanium/src/java/org/appcelerator/titanium/TiBaseActivity.java
timob-16279: convert life cycle sync events to async
<ide><path>ndroid/titanium/src/java/org/appcelerator/titanium/TiBaseActivity.java <ide> windowCreated(); <ide> <ide> if (activityProxy != null) { <del> // Fire the sync event with a timeout, so the main thread won't be blocked too long to get an ANR. (TIMOB-13253) <del> activityProxy.fireSyncEvent(TiC.EVENT_CR...
Java
bsd-3-clause
c4649988d6dc2c666e04121d1801f01d0a1c146a
0
magicDGS/gatk,ksthesis/gatk,frank-y-liu/gatk,magicDGS/gatk,magicDGS/gatk,broadinstitute/hellbender,frank-y-liu/gatk,ksthesis/gatk,frank-y-liu/gatk,ksthesis/gatk,magicDGS/gatk,ksthesis/gatk,magicDGS/gatk,broadinstitute/hellbender,frank-y-liu/gatk,frank-y-liu/gatk,broadinstitute/hellbender,ksthesis/gatk,broadinstitute/he...
package org.broadinstitute.hellbender.tools.walkers.mutect; import htsjdk.variant.variantcontext.VariantContext; import htsjdk.variant.variantcontext.VariantContextBuilder; import htsjdk.variant.variantcontext.writer.VariantContextWriter; import htsjdk.variant.vcf.VCFHeader; import htsjdk.variant.vcf.VCFHeaderLine; im...
src/main/java/org/broadinstitute/hellbender/tools/walkers/mutect/FilterMutectCalls.java
package org.broadinstitute.hellbender.tools.walkers.mutect; import htsjdk.variant.variantcontext.VariantContext; import htsjdk.variant.variantcontext.VariantContextBuilder; import htsjdk.variant.variantcontext.writer.VariantContextWriter; import htsjdk.variant.vcf.VCFHeader; import htsjdk.variant.vcf.VCFHeaderLine; im...
FilterMutectCalls: write as we go to save memory (#3832)
src/main/java/org/broadinstitute/hellbender/tools/walkers/mutect/FilterMutectCalls.java
FilterMutectCalls: write as we go to save memory (#3832)
<ide><path>rc/main/java/org/broadinstitute/hellbender/tools/walkers/mutect/FilterMutectCalls.java <ide> <ide> private VariantContextWriter vcfWriter; <ide> <del> private final List<VariantContext> unfilteredCalls = new ArrayList<>(); <del> <add> private Mutect2FilteringEngine filteringEngine; <ide> <ide> ...
Java
apache-2.0
error: pathspec 'src/de/st_ddt/crazyutil/paramitrisable/PermissionedParamitriable.java' did not match any file(s) known to git
8a4f692d1e7ea6f9945845c21c3eff158153d391
1
ST-DDT/CrazyCore
package de.st_ddt.crazyutil.paramitrisable; import java.util.ArrayList; import java.util.List; import org.bukkit.command.CommandSender; import de.st_ddt.crazyplugin.exceptions.CrazyCommandPermissionException; import de.st_ddt.crazyplugin.exceptions.CrazyException; import de.st_ddt.crazyutil.Named; public...
src/de/st_ddt/crazyutil/paramitrisable/PermissionedParamitriable.java
CrazyCore: added PermissionParamitrisable
src/de/st_ddt/crazyutil/paramitrisable/PermissionedParamitriable.java
CrazyCore: added PermissionParamitrisable
<ide><path>rc/de/st_ddt/crazyutil/paramitrisable/PermissionedParamitriable.java <add>package de.st_ddt.crazyutil.paramitrisable; <add> <add>import java.util.ArrayList; <add>import java.util.List; <add> <add>import org.bukkit.command.CommandSender; <add> <add>import de.st_ddt.crazyplugin.exceptions.CrazyCommandPermissio...
Java
agpl-3.0
739c52afdb3dc26a9154c76d4fc08e4df23e0448
0
RapidInfoSys/Rapid,RapidInfoSys/Rapid,RapidInfoSys/Rapid,RapidInfoSys/Rapid
/* Copyright (C) 2021 - Gareth Edwards / Rapid Information Systems gareth.edwards@rapid-is.co.uk This file is part of the Rapid Application Platform Rapid 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...
src/com/rapid/actions/Database.java
/* Copyright (C) 2021 - Gareth Edwards / Rapid Information Systems gareth.edwards@rapid-is.co.uk This file is part of the Rapid Application Platform Rapid 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...
Fixed to database action unspecify numbered parameter method
src/com/rapid/actions/Database.java
Fixed to database action unspecify numbered parameter method
<ide><path>rc/com/rapid/actions/Database.java <ide> private static String _namedParameterSlotRegex = "(\\?\"[^\"]+\")|(\\?(?=[a-zA-Z])\\w*)"; <ide> // finds ? followed by a name in quotes, or ? followed by 0 or more numbers, or ? on their own <ide> private static String _parameterSlotRegex = "(\\?\"[^\"]+\")|(\\?\\w...
Java
mit
7f40753fcd2eea03221272829272dabd4f286f58
0
CS2103JAN2017-F14-B2/main,CS2103JAN2017-F14-B2/main,CS2103JAN2017-F14-B2/main
package seedu.task.logic.commandlibrary; import static seedu.task.commons.core.Messages.MESSAGE_COMMAND_DOES_NOT_EXIST; import static seedu.task.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND; import java.util.HashMap; import seedu.task.commons.core.EventsCenter; import seedu.task.commons.events.ui.QueryUnknownComman...
src/main/java/seedu/task/logic/commandlibrary/CommandLibrary.java
package seedu.task.logic.commandlibrary; import static seedu.task.commons.core.Messages.MESSAGE_COMMAND_DOES_NOT_EXIST; import static seedu.task.commons.core.Messages.MESSAGE_UNKNOWN_COMMAND; import java.util.HashMap; import seedu.task.commons.core.EventsCenter; import seedu.task.commons.events.ui.QueryUnknownComman...
edit code
src/main/java/seedu/task/logic/commandlibrary/CommandLibrary.java
edit code
<ide><path>rc/main/java/seedu/task/logic/commandlibrary/CommandLibrary.java <ide> new ListCommandParser(), ListCommand.MESSAGE_USAGE)); <ide> commandTable.put(ListCommand.COMMAND_WORD_3, new CommandInstance(ListCommand.COMMAND_WORD_1, <ide> new ListCommandParser(), ListCommand.ME...
Java
apache-2.0
a29dead3670eec47eb155f1433285e151b08ecc7
0
HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j,HuangLS/neo4j
/** * Copyright (c) 2002-2014 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundati...
community/kernel/src/test/java/org/neo4j/kernel/impl/api/PropertyTransactionStateTest.java
/** * Copyright (c) 2002-2014 "Neo Technology," * Network Engine for Objects in Lund AB [http://neotechnology.com] * * This file is part of Neo4j. * * Neo4j is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundati...
Speed up PropertyTransactionStateTest
community/kernel/src/test/java/org/neo4j/kernel/impl/api/PropertyTransactionStateTest.java
Speed up PropertyTransactionStateTest
<ide><path>ommunity/kernel/src/test/java/org/neo4j/kernel/impl/api/PropertyTransactionStateTest.java <ide> tx.success(); <ide> } <ide> <del> try ( Transaction tx = db.beginTx() ) <add> try ( Transaction ignore = db.beginTx() ) <ide> { <ide> for ( int i = 0; i < 100...
Java
mit
2a301bfc9bce74945f3cd01e8462d204c3b0c946
0
tndatacommons/android-grow-app,Revenaunt/android-app,tndatacommons/android-app,izzyalonso/android-app
package org.tndata.android.compass.fragment; import android.app.Activity; import android.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.os.AsyncTask; im...
src/main/java/org/tndata/android/compass/fragment/CategoryFragment.java
package org.tndata.android.compass.fragment; import android.app.Activity; import android.app.AlertDialog; import android.content.BroadcastReceiver; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.os.AsyncTask; im...
launching the GoalTryActivity instead of the GoalDetailsActivity even when the user has selected goals
src/main/java/org/tndata/android/compass/fragment/CategoryFragment.java
launching the GoalTryActivity instead of the GoalDetailsActivity even when the user has selected goals
<ide><path>rc/main/java/org/tndata/android/compass/fragment/CategoryFragment.java <ide> import org.tndata.android.compass.CompassApplication; <ide> import org.tndata.android.compass.R; <ide> import org.tndata.android.compass.activity.ChooseGoalsActivity; <del>import org.tndata.android.compass.activity.GoalDetailsActivi...
Java
apache-2.0
f794dfb3858fe2473841e9ca4051f921b90f39a1
0
JohnReedLOL/Nineteen_Characters
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package src.controller; import java.util.ArrayList; import src.model.MapEntity_Relation; /** * * @author JohnReedLOL */ abstract pu...
src/src/controller/Entity.java
/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package src.controller; import java.util.ArrayList; import src.model.MapEntity_Relation; /** * * @author JohnReedLOL */ abstract pu...
updated recalculateStats()
src/src/controller/Entity.java
updated recalculateStats()
<ide><path>rc/src/controller/Entity.java <ide> <ide> private StatsPack my_stats_after_powerups_; <ide> <add> /** <add> * Adds default stats to item stats and updates my_stats_after_powerups <add> * @author Jessan <add> */ <ide> private void recalculateStats() { <ide> //my_stats_after_po...
Java
bsd-3-clause
d2f6ff477d473ea40541d622af795bfd84e8be6f
0
mdeanda/ajaxproxy,mdeanda/ajaxproxy,mdeanda/ajaxproxy
package com.thedeanda.ajaxproxy.ui; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import java.util.Map; impor...
src/main/java/com/thedeanda/ajaxproxy/ui/MainPanel.java
package com.thedeanda.ajaxproxy.ui; import java.awt.Font; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.List; import java.util.Map; impor...
remember last tab
src/main/java/com/thedeanda/ajaxproxy/ui/MainPanel.java
remember last tab
<ide><path>rc/main/java/com/thedeanda/ajaxproxy/ui/MainPanel.java <ide> return json; <ide> } <ide> <del> // TODO: figure out why this returns nothing <add> /** <add> * ui settings not stored in the current config file <add> * <add> * @return <add> */ <ide> public JsonObject getSettings() { <ide> JsonObject ...
JavaScript
cc0-1.0
4d9e44ca352cb1a3ee8b8324ad4953ab26af59f9
0
department-of-veterans-affairs/vets-website,department-of-veterans-affairs/vets-website
import { apiRequest } from 'platform/utilities/api'; import { COE_ELIGIBILITY_STATUS } from '../constants'; export const GENERATE_AUTOMATIC_COE_STARTED = 'GENERATE_AUTOMATIC_COE_STARTED'; export const GENERATE_AUTOMATIC_COE_SUCCEEDED = 'GENERATE_AUTOMATIC_COE_SUCCEEDED'; export const GENERATE_AUTOMATIC_COE_FAILED = ...
src/applications/lgy/coe/shared/actions/index.js
import { apiRequest } from 'platform/utilities/api'; import { COE_ELIGIBILITY_STATUS } from '../constants'; export const GENERATE_AUTOMATIC_COE_STARTED = 'GENERATE_AUTOMATIC_COE_STARTED'; export const GENERATE_AUTOMATIC_COE_SUCCEEDED = 'GENERATE_AUTOMATIC_COE_SUCCEEDED'; export const GENERATE_AUTOMATIC_COE_FAILED = ...
Fixes issue with COE download url not working (#21868)
src/applications/lgy/coe/shared/actions/index.js
Fixes issue with COE download url not working (#21868)
<ide><path>rc/applications/lgy/coe/shared/actions/index.js <ide> status === COE_ELIGIBILITY_STATUS.eligible <ide> ) { <ide> const res = await getCoeURL(); <del> if (res.errors.length) { <add> if (res.errors?.length) { <ide> dispatch({ type: GET_COE_URL_FAILED, response: res...
Java
apache-2.0
046b2f8e4bdc682c285d6852ebe4495201ae01ab
0
akosyakov/intellij-community,caot/intellij-community,hurricup/intellij-community,MichaelNedzelsky/intellij-community,caot/intellij-community,vvv1559/intellij-community,idea4bsd/idea4bsd,Distrotech/intellij-community,ftomassetti/intellij-community,Lekanich/intellij-community,Lekanich/intellij-community,amith01994/intell...
/* * Created by IntelliJ IDEA. * User: max * Date: Mar 24, 2002 * Time: 6:08:14 PM * To change template for new class use * Code Style | Class Templates options (Tools | IDE Options). */ package com.intellij.codeInspection.redundantCast; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi...
inspections/impl/com/intellij/codeInspection/redundantCast/RedundantCastUtil.java
/* * Created by IntelliJ IDEA. * User: max * Date: Mar 24, 2002 * Time: 6:08:14 PM * To change template for new class use * Code Style | Class Templates options (Tools | IDE Options). */ package com.intellij.codeInspection.redundantCast; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi...
IDEADEV-15170
inspections/impl/com/intellij/codeInspection/redundantCast/RedundantCastUtil.java
IDEADEV-15170
<ide><path>nspections/impl/com/intellij/codeInspection/redundantCast/RedundantCastUtil.java <ide> } <ide> else if ( <ide> newTargetMethod.getSignature(newResult.getSubstitutor()).equals(targetMethod.getSignature(resolveResult.getSubstitutor())) && <del> !(newTargetMethod.isDep...
Java
lgpl-2.1
8c1690ad6122d1683d0e6578dae076c2d2d5add1
0
benb/beast-mcmc,benb/beast-mcmc,benb/beast-mcmc,benb/beast-mcmc,benb/beast-mcmc
/* * TreeMetricStatistic.java * * Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modi...
src/dr/evomodel/tree/TreeMetricStatistic.java
/* * TreeMetricStatistic.java * * Copyright (C) 2002-2006 Alexei Drummond and Andrew Rambaut * * This file is part of BEAST. * See the NOTICE file distributed with this work for additional * information regarding copyright ownership and licensing. * * BEAST is free software; you can redistribute it and/or modi...
Allow any tree in target, not just tree models
src/dr/evomodel/tree/TreeMetricStatistic.java
Allow any tree in target, not just tree models
<ide><path>rc/dr/evomodel/tree/TreeMetricStatistic.java <ide> <ide> /** <ide> * A statistic that returns the distance between two trees. <del> * <del> * Currently supports the following metrics, <del> * 1. compare - returns a 0 for identity of topology, 1 otherwise. <del> * 2. Billera tree distance. <del> * 3. RO...
Java
apache-2.0
f72561320e6d16656443d1746f97b9f3f3b038e3
0
bmitc/vaadin,asashour/framework,carrchang/vaadin,bmitc/vaadin,udayinfy/vaadin,Legioth/vaadin,sitexa/vaadin,magi42/vaadin,sitexa/vaadin,cbmeeks/vaadin,asashour/framework,cbmeeks/vaadin,asashour/framework,Darsstar/framework,mstahv/framework,travisfw/vaadin,peterl1084/framework,jdahlstrom/vaadin.react,Darsstar/framework,m...
/* @ITMillApache2LicenseForJavaFiles@ */ package com.vaadin.terminal.gwt.client.ui; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Set; import com.google.gwt....
src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java
/* @ITMillApache2LicenseForJavaFiles@ */ package com.vaadin.terminal.gwt.client.ui; import java.util.ArrayList; import java.util.Collection; import java.util.HashMap; import java.util.HashSet; import java.util.Iterator; import java.util.LinkedList; import java.util.List; import java.util.Set; import com.google.gwt....
Code cleanup. svn changeset:19990/svn branch:6.6
src/com/vaadin/terminal/gwt/client/ui/VScrollTable.java
Code cleanup.
<ide><path>rc/com/vaadin/terminal/gwt/client/ui/VScrollTable.java <ide> <ide> public void setHorizontalScrollPosition(int scrollLeft) { <ide> if (BrowserInfo.get().isIE6()) { <del> hTableWrapper.getStyle().setProperty("position", "relative"); <del> hTableWrapper.getSty...
JavaScript
bsd-3-clause
c97f002a878c7d480f2294fe16bb0261e49a33fc
0
splashblot/cartodb.js,splashblot/cartodb.js,splashblot/cartodb.js,splashblot/cartodb.js
var Backbone = require('backbone'); var Model = require('../../../src/core/model'); var VisModel = require('../../../src/vis/vis'); var RangeFilter = require('../../../src/windshaft/filters/range'); var HistogramDataviewModel = require('../../../src/dataviews/histogram-dataview-model'); describe('dataviews/histogram-d...
test/spec/dataviews/histogram-dataview-model.spec.js
var Backbone = require('backbone'); var Model = require('../../../src/core/model'); var VisModel = require('../../../src/vis/vis'); var RangeFilter = require('../../../src/windshaft/filters/range'); var HistogramDataviewModel = require('../../../src/dataviews/histogram-dataview-model'); describe('dataviews/histogram-d...
Remove spec of private functions
test/spec/dataviews/histogram-dataview-model.spec.js
Remove spec of private functions
<ide><path>est/spec/dataviews/histogram-dataview-model.spec.js <ide> expect(JSON.stringify(parsedData)).toBe('[{"bin":0,"start":55611,"end":70101.25,"freq":2,"max":70151,"min":55611},{"bin":1,"start":70101.25,"end":84591.5,"freq":2,"max":79017,"min":78448},{"bin":2,"start":84591.5,"end":99081.75,"freq":0},{"bin":3,...
JavaScript
mit
7ed7f8d650604b927cbbb5390840b3e1fa93d7d2
0
wasi0013/wasi0013.github.io,wasi0013/wasi0013.github.io
var x var y var dx var dy var c var width=300 var height=300 var paddlex,paddleh = 10,paddlew = 75 var rightDown = false,leftDown = false var canvasMinX, canvasMaxX var intervalId var bricks var rows = 5 var columns = 5 var brickwidth var brickheight = 15 var padding = 1 var ballr = 10 var rowcolors = ["#FF1C0A", "...
Brick/js/brick.js
var x var y var dx var dy var c var width=300 var height=300 var paddlex,paddleh = 10,paddlew = 75 var rightDown = false,leftDown = false var canvasMinX, canvasMaxX var intervalId var bricks var rows = 5 var columns = 5 var brickwidth var brickheight = 15 var padding = 1 var ballr = 10 var rowcolors = ["#FF1C0A", "...
Minor fix
Brick/js/brick.js
Minor fix
<ide><path>rick/js/brick.js <ide> <ide> c.fillText("Round clear!",75,150) <ide> c.font="bold 14px 'Century Gothic', Arial" <del> <add> drawScore() <ide> alert("Get ready for next round") <ide> clear() <add> <ide> init() <ide> <ide> } <ide> <ide> if (y + dy - ballRadius < 0) <...
Java
apache-2.0
bee51dbe02e83656037f2183cd5c52f4cba59fd6
0
apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata,apache/airavata
/* * * 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"); y...
modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.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"); y...
Showing a friendly message when the email is not provided
modules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.java
Showing a friendly message when the email is not provided
<ide><path>odules/airavata-helix/helix-spectator/src/main/java/org/apache/airavata/helix/impl/task/submission/config/GroovyMapBuilder.java <ide> } <ide> if (processModel.isEnableEmailNotification()) { <ide> List<String> emailList = processModel.getEmailAddresses(); <add> ...
Java
apache-2.0
0e6ea6edbb2305f564ec67f87d42a1985abc65b6
0
AVnetWS/Hentoid,AVnetWS/Hentoid,AVnetWS/Hentoid
package me.devsaki.hentoid.database.domains; import androidx.annotation.NonNull; import java.io.DataInputStream; import java.io.IOException; import javax.annotation.Nonnull; import io.objectbox.annotation.Backlink; import io.objectbox.annotation.Convert; import io.objectbox.annotation.Entity; import io.objectbox.an...
app/src/main/java/me/devsaki/hentoid/database/domains/Attribute.java
package me.devsaki.hentoid.database.domains; import androidx.annotation.NonNull; import java.io.DataInputStream; import java.io.IOException; import javax.annotation.Nonnull; import io.objectbox.annotation.Backlink; import io.objectbox.annotation.Convert; import io.objectbox.annotation.Entity; import io.objectbox.an...
Make Sonar happy
app/src/main/java/me/devsaki/hentoid/database/domains/Attribute.java
Make Sonar happy
<ide><path>pp/src/main/java/me/devsaki/hentoid/database/domains/Attribute.java <ide> return type; <ide> } <ide> <del> public Attribute setExcluded(boolean toExclude){ <add> public Attribute setExcluded(boolean toExclude) { <ide> excluded = toExclude; <ide> return this; <ide> } <de...
Java
mit
68b9844637e525ffd41f8a7075d321f923051afa
0
anagav/TinkerRocks
package com.tinkerrocks.structure; import org.apache.tinkerpop.gremlin.structure.*; import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; import java.util.*; /** * Created by ashishn on 8/5/15. */ public class RocksVertex extends RocksElement implements Vertex { public RocksVertex(byte[] id, Stri...
src/main/java/com/tinkerrocks/structure/RocksVertex.java
package com.tinkerrocks.structure; import org.apache.tinkerpop.gremlin.structure.*; import org.apache.tinkerpop.gremlin.structure.util.ElementHelper; import java.util.*; /** * Created by ashishn on 8/5/15. */ public class RocksVertex extends RocksElement implements Vertex { public RocksVertex(byte[] id, Stri...
optimizations
src/main/java/com/tinkerrocks/structure/RocksVertex.java
optimizations
<ide><path>rc/main/java/com/tinkerrocks/structure/RocksVertex.java <ide> @SuppressWarnings("unchecked") <ide> @Override <ide> public <V> Iterator<VertexProperty<V>> properties(String... propertyKeys) { <del> List<byte[]> propKeys = new ArrayList<>(); <add> List<byte[]> propKeys = new ArrayList...
Java
apache-2.0
d568d34b2411c021453f418b8650b711e7efe4f1
0
michaelmaguire/twosidedsearch,michaelmaguire/twosidedsearch,michaelmaguire/twosidedsearch,michaelmaguire/twosidedsearch,michaelmaguire/twosidedsearch,michaelmaguire/twosidedsearch,michaelmaguire/twosidedsearch,michaelmaguire/twosidedsearch
package com.speedycrew.client.sql; import java.util.List; import java.util.Vector; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.content.ContentProvider; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; imp...
client/android/main/src/com/speedycrew/client/sql/SyncedContentProvider.java
package com.speedycrew.client.sql; import java.util.List; import java.util.Vector; import org.json.JSONArray; import org.json.JSONException; import org.json.JSONObject; import android.content.ContentProvider; import android.content.ContentValues; import android.content.UriMatcher; import android.database.Cursor; imp...
Add an extra little bit of logging about sql execution
client/android/main/src/com/speedycrew/client/sql/SyncedContentProvider.java
Add an extra little bit of logging about sql execution
<ide><path>lient/android/main/src/com/speedycrew/client/sql/SyncedContentProvider.java <ide> if (sqlArray != null) { <ide> SQLiteDatabase db = mSyncedSQLiteOpenHelper.getWritableDatabase(); <ide> String sqlStatement = null; <add> int i = 0; <ide> try { <ide> db.beginTransaction(); <ide> <i...
Java
apache-2.0
6e23f7ece029fb1c38f4d97cd67323b373f1af5d
0
oriontribunal/CoffeeMud,sfunk1x/CoffeeMud,Tycheo/coffeemud,MaxRau/CoffeeMud,bozimmerman/CoffeeMud,MaxRau/CoffeeMud,oriontribunal/CoffeeMud,Tycheo/coffeemud,bozimmerman/CoffeeMud,Tycheo/coffeemud,bozimmerman/CoffeeMud,Tycheo/coffeemud,sfunk1x/CoffeeMud,MaxRau/CoffeeMud,oriontribunal/CoffeeMud,bozimmerman/CoffeeMud,sfunk...
package com.planet_ink.coffee_mud.core.smtp; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.pl...
com/planet_ink/coffee_mud/core/smtp/ProcessSMTPrequest.java
package com.planet_ink.coffee_mud.core.smtp; import com.planet_ink.coffee_mud.core.interfaces.*; import com.planet_ink.coffee_mud.core.*; import com.planet_ink.coffee_mud.core.collections.*; import com.planet_ink.coffee_mud.Abilities.interfaces.*; import com.planet_ink.coffee_mud.Areas.interfaces.*; import com.pl...
git-svn-id: svn://192.168.1.10/public/CoffeeMud@10377 0d6f1817-ed0e-0410-87c9-987e46238f29
com/planet_ink/coffee_mud/core/smtp/ProcessSMTPrequest.java
<ide><path>om/planet_ink/coffee_mud/core/smtp/ProcessSMTPrequest.java <ide> input.setLength(0); <ide> continue; <ide> } <del> input.append(c); <add> if(c!=65535) <add> input.append(c); <ide> if(input.length()>server.getMaxMsgSize()) <ide> { <ide> if(debug)
Java
apache-2.0
bb99a30868df74c20508c9e83401f63e1e94bcd5
0
swift-lang/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,swift-lang/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,ya7lelkom/swift-k,swift-lang/swift-k,swift-lang/swift-k,swift-lang/swift-k,ya7le...
//---------------------------------------------------------------------- //This code is developed as part of the Java CoG Kit project //The terms of the license can be found at http://www.cogkit.org/license //This message may not be removed or altered. //-----------------------------------------------------------------...
src/cog/modules/provider-coaster/src/org/globus/cog/abstraction/coaster/service/job/manager/WorkerManager.java
//---------------------------------------------------------------------- //This code is developed as part of the Java CoG Kit project //The terms of the license can be found at http://www.cogkit.org/license //This message may not be removed or altered. //-----------------------------------------------------------------...
avoid concurrent modification exceptions git-svn-id: 093fa4c7fa7b11ddcea9103fc581483144c30c11@2381 5b74d2a0-fa0e-0410-85ed-ffba77ec0bde
src/cog/modules/provider-coaster/src/org/globus/cog/abstraction/coaster/service/job/manager/WorkerManager.java
avoid concurrent modification exceptions
<ide><path>rc/cog/modules/provider-coaster/src/org/globus/cog/abstraction/coaster/service/job/manager/WorkerManager.java <ide> synchronized (this) { <ide> Iterator i; <ide> List callbacks = new ArrayList(); <del> i = ready.values().iterator(); <add> ...
Java
apache-2.0
ca27e22cce53858599e6165d214768d5bd16b626
0
lefou/AsciidocFX,asciidocfx/AsciidocFX,lefou/AsciidocFX,LightGuard/AsciidocFX,jaredmorgs/AsciidocFX,asciidocfx/AsciidocFX,jaredmorgs/AsciidocFX,asciidocfx/AsciidocFX,asciidocfx/AsciidocFX,gastaldi/AsciidocFX,gastaldi/AsciidocFX,jaredmorgs/AsciidocFX,LightGuard/AsciidocFX,LightGuard/AsciidocFX,gastaldi/AsciidocFX
package com.kodcu.controller; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.install4j.api.launcher.ApplicationLauncher; import com.kodcu.bean.Config; import com.kodcu.bean.RecentFiles; import com.kodcu.component.*; import com.kodcu.logging.MyLog; ...
src/main/java/com/kodcu/controller/ApplicationController.java
package com.kodcu.controller; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.ObjectMapper; import com.install4j.api.launcher.ApplicationLauncher; import com.kodcu.bean.Config; import com.kodcu.bean.RecentFiles; import com.kodcu.component.*; import com.kodcu.logging.MyLog; ...
- Dont log error when checking new version
src/main/java/com/kodcu/controller/ApplicationController.java
- Dont log error when checking new version
<ide><path>rc/main/java/com/kodcu/controller/ApplicationController.java <ide> } <ide> ); <ide> } catch (IOException e) { <del> logger.error("Problem occured while checking new version", e); <add> // logger.error("Problem occured while checking new version", e...
JavaScript
apache-2.0
aa90e9591ade9eb1f8edffedce2ce0f8d1a29b97
0
matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk,matrix-org/matrix-react-sdk
/* Copyright 2018 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
src/resizer/distributors/roomsublist.js
/* Copyright 2018 New Vector Ltd Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software ...
fix min & max size for empty sublists
src/resizer/distributors/roomsublist.js
fix min & max size for empty sublists
<ide><path>rc/resizer/distributors/roomsublist.js <ide> } <ide> <ide> maxSize() { <add> const header = this.domNode.querySelector(".mx_RoomSubList_labelContainer"); <ide> const scrollItem = this.domNode.querySelector(".mx_RoomSubList_scroll"); <del> const header = this.domNode.querySelect...
Java
epl-1.0
400d97a8d77155c8955474ee18ad1821637f96ab
0
R-Brain/codenvy,codenvy/codenvy,R-Brain/codenvy,R-Brain/codenvy,codenvy/codenvy,codenvy/codenvy,codenvy/codenvy,codenvy/codenvy,R-Brain/codenvy,R-Brain/codenvy,R-Brain/codenvy,codenvy/codenvy
/******************************************************************************* * Copyright (c) 2012-2014 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
command/src/main/java/com/codenvy/cli/command/builtin/CreateProjectCommand.java
/******************************************************************************* * Copyright (c) 2012-2014 Codenvy, S.A. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available ...
DSKCLI-303 Use of the new syntax for create project. Now it assumes that configuration for the project is done through the factory 2.0 config file
command/src/main/java/com/codenvy/cli/command/builtin/CreateProjectCommand.java
DSKCLI-303 Use of the new syntax for create project. Now it assumes that configuration for the project is done through the factory 2.0 config file
<ide><path>ommand/src/main/java/com/codenvy/cli/command/builtin/CreateProjectCommand.java <ide> import org.apache.karaf.shell.commands.Argument; <ide> import org.apache.karaf.shell.commands.Command; <ide> import org.apache.karaf.shell.commands.Option; <del>import org.fusesource.jansi.Ansi; <del> <del>import static org....
Java
apache-2.0
2c3476de997309346d77d69ff90740ffeac14878
0
mohanaraosv/commons-jcs,apache/commons-jcs,apache/commons-jcs,apache/commons-jcs,mohanaraosv/commons-jcs,mohanaraosv/commons-jcs
package org.apache.jcs.engine.memory.shrinking; /* * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
src/java/org/apache/jcs/engine/memory/shrinking/ShrinkerThread.java
package org.apache.jcs.engine.memory.shrinking; /* * The Apache Software License, Version 1.1 * * Copyright (c) 2001 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions...
Changed order. Avoid spooling if expired. git-svn-id: fb05bfbd7e12d1dc22225677a916a89c73eee8a2@223942 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/jcs/engine/memory/shrinking/ShrinkerThread.java
Changed order. Avoid spooling if expired.
<ide><path>rc/java/org/apache/jcs/engine/memory/shrinking/ShrinkerThread.java <ide> if ( ce != null ) <ide> { <ide> <add> boolean ok = true; <add> <ide> long now = System.currentTimeMillis(); <ide> <ide> if ( log.isDebugEnabled...
Java
apache-2.0
9c631796b0a4be48b36e34ce14e4262a659a0ea3
0
gouessej/libgdx,jberberick/libgdx,kotcrab/libgdx,tommycli/libgdx,sjosegarcia/libgdx,snovak/libgdx,fwolff/libgdx,del-sol/libgdx,copystudy/libgdx,309746069/libgdx,MikkelTAndersen/libgdx,Deftwun/libgdx,Zonglin-Li6565/libgdx,GreenLightning/libgdx,stinsonga/libgdx,FredGithub/libgdx,Deftwun/libgdx,copystudy/libgdx,GreenLight...
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
gdx/src/com/badlogic/gdx/utils/PooledLinkedList.java
/******************************************************************************* * Copyright 2011 See AUTHORS file. * * 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:...
Added reverse iteration from tail of PooledLinkedList
gdx/src/com/badlogic/gdx/utils/PooledLinkedList.java
Added reverse iteration from tail of PooledLinkedList
<ide><path>dx/src/com/badlogic/gdx/utils/PooledLinkedList.java <ide> size++; <ide> } <ide> <del> /** Starts iterating over the lists items */ <add> /** Starts iterating over the list's items from the head of the list */ <ide> public void iter () { <ide> iter = head; <add> } <add> <add> /** Starts iterating over...
Java
apache-2.0
cf9dd1f3a3df09c4abb3f7b8cbbdde6e000a8df3
0
HKMOpen/android-DecoView-charting,Juneor/android-DecoView-charting,honeyflyfish/android-DecoView-charting,tieusangaka/android-DecoView-charting,SilverFoxA/android-DecoView-charting,letanloc/android-DecoView-charting,tsdl2013/android-DecoView-charting,WeRockStar/android-DecoView-charting,hzw1199/android-DecoView-chartin...
/* * Copyright (C) 2015 Brent Marriott * * 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 ag...
decoviewlib/src/main/java/com/hookedonplay/decoviewlib/events/DecoEventManager.java
/* * Copyright (C) 2015 Brent Marriott * * 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 ag...
Update javadoc
decoviewlib/src/main/java/com/hookedonplay/decoviewlib/events/DecoEventManager.java
Update javadoc
<ide><path>ecoviewlib/src/main/java/com/hookedonplay/decoviewlib/events/DecoEventManager.java <ide> <ide> import com.hookedonplay.decoviewlib.charts.DecoDrawEffect; <ide> <add>/** <add> * Event manager for processing {@link DecoEvent} at the scheduled time (or immediately if no <add> * delay is set). This class is al...
JavaScript
mit
4b981cd69989eb543beb5083c06e86c784c2c651
0
quri/raml2html
#!/usr/bin/env node var raml = require('raml-parser'); var handlebars = require('handlebars'); var fs = require('fs'); var util = require('util'); var template = require('./template.handlebars'); var resourceTemplate = require('./resource.handlebars'); function parseBaseUri(ramlObj) { // I have no clue what kind ...
lib/raml2html.js
#!/usr/bin/env node var raml = require('raml-parser'); var handlebars = require('handlebars'); var fs = require('fs'); var util = require('util'); var template = require('./template.handlebars'); var resourceTemplate = require('./resource.handlebars'); function parseBaseUri(ramlObj) { // I have no clue what kind ...
Add parseAndReturn (more generic)
lib/raml2html.js
Add parseAndReturn (more generic)
<ide><path>ib/raml2html.js <ide> } <ide> <ide> function parseWithStream(source, stream, callback) { <add> parseAndReturn(source, function(html) { <add> stream.write(html); <add> callback(stream); <add> }); <add>} <add> <add>function parseAndReturn(source, callback) { <ide> raml.loadFile(source).then(function...
JavaScript
mit
96d25e39ac57e683248ec3d4daa5a8e5bc3352f6
0
gayancliyanage/handsontable,toresenneseth/handsontable,fjvalencian/handsontable,IntexSoft/handsontable,billdc/handsontable,Cropster/handsontable,IntexSoft/handsontable,MultivitaminLLC/handsontable,TGOlson/handsontable,Arteaga2k/handsontable,peerlibrary/handsontable,fashionsun/handsontable,RobertoMalatesta/handsontable,...
var spec = function () { return jasmine.getEnv().currentSpec; }; var handsontable = function (options) { var currentSpec = spec(); currentSpec.$container.handsontable(options); currentSpec.$container[0].focus(); //otherwise TextEditor tests do not pass in IE8 return currentSpec.$container.data('handsontable'...
test/jasmine/spec/SpecHelper.js
var spec = function () { return jasmine.getEnv().currentSpec; }; var handsontable = function (options) { var currentSpec = spec(); currentSpec.$container.handsontable(options); currentSpec.$container[0].focus(); //otherwise TextEditor tests do not pass in IE8 return currentSpec.$container.data('handsontable'...
mouseDown and mouseUp spec helpers can now handle plain DOM objects
test/jasmine/spec/SpecHelper.js
mouseDown and mouseUp spec helpers can now handle plain DOM objects
<ide><path>est/jasmine/spec/SpecHelper.js <ide> */ <ide> var handsontableMouseTriggerFactory = function (type) { <ide> return function (element) { <add> if(!(element instanceof jQuery)){ <add> element = $(element); <add> } <ide> var ev = $.Event(type); <ide> ev.which = 1; //left mouse button <ide>...
Java
apache-2.0
1c99f12b42b71a0f1b516e8ebab80c9342b0ba69
0
bjagg/uPortal,apetro/uPortal,groybal/uPortal,doodelicious/uPortal,MichaelVose2/uPortal,jhelmer-unicon/uPortal,jameswennmacher/uPortal,chasegawa/uPortal,EsupPortail/esup-uportal,timlevett/uPortal,phillips1021/uPortal,apetro/uPortal,stalele/uPortal,GIP-RECIA/esup-uportal,jameswennmacher/uPortal,jl1955/uPortal5,jl1955/uPo...
/* Copyright 2003 The JA-SIG Collaborative. All rights reserved. * See license distributed with this file and * available online at http://www.uportal.org/license.html */ package org.jasig.portal; import java.io.*; import java.net.*; import java.util.StringTokenizer; import javax.servlet.*; import javax.servlet.h...
uportal-impl/src/main/java/org/jasig/portal/HttpProxyServlet.java
/* Copyright 2003 The JA-SIG Collaborative. All rights reserved. * See license distributed with this file and * available online at http://www.uportal.org/license.html */ package org.jasig.portal; import java.io.*; import java.net.*; import java.util.StringTokenizer; import javax.servlet.*; import javax.servlet.h...
UP-1836 Fix null referrer check git-svn-id: 2f1ee6cafdaf9f6d2a43037ff9da8a267f1ed5b7@14576 f5dbab47-78f9-eb45-b975-e544023573eb
uportal-impl/src/main/java/org/jasig/portal/HttpProxyServlet.java
UP-1836 Fix null referrer check
<ide><path>portal-impl/src/main/java/org/jasig/portal/HttpProxyServlet.java <ide> response.setStatus(404); <ide> return; <ide> } <del> <add> } <add> else /* referer is null so don't return element */{ <add> if (log.isWarnEnabled()) { <add> log.warn("HttpProxyS...
JavaScript
apache-2.0
ed6d19b108d15ca205a55603c65aaa70f49e1118
0
BrianH2/Intercom-Chrome-Extension,BrianH2/Intercom-Chrome-Extension
function concat_collection(obj1, obj2) { var i; var arr = new Array(); var len1 = obj1.length; var len2 = obj2.length; for (i=0; i<len1; i++) { arr.push(obj1[i]); } for (i=0; i<len2; i++) { arr.push(obj2[i]); } return arr; } var password = ""; var username = ""; var...
scripts/check_emails.js
function concat_collection(obj1, obj2) { var i; var arr = new Array(); var len1 = obj1.length; var len2 = obj2.length; for (i=0; i<len1; i++) { arr.push(obj1[i]); } for (i=0; i<len2; i++) { arr.push(obj2[i]); } return arr; } var password = ""; var username = ""; var...
Fixed message error again!
scripts/check_emails.js
Fixed message error again!
<ide><path>cripts/check_emails.js <ide> allEmailsOnPage = concat_collection(allEmailsOnPage,allOtherEmailsOnPage); <ide> } <ide> // console.log(allEmailsOnPage); <add> var currentDomain = document.location.hostname; <add> currentDomain = currentDomain.replace("www.",""); <ide> if (allEmailsOnPage.length == 0 ) { <...
Java
mit
a9fda4209e2213087c76d78a6329ab9e1ba4a6be
0
hgzojer/picturetrainer
package at.hgz.picturetrainer; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Locale; import org.apa...
src/at/hgz/picturetrainer/DictionaryListActivity.java
package at.hgz.picturetrainer; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Locale; import org.apa...
bugfix translation direction config refresh
src/at/hgz/picturetrainer/DictionaryListActivity.java
bugfix translation direction config refresh
<ide><path>rc/at/hgz/picturetrainer/DictionaryListActivity.java <ide> setContentView(R.layout.activity_dictionary_list); <ide> <ide> loadConfig(); <add> loadDirectionSymbol(); <ide> loadDictionaryList(); <ide> <ide> adapter = new DictionaryArrayAdapter(this, R.layout.dictionary_list_item, list); <ide> ...
Java
apache-2.0
f1b01acd767dd8c2dc77a435d9a9737030104df1
0
aika-algorithm/aika,aika-algorithm/aika
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
src/test/java/network/aika/network/NegationTest.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 ...
fixed test case
src/test/java/network/aika/network/NegationTest.java
fixed test case
<ide><path>rc/test/java/network/aika/network/NegationTest.java <ide> <ide> import static network.aika.neuron.activation.Range.Mapping.BEGIN; <ide> import static network.aika.neuron.activation.Range.Mapping.END; <add>import static network.aika.neuron.activation.Range.Operator.GREATER_THAN; <add>import static network.ai...
JavaScript
apache-2.0
9cbe2d25f0552d57ff7c8c8b0b6e3158dc375cfa
0
harish2704/html-scrapper,harish2704/html-scrapper
/*jslint node: true, stupid: true*/ /*global */ var fs = require('fs'); var Cookie = require('tough-cookie'); var async = require('async'); var request = require('request'); var URL = require('url'); var _ = require('lodash'); var headers = { 'User-Argent' :'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,...
lib/Browser.js
/*jslint node: true, stupid: true*/ /*global */ var fs = require('fs'); var Cookie = require('tough-cookie'); var async = require('async'); var request = require('request'); var URL = require('url'); var _ = require('lodash'); var headers = { 'User-Argent' :'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML,...
Fix Docs
lib/Browser.js
Fix Docs
<ide><path>ib/Browser.js <ide> * ``` <ide> * @param {String} opts.proxy - [optional] proxy parameter that will be passed to request module. <ide> * default: null <del> * @param {tough.CookieJar} jar - [optional] Cookie.jar instance used for for the Browser. default ```request.jar()``` <add> * @param {tough.CookieJar...
Java
apache-2.0
319c14237aa883175e75c447e107023e7836a926
0
Aeronica/mxTune
package net.aeronica.libs.mml.core; public class StatePart { private int volume; private boolean volumeArcheAge; private int octave; private int mmlLength; private boolean dotted; private long runningTicks; private boolean tied; StatePart() {this.init();} public void init() { ...
src/main/java/net/aeronica/libs/mml/core/StatePart.java
package net.aeronica.libs.mml.core; public class StatePart { private int volume; private boolean volumeArcheAge; private int octave; private int mmlLength; private boolean dotted; private long runningTicks; private boolean tied; StatePart() {this.init();} public void init() { ...
Splitting hairs
src/main/java/net/aeronica/libs/mml/core/StatePart.java
Splitting hairs
<ide><path>rc/main/java/net/aeronica/libs/mml/core/StatePart.java <ide> if (this.volumeArcheAge) <ide> return volume; <ide> else <del> return getMinMax(0, 127, volume * 128 / 15); <add> return getMinMax(0, 127, volume * 127 / 15); <ide> } <ide> <ide> public voi...
Java
apache-2.0
97b9c9684587f45e552db8e86a00387d927a2874
0
alipay/SoloPi,alipay/SoloPi,alipay/SoloPi
/* * Copyright (C) 2015-present, Ant Financial Services Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
src/shared/src/main/java/com/alipay/hulu/shared/node/tree/export/bean/OperationStep.java
/* * Copyright (C) 2015-present, Ant Financial Services Group * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by a...
新增stepId字段
src/shared/src/main/java/com/alipay/hulu/shared/node/tree/export/bean/OperationStep.java
新增stepId字段
<ide><path>rc/shared/src/main/java/com/alipay/hulu/shared/node/tree/export/bean/OperationStep.java <ide> import android.os.Parcel; <ide> import android.os.Parcelable; <ide> <add>import com.alipay.hulu.common.utils.StringUtil; <ide> import com.alipay.hulu.shared.node.action.OperationMethod; <ide> import com.alipay.hulu...
Java
apache-2.0
8d127338932d800465aace691b2b2f6267879592
0
davidsoergel/stats
/* $Id$ */ /* * Copyright (c) 2001-2007 David Soergel * 418 Richmond St., El Cerrito, CA 94530 * david@davidsoergel.com * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redi...
src/main/java/com/davidsoergel/stats/Multinomial.java
/* $Id$ */ /* * Copyright (c) 2001-2007 David Soergel * 418 Richmond St., El Cerrito, CA 94530 * david@davidsoergel.com * * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * * Redi...
The PST fragmentLogProbability wasn't terminating; fixed
src/main/java/com/davidsoergel/stats/Multinomial.java
The PST fragmentLogProbability wasn't terminating; fixed
<ide><path>rc/main/java/com/davidsoergel/stats/Multinomial.java <ide> import com.davidsoergel.dsutils.MathUtils; <ide> <ide> import java.util.ArrayList; <del>import java.util.HashMap; <ide> import java.util.List; <ide> import java.util.Map; <ide> <ide> <ide> MultinomialDistribution dist = new MultinomialDistributio...
Java
agpl-3.0
18574a1b6ba920595df2ca695d7fe25a4497caf7
0
qcri-social/AIDR,qcri-social/AIDR,qcri-social/AIDR,qcri-social/Crisis-Computing,qcri-social/Crisis-Computing,qcri-social/Crisis-Computing,qcri-social/Crisis-Computing,qcri-social/AIDR
package qa.qcri.aidr.manager.repository.impl; import java.io.Serializable; import java.math.BigInteger; import java.net.URLDecoder; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.List; import org.apache.log4j.Logger; //impor...
aidr-manager/src/main/java/qa/qcri/aidr/manager/repository/impl/CollectionRepositoryImpl.java
package qa.qcri.aidr.manager.repository.impl; import java.io.Serializable; import java.math.BigInteger; import java.net.URLDecoder; import java.sql.Timestamp; import java.util.ArrayList; import java.util.Calendar; import java.util.Collections; import java.util.List; import org.apache.log4j.Logger; //impor...
Fixed My Collection Page ordering
aidr-manager/src/main/java/qa/qcri/aidr/manager/repository/impl/CollectionRepositoryImpl.java
Fixed My Collection Page ordering
<ide><path>idr-manager/src/main/java/qa/qcri/aidr/manager/repository/impl/CollectionRepositoryImpl.java <ide> " LEFT OUTER JOIN collection_collaborator c_m " + <ide> " ON c.id = c_m.collection_id " + <ide> " WHERE ((c.owner_id =:userId OR c_m.account_id = :userId) AND c.status " + conditionTrashed + "...
Java
apache-2.0
18f489fc4e2cff1b5fe31722f0ef48a95bba0148
0
psoreide/bnd,psoreide/bnd,mcculls/bnd,mcculls/bnd,psoreide/bnd,mcculls/bnd
package aQute.bnd.build; import static java.util.stream.Collectors.toList; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.ref.WeakReference; import java.net.URI; import java.net.URL; import java.net.URLClassLoader; import java.nio.file.FileVi...
biz.aQute.bndlib/src/aQute/bnd/build/Workspace.java
package aQute.bnd.build; import static java.util.stream.Collectors.toList; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.lang.ref.WeakReference; import java.net.URI; import java.net.URL; import java.net.URLClassLoader; import java.nio.file.FileVi...
workspace: Use LinkedHashSet to generate workspace build order. This models the desired characteristics and may give better perf on large workspaces. Signed-off-by: BJ Hargrave <3d26bb3930946e3370762d769a073cece444c2d8@bjhargrave.com>
biz.aQute.bndlib/src/aQute/bnd/build/Workspace.java
workspace: Use LinkedHashSet to generate workspace build order.
<ide><path>iz.aQute.bndlib/src/aQute/bnd/build/Workspace.java <ide> import java.util.Formatter; <ide> import java.util.HashMap; <ide> import java.util.Iterator; <add>import java.util.LinkedHashSet; <ide> import java.util.List; <ide> import java.util.Locale; <ide> import java.util.Map; <ide> } <ide> <ide> public Coll...
Java
apache-2.0
3efe0ce533546a949df3f795999ff7b081c309e4
0
ST-DDT/CrazyLogin,ST-DDT/CrazyLogin
src/de/st_ddt/crazylogin/crypt/CustomEncryptor.java
package de.st_ddt.crazylogin.crypt; import java.io.UnsupportedEncodingException; import java.security.NoSuchAlgorithmException; public abstract class CustomEncryptor implements Encryptor { //You have to use the default constructor (without parameters) //If you access the config, please use "customEncrypt...
CrazyLogin: moved custom encryptor to API
src/de/st_ddt/crazylogin/crypt/CustomEncryptor.java
CrazyLogin: moved custom encryptor to API
<ide><path>rc/de/st_ddt/crazylogin/crypt/CustomEncryptor.java <del>package de.st_ddt.crazylogin.crypt; <del> <del>import java.io.UnsupportedEncodingException; <del>import java.security.NoSuchAlgorithmException; <del> <del>public abstract class CustomEncryptor implements Encryptor <del>{ <del> <del> //You have to use t...
Java
apache-2.0
5cd99b8c4d38034250ad94a49c5e0b65e9f5d914
0
leonardoxh/Masks
/* * Copyright 2014 Leonardo Rossetto * * 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...
library/library/src/main/java/com/github/leonardoxh/masks/InputMask.java
/* * Copyright 2014 Leonardo Rossetto * * 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...
Speed up
library/library/src/main/java/com/github/leonardoxh/masks/InputMask.java
Speed up
<ide><path>ibrary/library/src/main/java/com/github/leonardoxh/masks/InputMask.java <ide> private final EditText mEditText; <ide> private final String mMask; <ide> <add> public static final String CPF_MASK = "###.###.###-##"; <add> public static final String CNPJ_MASK = "##.###.###/####-##"; <add> publ...
Java
apache-2.0
c9e1bf33aaff20b4698f926b0a11589167beab65
0
salikjan/camel,pax95/camel,tdiesler/camel,onders86/camel,christophd/camel,gilfernandes/camel,nboukhed/camel,anton-k11/camel,cunningt/camel,tlehoux/camel,ullgren/camel,zregvart/camel,curso007/camel,w4tson/camel,driseley/camel,drsquidop/camel,anton-k11/camel,davidkarlsen/camel,pkletsko/camel,jamesnetherton/camel,driseley...
/** * 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...
components/camel-ignite/src/main/java/org/apache/camel/component/ignite/messaging/IgniteMessagingEndpoint.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...
CAMEL-10637: Throw IllegalStateException with a correct exception message
components/camel-ignite/src/main/java/org/apache/camel/component/ignite/messaging/IgniteMessagingEndpoint.java
CAMEL-10637: Throw IllegalStateException with a correct exception message
<ide><path>omponents/camel-ignite/src/main/java/org/apache/camel/component/ignite/messaging/IgniteMessagingEndpoint.java <ide> public Consumer createConsumer(Processor processor) throws Exception { <ide> // Validate options. <ide> if (topic == null) { <del> new IllegalStateException("Cann...
Java
lgpl-2.1
8ef216ab0c7dc49cf831eb929a0a99542aa0f264
0
jfree/jfreechart-fse,oskopek/jfreechart-fse,oskopek/jfreechart-fse,jfree/jfreechart-fse
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2014, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
src/main/java/org/jfree/chart/plot/SpiderWebPlot.java
/* =========================================================== * JFreeChart : a free chart library for the Java(tm) platform * =========================================================== * * (C) Copyright 2000-2014, by Object Refinery Limited and Contributors. * * Project Info: http://www.jfree.org/jfreech...
Default outline paint is gone.
src/main/java/org/jfree/chart/plot/SpiderWebPlot.java
Default outline paint is gone.
<ide><path>rc/main/java/org/jfree/chart/plot/SpiderWebPlot.java <ide> this.baseSeriesPaint = null; <ide> <ide> this.seriesOutlinePaintMap = new HashMap<Integer, Paint>(); <del> this.baseSeriesOutlinePaint = DEFAULT_OUTLINE_PAINT; <add> this.baseSeriesOutlinePaint = Color.GRAY; <ide> <ide...
Java
apache-2.0
cc17025efabda3f47f21e0a144b38e87bee4ace1
0
robovm/robovm-studio,wreckJ/intellij-community,lucafavatella/intellij-community,jagguli/intellij-community,caot/intellij-community,muntasirsyed/intellij-community,hurricup/intellij-community,ahb0327/intellij-community,FHannes/intellij-community,izonder/intellij-community,asedunov/intellij-community,ThiagoGarciaAlves/in...
package com.intellij.ide.favoritesTreeView; import com.intellij.history.LocalHistory; import com.intellij.history.LocalHistoryAction; import com.intellij.ide.CopyPasteManagerEx; import com.intellij.ide.DeleteProvider; import com.intellij.ide.IdeBundle; import com.intellij.ide.IdeView; import com.intellij.ide.dnd.aware...
source/com/intellij/ide/favoritesTreeView/FavoritesTreeViewPanel.java
package com.intellij.ide.favoritesTreeView; import com.intellij.history.LocalHistory; import com.intellij.history.LocalHistoryAction; import com.intellij.ide.*; import com.intellij.ide.dnd.aware.DnDAwareTree; import com.intellij.ide.projectView.impl.ModuleGroup; import com.intellij.ide.projectView.impl.nodes.LibraryGr...
disable useless navigation (IDEADEV-22418)
source/com/intellij/ide/favoritesTreeView/FavoritesTreeViewPanel.java
disable useless navigation (IDEADEV-22418)
<ide><path>ource/com/intellij/ide/favoritesTreeView/FavoritesTreeViewPanel.java <ide> <ide> import com.intellij.history.LocalHistory; <ide> import com.intellij.history.LocalHistoryAction; <del>import com.intellij.ide.*; <add>import com.intellij.ide.CopyPasteManagerEx; <add>import com.intellij.ide.DeleteProvider; <add>...
Java
agpl-3.0
9575006398d549dfc694a555456b476717c035f1
0
rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat,rroart/stockstat
package roart.iclij.component; import java.text.ParseException; import java.time.LocalDate; import java.time.Period; import java.time.temporal.ChronoUnit; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; ...
iclij/iclij-common/iclij-component/src/main/java/roart/iclij/component/SimulateInvestComponent.java
package roart.iclij.component; import java.text.ParseException; import java.time.LocalDate; import java.time.Period; import java.time.temporal.ChronoUnit; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Comparator; import java.util.HashMap; import java.util.HashSet; ...
Fix for date limit for simulate invest action (I220).
iclij/iclij-common/iclij-component/src/main/java/roart/iclij/component/SimulateInvestComponent.java
Fix for date limit for simulate invest action (I220).
<ide><path>clij/iclij-common/iclij-component/src/main/java/roart/iclij/component/SimulateInvestComponent.java <ide> int endIndexOffset = 0; <ide> if (investEnd != null) { <ide> String investEndStr = TimeUtil.convertDate2(investEnd); <del> endIndexOffset = data.stockDates.size() - ...
JavaScript
mpl-2.0
7da0ad6fcb4c90ea256d2683e141fbd6dea0d85f
0
mozilla/elmo,mozilla/elmo,mozilla/elmo,mozilla/elmo
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ $.aH = $.aH || {}; $.widget( 'aH.datetime', { options: { date: undefined, ...
apps/pushes/static/pushes/js/widgets.js
/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ $.aH = $.aH || {}; $.widget('aH.spinner', $.ui.mouse, { options: { alpha: 120, n: 5, v...
simplify datetime picker
apps/pushes/static/pushes/js/widgets.js
simplify datetime picker
<ide><path>pps/pushes/static/pushes/js/widgets.js <ide> * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ <ide> <ide> $.aH = $.aH || {}; <del>$.widget('aH.spinner', $.ui.mouse, { <del> options: { <del> alpha: 120, <del> n: 5, <del> value: 0, <del> width: 150, <del> fl...
Java
agpl-3.0
a93d25fe92dbe2165056a8f9ddc11cb5bdaf4727
0
SilverTeamWork/Silverpeas-Core,NicolasEYSSERIC/Silverpeas-Core,mmoqui/Silverpeas-Core,auroreallibe/Silverpeas-Core,Silverpeas/Silverpeas-Core,Silverpeas/Silverpeas-Core,CecileBONIN/Silverpeas-Core,Silverpeas/Silverpeas-Core,SilverDav/Silverpeas-Core,CecileBONIN/Silverpeas-Core,mmoqui/Silverpeas-Core,CecileBONIN/Silverp...
/** * Copyright (C) 2000 - 2009 Silverpeas * * 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 option) any later version. * * As a spe...
ejb-core/formtemplate/src/main/java/com/silverpeas/form/fieldDisplayer/FileFieldDisplayer.java
/** * Copyright (C) 2000 - 2009 Silverpeas * * 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 option) any later version. * * As a spe...
fixing bug #1685 In fact, a Javascript error occurred and blocked form submission
ejb-core/formtemplate/src/main/java/com/silverpeas/form/fieldDisplayer/FileFieldDisplayer.java
fixing bug #1685 In fact, a Javascript error occurred and blocked form submission
<ide><path>jb-core/formtemplate/src/main/java/com/silverpeas/form/fieldDisplayer/FileFieldDisplayer.java <ide> if (template.isMandatory() && PagesContext.useMandatory()) { <ide> out.println(" if (isWhitespace(stripInitialWhitespace(field.value))) {"); <ide> out.println(" var " + fieldName + "Value = ...
Java
apache-2.0
73ae76f52005ac3c0fca2a8fd3a91c7793ed34a5
0
webanno/webanno,webanno/webanno,webanno/webanno,webanno/webanno
/* * Copyright 2012 * Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology * Technische Universität Darmstadt * * 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 * * htt...
webanno-project/src/main/java/de/tudarmstadt/ukp/clarin/webanno/project/ProjectServiceImpl.java
/* * Copyright 2012 * Ubiquitous Knowledge Processing (UKP) Lab and FG Language Technology * Technische Universität Darmstadt * * 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 * * htt...
No issue. Organized and formatted query strings.
webanno-project/src/main/java/de/tudarmstadt/ukp/clarin/webanno/project/ProjectServiceImpl.java
No issue. Organized and formatted query strings.
<ide><path>ebanno-project/src/main/java/de/tudarmstadt/ukp/clarin/webanno/project/ProjectServiceImpl.java <ide> @Transactional <ide> public boolean existsProject(String aName) <ide> { <add> String query = <add> "FROM Project " + <add> "WHERE name = :name"; <ide> ...
Java
apache-2.0
1fbe941e07ed524e05a49dcea86917846d10405b
0
connectbot/connectbot,lotan/connectbot,alescdb/connectbot,jklein24/connectbot,iiordanov/BSSH,kruton/connectbot,alescdb/connectbot,connectbot/connectbot,alescdb/connectbot,connectbot/connectbot,kruton/connectbot,lotan/connectbot,kruton/connectbot,jklein24/connectbot,iiordanov/BSSH,trygveaa/connectbot,iiordanov/BSSH,tryg...
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * 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.a...
app/src/main/java/org/connectbot/HostListActivity.java
/* * ConnectBot: simple, powerful, open-source SSH client for Android * Copyright 2007 Kenny Root, Jeffrey Sharkey * * 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.a...
Fix review comments
app/src/main/java/org/connectbot/HostListActivity.java
Fix review comments
<ide><path>pp/src/main/java/org/connectbot/HostListActivity.java <ide> <ide> disconnectall = menu.add(R.string.list_menu_disconnect); <ide> disconnectall.setIcon(android.R.drawable.ic_menu_delete); <del> final HostListActivity self = this; <ide> disconnectall.setOnMenuItemClickListener(new OnMenuItemClickListen...
Java
unlicense
7ed86315218edd0a29f28d3ec461f82b24837c39
0
SamouraiDev/bech32
package com.samourai.wallet.segwit; import com.google.common.primitives.Bytes; import org.apache.commons.lang3.tuple.Pair; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class SegwitAddressUtil { private static SegwitAddressUtil instance = null; private SegwitAddressUtil...
src/com/samourai/wallet/segwit/SegwitAddressUtil.java
package com.samourai.wallet.segwit; import com.google.common.primitives.Bytes; import org.apache.commons.lang3.tuple.Pair; import java.util.ArrayList; import java.util.Arrays; import java.util.List; public class SegwitAddressUtil { private static SegwitAddressUtil instance = null; private SegwitAddressUtil...
Fixed typo
src/com/samourai/wallet/segwit/SegwitAddressUtil.java
Fixed typo
<ide><path>rc/com/samourai/wallet/segwit/SegwitAddressUtil.java <ide> return Pair.of(witnessVersion, decoded); <ide> } <ide> <del> public String encode(byte[] hrp, byte witnessVerion, byte[] witnessProgram) throws Exception { <add> public String encode(byte[] hrp, byte witnessVersion, byte[] witne...
Java
apache-2.0
481783fecb44cc9d6d7081fadc89155f19ea9ea7
0
mosoft521/wicket,astrapi69/wicket,aldaris/wicket,AlienQueen/wicket,selckin/wicket,astrapi69/wicket,dashorst/wicket,klopfdreh/wicket,bitstorm/wicket,selckin/wicket,apache/wicket,selckin/wicket,apache/wicket,AlienQueen/wicket,selckin/wicket,dashorst/wicket,bitstorm/wicket,aldaris/wicket,apache/wicket,topicusonderwijs/wic...
/* * 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 ...
wicket/src/main/java/org/apache/wicket/request/resource/ResourceReference.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 ...
let ResourceReference.Key implement java.io.Serializable to remove serialization issue + removed javadoc warnings git-svn-id: 5a74b5304d8e7e474561603514f78b697e5d94c4@991674 13f79535-47bb-0310-9956-ffa450edef68
wicket/src/main/java/org/apache/wicket/request/resource/ResourceReference.java
let ResourceReference.Key implement java.io.Serializable to remove serialization issue + removed javadoc warnings
<ide><path>icket/src/main/java/org/apache/wicket/request/resource/ResourceReference.java <ide> * mandatory parameter <ide> * @param name <ide> * mandatory parameter <del> * @param locale <del> * @param style <del> * @param variation <add> * @param locale resource locale <add> * @param s...
JavaScript
mit
3d886cc69ad330ed55488801b8c037567b4ea35c
0
Sosowski/Screeps_Custom,Sosowski/Screeps_Custom
var creep_work5 = { /** @param {Creep} creep **/ run: function(creep) { //wew lad /*if (!creep.room.controller.sign) { if(creep.pos.isNearTo(creep.room.controller)) { creep.signController(creep.room.controller, 'This is, by far, the most kupo room I\'ve ever seen!')...
MainCode/creep.work5.js
var creep_work5 = { /** @param {Creep} creep **/ run: function(creep) { //wew lad /*if (!creep.room.controller.sign) { if(creep.pos.isNearTo(creep.room.controller)) { creep.signController(creep.room.controller, 'This is, by far, the most kupo room I\'ve ever seen!')...
Whoops.
MainCode/creep.work5.js
Whoops.
<ide><path>ainCode/creep.work5.js <ide> if (mineTarget && storageTarget) { <ide> if (storageTarget.structureType == STRUCTURE_LINK) { <ide> if (storageTarget.energy == storageTarget.energyCapacity) { <del> break; <add> return; <ide> } <ide...
Java
apache-2.0
5898a139bb6a56e9c289963e5c4992b781b9c34f
0
LevelFourAB/dust
package se.l4.dust.jaxrs.internal.asset; import java.util.Date; import javax.ws.rs.GET; import javax.ws.rs.HEAD; import javax.ws.rs.HeaderParam; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Response; import com.google.inject.Inject; import com.google.inj...
dust-jaxrs/src/main/java/se/l4/dust/jaxrs/internal/asset/AssetProvider.java
package se.l4.dust.jaxrs.internal.asset; import java.util.Date; import javax.ws.rs.GET; import javax.ws.rs.HEAD; import javax.ws.rs.HeaderParam; import javax.ws.rs.Path; import javax.ws.rs.PathParam; import javax.ws.rs.Produces; import javax.ws.rs.core.Response; import com.google.inject.Inject; import com.google.inj...
fix(assets): Protect against AssetException
dust-jaxrs/src/main/java/se/l4/dust/jaxrs/internal/asset/AssetProvider.java
fix(assets): Protect against AssetException
<ide><path>ust-jaxrs/src/main/java/se/l4/dust/jaxrs/internal/asset/AssetProvider.java <ide> import se.l4.dust.api.Namespace; <ide> import se.l4.dust.api.Namespaces; <ide> import se.l4.dust.api.asset.Asset; <add>import se.l4.dust.api.asset.AssetException; <ide> import se.l4.dust.api.asset.Assets; <ide> import se.l4.dust...
Java
agpl-3.0
1ef5d962ba9473cf631cddbfeed5e578d26515c6
0
hltn/opencps,VietOpenCPS/opencps,VietOpenCPS/opencps,hltn/opencps,VietOpenCPS/opencps,hltn/opencps
/** * OpenCPS is the open source Core Public Services software * Copyright (C) 2016-present OpenCPS community * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the Lice...
portlets/opencps-portlet/docroot/WEB-INF/util-taglib/org/opencps/taglib/accountmgt/DefineObjectsTag.java
/** * OpenCPS is the open source Core Public Services software * Copyright (C) 2016-present OpenCPS community * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the Lice...
Update account bean taglib
portlets/opencps-portlet/docroot/WEB-INF/util-taglib/org/opencps/taglib/accountmgt/DefineObjectsTag.java
Update account bean taglib
<ide><path>ortlets/opencps-portlet/docroot/WEB-INF/util-taglib/org/opencps/taglib/accountmgt/DefineObjectsTag.java <ide> _log <ide> .info(DefineObjectsTag.class <ide> .getName() + <del> ": --------------------------------->>>: AccountBean is null"); <add> ": ##########################: Acc...
Java
apache-2.0
f38ff727ecdd92a7cdcd57bb9b62bb317dc7b3ba
0
mingzuozhibi/mzzb-server,mingzuozhibi/mzzb-server
package com.mingzuozhibi.modules.admin; import com.mingzuozhibi.commons.base.BaseSupport; import com.mingzuozhibi.commons.mylog.JmsBind; import com.mingzuozhibi.commons.mylog.JmsEnums.Name; import com.mingzuozhibi.commons.mylog.JmsEnums.Type; import com.mingzuozhibi.modules.core.MessageRepository; import com.mingzuozh...
src/main/java/com/mingzuozhibi/modules/admin/AdminService.java
package com.mingzuozhibi.modules.admin; import com.mingzuozhibi.commons.base.BaseSupport; import com.mingzuozhibi.commons.mylog.JmsBind; import com.mingzuozhibi.commons.mylog.JmsEnums.Name; import com.mingzuozhibi.commons.mylog.JmsEnums.Type; import com.mingzuozhibi.modules.core.MessageRepository; import com.mingzuozh...
feat: Keep debug log 150 pages
src/main/java/com/mingzuozhibi/modules/admin/AdminService.java
feat: Keep debug log 150 pages
<ide><path>rc/main/java/com/mingzuozhibi/modules/admin/AdminService.java <ide> @Transactional <ide> public void cleanupModulesMessages() { <ide> { <del> int c1 = messageRepository.cleanup(Name.SPIDER_CONTENT, 100, Type.INFO, Type.WARNING); <add> int c1 = messageRepository.cleanup(N...