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
7fd6247db2b7ac6509ca899dc18cb6d23b230e9c
0
karlmortensen/autopsy,raman-bt/autopsy,eXcomm/autopsy,eXcomm/autopsy,wschaeferB/autopsy,raman-bt/autopsy,wschaeferB/autopsy,maxrp/autopsy,mhmdfy/autopsy,esaunders/autopsy,dgrove727/autopsy,rcordovano/autopsy,APriestman/autopsy,rcordovano/autopsy,rcordovano/autopsy,esaunders/autopsy,millmanorama/autopsy,karlmortensen/au...
/* * * Autopsy Forensic Browser * * Copyright 2012 42six Solutions. * Contact: aebadirad <at> 42six <dot> com * Project Contact/Architect: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
Core/src/org/sleuthkit/autopsy/report/ReportPanel.java
/* * * Autopsy Forensic Browser * * Copyright 2012 42six Solutions. * Contact: aebadirad <at> 42six <dot> com * Project Contact/Architect: carrier <at> sleuthkit <dot> org * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. ...
Change exporting reports to copy the source
Core/src/org/sleuthkit/autopsy/report/ReportPanel.java
Change exporting reports to copy the source
<ide><path>ore/src/org/sleuthkit/autopsy/report/ReportPanel.java <ide> import java.awt.GridLayout; <ide> import java.awt.event.ActionEvent; <ide> import java.awt.event.ActionListener; <add>import java.io.File; <add>import java.io.FileInputStream; <add>import java.io.FileOutputStream; <add>import java.io.IOException; <a...
Java
mit
error: pathspec 'src/FrontEnd/PantallaBienvenida.java' did not match any file(s) known to git
61bbc375ff18bb35e5794b7b2c6757467b18d605
1
despin/ProjectoFinalPOO
package FrontEnd; import javax.swing.JPanel; import javax.swing.JProgressBar; import javax.swing.JFrame; import javax.swing.JLabel; import java.awt.Font; import javax.swing.SwingConstants; public class PantallaBienvenida extends JPanel { public PantallaBienvenida(JFrame marco) { setLayout(null); JLabel lblNew...
src/FrontEnd/PantallaBienvenida.java
Pantalla de bienvenida añadido
src/FrontEnd/PantallaBienvenida.java
Pantalla de bienvenida añadido
<ide><path>rc/FrontEnd/PantallaBienvenida.java <add>package FrontEnd; <add> <add>import javax.swing.JPanel; <add>import javax.swing.JProgressBar; <add>import javax.swing.JFrame; <add>import javax.swing.JLabel; <add>import java.awt.Font; <add>import javax.swing.SwingConstants; <add> <add>public class PantallaBienvenida ...
Java
apache-2.0
c62e5a13d9657f324e773f7db735ab31121d6df1
0
PathVisio/pathvisio,markwoon/pathvisio,PathVisio/pathvisio,markwoon/pathvisio,markwoon/pathvisio,markwoon/pathvisio,PathVisio/pathvisio,PathVisio/pathvisio
// PathVisio, // a tool for data visualization and analysis using Biological Pathways // Copyright 2014 BiGCaT Bioinformatics // // 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://...
modules/org.wikipathways.client/src/org/wikipathways/bots/InvalidAnnotationBot.java
// PathVisio, // a tool for data visualization and analysis using Biological Pathways // Copyright 2014 BiGCaT Bioinformatics // // 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://...
initialize datasources for bridgedb 2 in invalid xref bot
modules/org.wikipathways.client/src/org/wikipathways/bots/InvalidAnnotationBot.java
initialize datasources for bridgedb 2 in invalid xref bot
<ide><path>odules/org.wikipathways.client/src/org/wikipathways/bots/InvalidAnnotationBot.java <ide> import org.bridgedb.IDMapperException; <ide> import org.bridgedb.IDMapperStack; <ide> import org.bridgedb.Xref; <add>import org.bridgedb.bio.BioDataSource; <ide> import org.bridgedb.bio.Organism; <ide> import org.bridged...
Java
mit
442b981af2be565bbb2049103761e712051141dc
0
anneb/cordova-plugin-camera-preview,hug963/CordovaCameraPreview,bvx89/cordova-plugin-camera-preview,bvx89/cordova-plugin-camera-preview,Et3rnal/cordova-plugin-camera-preview,Et3rnal/cordova-plugin-camera-preview,piobuilleann/cordova-plugin-camera-preview,hug963/CordovaCameraPreview,divampo/cordova-plugin-camera-preview...
package com.mbppower; import android.app.Activity; import android.app.Fragment; import android.content.Context; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.ImageFormat; import android.graphics.M...
src/android/com/mbppower/CameraActivity.java
package com.mbppower; import android.app.Activity; import android.app.Fragment; import android.content.Context; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics.Canvas; import android.graphics.ImageFormat; import android.graphics.M...
missing ;
src/android/com/mbppower/CameraActivity.java
missing ;
<ide><path>rc/android/com/mbppower/CameraActivity.java <ide> // final File picFile = storeImage(picture, "_preview"); <ide> final File originalPictureFile = storeImage(originalPicture, "_original"); <ide> <del> eventListener.onPictureTaken(originalPictureFile.getAbsolutePath())//, picFile.get...
Java
apache-2.0
66c7867839a9c458c2ec68ccc4e7f11eee932e8e
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2018, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
server/src/main/java/io/spine/server/event/EventFactory.java
/* * Copyright 2018, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Document new EventFactory API.
server/src/main/java/io/spine/server/event/EventFactory.java
Document new EventFactory API.
<ide><path>erver/src/main/java/io/spine/server/event/EventFactory.java <ide> return doCreateEvent(messageOrAny, context); <ide> } <ide> <add> /** <add> * Creates a rejection event for the passed rejection message. <add> * <add> * @param messageOrAny the rejection message <add> * @par...
Java
apache-2.0
627899ed513cf3c4dbc241f306b292138368768e
0
PennState/directory-fortress-core-1,PennState/directory-fortress-core-1,PennState/directory-fortress-core-1
/* * 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 * "Li...
src/main/java/org/apache/directory/fortress/core/ldap/group/GroupDAO.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 * "Lic...
o Fixed some wrong LOG parameter definition ({[]} was used instead of [{}]) o Using the LDAP API ShcemaConstants.MEMBER_AT constant instead of a locally defined String "member"
src/main/java/org/apache/directory/fortress/core/ldap/group/GroupDAO.java
o Fixed some wrong LOG parameter definition ({[]} was used instead of [{}]) o Using the LDAP API ShcemaConstants.MEMBER_AT constant instead of a locally defined String "member"
<ide><path>rc/main/java/org/apache/directory/fortress/core/ldap/group/GroupDAO.java <ide> /* <add> <ide> * Licensed to the Apache Software Foundation (ASF) under one <ide> * or more contributor license agreements. See the NOTICE file <ide> * distributed with this work for additional information <ide> package ...
Java
apache-2.0
error: pathspec 'src/main/java/com/wisdom/easy/SpaceReplacement.java' did not match any file(s) known to git
d6e730b878c62848d15542a546dd1a4280c6945f
1
Wisdom1994/wisdom_LintCode
package com.wisdom.easy; /** * 212-空格替换 * 设计一种方法,将一个字符串中的所有空格替换成 %20 。你可以假设该字符串有足够的空间来加入新的字符,且你得到的是“真实的”字符长度。 * 你的程序还需要返回被替换后的字符串的长度。 * * Example * 对于字符串"Mr John Smith", 长度为 13 * 替换空格之后,参数中的字符串需要变为"Mr%20John%20Smith",并且把新长度 17 作为结果返回。 */ public class SpaceReplacement { public static void main(String[] args...
src/main/java/com/wisdom/easy/SpaceReplacement.java
(121)easy-->space-replacement(空格替换)
src/main/java/com/wisdom/easy/SpaceReplacement.java
(121)easy-->space-replacement(空格替换)
<ide><path>rc/main/java/com/wisdom/easy/SpaceReplacement.java <add>package com.wisdom.easy; <add> <add>/** <add> * 212-空格替换 <add> * 设计一种方法,将一个字符串中的所有空格替换成 %20 。你可以假设该字符串有足够的空间来加入新的字符,且你得到的是“真实的”字符长度。 <add> * 你的程序还需要返回被替换后的字符串的长度。 <add> * <add> * Example <add> * 对于字符串"Mr John Smith", 长度为 13 <add> * 替换空格之后,参数中的字符串需要变为"Mr...
JavaScript
mit
88cf92f47548741f46ce6a0e597d5e5f71afa6cd
0
younglim/grant-bot
var fs = require('fs'); var path = require('path'); var superagent = require('superagent'); var restify = require('restify'); var builder = require('botbuilder'); var server = restify.createServer(); var oxford = require('project-oxford'); /** * START BOOTSTRAP */ var applicationPassword = null; var config = { en...
app.js
var fs = require('fs'); var path = require('path'); var superagent = require('superagent'); var restify = require('restify'); var builder = require('botbuilder'); var server = restify.createServer(); var oxford = require('project-oxford'); /** * START BOOTSTRAP */ var applicationPassword = null; var config = { en...
Get response text of ocr
app.js
Get response text of ocr
<ide><path>pp.js <ide> results.response.forEach(function (attachment) { <ide> visionClient.vision.ocr({ <ide> url: attachment.contentUrl, <del> language: 'en' <add> language: 'en', <add> detectOrientation: true <ide> }).then(function (response) { <del> s...
Java
apache-2.0
8e34ea3821d0a5674cd5997dc7220a48b03c7e0b
0
stuartwdouglas/undertow,jstourac/undertow,aldaris/undertow,soul2zimate/undertow,undertow-io/undertow,stuartwdouglas/undertow,soul2zimate/undertow,golovnin/undertow,undertow-io/undertow,pferraro/undertow,pferraro/undertow,pferraro/undertow,darranl/undertow,baranowb/undertow,jstourac/undertow,soul2zimate/undertow,jstoura...
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
core/src/main/java/io/undertow/client/UndertowClient.java
/* * JBoss, Home of Professional Open Source. * Copyright 2014 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * 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 Licen...
[UNDERTOW-1361] added missing privileged block into UndertowClient
core/src/main/java/io/undertow/client/UndertowClient.java
[UNDERTOW-1361] added missing privileged block into UndertowClient
<ide><path>ore/src/main/java/io/undertow/client/UndertowClient.java <ide> <ide> package io.undertow.client; <ide> <add>import static java.security.AccessController.doPrivileged; <add> <ide> import org.xnio.FutureResult; <ide> import org.xnio.IoFuture; <ide> import org.xnio.OptionMap; <ide> import java.io.IOException;...
Java
apache-2.0
85dcff01457f6f735e37b4235c0f38ab2f8b497c
0
sirkkalap/DependencyCheck,sirkkalap/DependencyCheck,simon-eastwood/DependencyCheckCM,sirkkalap/DependencyCheck,sirkkalap/DependencyCheck,simon-eastwood/DependencyCheckCM,sirkkalap/DependencyCheck,simon-eastwood/DependencyCheckCM
/* * This file is part of dependency-check-core. * * Dependency-check-core is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) any * later version. * * ...
dependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/DatabaseUpdater.java
/* * This file is part of dependency-check-core. * * Dependency-check-core is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, either version 3 of the License, or (at your option) any * later version. * * ...
updates to batch update mode to allow batch updates without a modified URL
dependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/DatabaseUpdater.java
updates to batch update mode to allow batch updates without a modified URL
<ide><path>ependency-check-core/src/main/java/org/owasp/dependencycheck/data/update/DatabaseUpdater.java <ide> import javax.xml.parsers.SAXParser; <ide> import javax.xml.parsers.SAXParserFactory; <ide> import org.owasp.dependencycheck.data.UpdateException; <del>import org.owasp.dependencycheck.data.cpe.BaseIndex; <ide>...
JavaScript
mit
c4672d61d0e317cbfce25f4ba7ebde8590da3e12
0
windyakin/ImageProcessing,windyakin/ImageProcessing
(function($, window, undefined){ "use strict"; var images, Images = function() { images = this; this.initalized(); }; Images.prototype = { initalized: function() { // 変数定義 this.canvas = $('#canvas')[0]; this.context = canvas.getContext('2d'); this.originData = null; this.image = new Image(); ...
source/script.js
(function($, window, undefined){ "use strict"; var images, Images = function() { images = this; this.initalized(); }; Images.prototype = { initalized: function() { // 変数定義 this.canvas = $('#canvas')[0]; this.context = canvas.getContext('2d'); this.originData = null; this.image = new Image(); ...
fix typo
source/script.js
fix typo
<ide><path>ource/script.js <ide> // Bayer型 <ide> bayer: [0, 8, 2, 10, 12, 4, 14, 6, 3, 11, 1, 9, 15, 7 ,13, 5], <ide> // ハーフトーン型 <del> harftone: [10, 4, 6, 8, 12, 0, 2, 14, 7, 9, 11, 5, 3, 15, 13 ,1], <add> halftone: [10, 4, 6, 8, 12, 0, 2, 14, 7, 9, 11, 5, 3, 15, 13 ,1], <ide> // Screw型 <ide> ...
JavaScript
mit
3cb66063ba13781ad711b808e528249777541ee0
0
www2014/discourse_advanced_search,www2014/discourse_advanced_search
Discourse.TopicSearchController = Discourse.ObjectController.extend(Discourse.Presence, { needs: "search", term: Em.computed.alias("model.query"), searchContext: Em.computed.alias("controllers.search.searchContext"), content: [], resultCount: false, urls: [], loading: true, topicStream: null, ascend...
assets/javascripts/discourse_advanced_search/controllers/topic_search_controller.js
Discourse.TopicSearchController = Discourse.ObjectController.extend(Discourse.Presence, { needs: "search", term: Em.computed.alias("model.query"), searchContext: Em.computed.alias("controllers.search.searchContext"), content: [], resultCount: false, urls: [], loading: true, topicStream: null, activ...
sort search results
assets/javascripts/discourse_advanced_search/controllers/topic_search_controller.js
sort search results
<ide><path>ssets/javascripts/discourse_advanced_search/controllers/topic_search_controller.js <ide> urls: [], <ide> loading: true, <ide> topicStream: null, <add> ascending: false, <add> <add> actions: { <add> changeSort: function(sortBy) { <add> if (sortBy === this.get('order')) { <add> this.togg...
JavaScript
agpl-3.0
984040e37b2f4fe67ef44f46b5eeaf1cf526095f
0
firewalla/firewalla,MelvinTo/firewalla,MelvinTo/firewalla,MelvinTo/firewalla,MelvinTo/firewalla,firewalla/firewalla,MelvinTo/firewalla,firewalla/firewalla,firewalla/firewalla,firewalla/firewalla
/* Copyright 2016 Firewalla LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, *...
net2/Discovery.js
/* Copyright 2016 Firewalla LLC * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, *...
fix crash bug if the old host never got a mac address
net2/Discovery.js
fix crash bug if the old host never got a mac address
<ide><path>et2/Discovery.js <ide> } <ide> changeset['mac'] = host.mac; <ide> log.debug("Discovery:Nmap:Redis:Merge", key, changeset, {}); <del> if (data.mac!=host.mac) { <add> if (data.mac!=null && data.mac!=host.mac) { <ide> this.ipChanged(data.ma...
Java
apache-2.0
4402a1c886c9138ebe14e0a76c89fb6035caa15d
0
SomeFire/ignite,SharplEr/ignite,apache/ignite,irudyak/ignite,sk0x50/ignite,shroman/ignite,ntikhonov/ignite,irudyak/ignite,StalkXT/ignite,BiryukovVA/ignite,endian675/ignite,samaitra/ignite,endian675/ignite,shroman/ignite,NSAmelchev/ignite,samaitra/ignite,ascherbakoff/ignite,SomeFire/ignite,daradurvs/ignite,wmz7year/igni...
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/jdbc/JdbcParameterMeta.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
IGNITE-5233: Fixed JavaDocs.
modules/core/src/main/java/org/apache/ignite/internal/processors/odbc/jdbc/JdbcParameterMeta.java
IGNITE-5233: Fixed JavaDocs.
<ide><path>odules/core/src/main/java/org/apache/ignite/internal/processors/odbc/jdbc/JdbcParameterMeta.java <ide> <ide> /** <ide> * JDBC SQL query parameter metadata. <del> * <del> * {@see java.sql.ParameterMetaData}. <ide> */ <ide> public class JdbcParameterMeta implements JdbcRawBinarylizable { <ide> /** Null ...
Java
apache-2.0
c4d275497f6d89d702a876e1e149b65dfa05ca0d
0
Ensembl/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,thomasmaurel/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck,Ensembl/ensj-healthcheck
package org.ensembl.healthcheck; import org.ensembl.healthcheck.configuration.ConfigurationUserParameters; import org.ensembl.healthcheck.util.SqlTemplate; import uk.co.flamingpenguin.jewel.cli.Option; /** * Copies certain configuration properties into system properties. They are * used by some healthchecks, but ...
src/org/ensembl/healthcheck/SystemPropertySetter.java
package org.ensembl.healthcheck; import org.ensembl.healthcheck.configuration.ConfigurationUserParameters; import org.ensembl.healthcheck.util.SqlTemplate; import uk.co.flamingpenguin.jewel.cli.Option; /** * Copies certain configuration properties into system properties. They are * used by some healthchecks, but ...
removed method for biotype file as it is not used any more
src/org/ensembl/healthcheck/SystemPropertySetter.java
removed method for biotype file as it is not used any more
<ide><path>rc/org/ensembl/healthcheck/SystemPropertySetter.java <ide> */ <ide> public void setPropertiesForHealthchecks() { <ide> <del> if (configuration.isBiotypesFile()) { <del> // Used in: <del> // <del> // org.ensembl.healthcheck.testcase.generic.Biotypes <del> // <del> System.setProperty("biotypes...
Java
mit
18b7d642add6960fa4d73b82c7bd63406aeecbdb
0
tkob/yokohamaunit,tkob/yokohamaunit
package yokohama.unit.translator; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.nio.file.Paths; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.Optional; i...
src/main/java/yokohama/unit/translator/AstToJUnitAst.java
package yokohama.unit.translator; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; import java.nio.file.Paths; import java.util.Arrays; import java.util.Collections; import java.util.List; import java.util.Objects; import java.util.Optional; i...
Factor out typeOfExpr method
src/main/java/yokohama/unit/translator/AstToJUnitAst.java
Factor out typeOfExpr method
<ide><path>rc/main/java/yokohama/unit/translator/AstToJUnitAst.java <ide> Class<?> expectedType, <ide> String envVarName) { <ide> Var exprVar = new Var(genSym.generate("expr")); <del> Pair<Type, Stream<Statement>> returnTypeAndStatements = expr.accept( <add> Stream<Statemen...
Java
apache-2.0
6c96fc073c6615402d00714808ae552d8b9acc49
0
SINTEF-9012/proasense-adapter-base
/** * Copyright (C) 2014-2015 SINTEF * * Brian Elvesæter <brian.elvesater@sintef.no> * Shahzad Karamat <shazad.karamat@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License ...
src/main/java/net/modelbased/proasense/adapter/base/KafkaProducerOutput.java
/** * Copyright (C) 2014-2015 SINTEF * * Brian Elvesæter <brian.elvesater@sintef.no> * Shahzad Karamat <shazad.karamat@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License ...
Updated Kafka producer properties.
src/main/java/net/modelbased/proasense/adapter/base/KafkaProducerOutput.java
Updated Kafka producer properties.
<ide><path>rc/main/java/net/modelbased/proasense/adapter/base/KafkaProducerOutput.java <ide> <ide> // Publish message <ide> if (this.publish) { <del> ProducerRecord<String, byte[]> message = new ProducerRecord<String, byte[]>(topic, bytes); <add> ProducerRecord<Str...
Java
apache-2.0
error: pathspec 'src/main/java/site/upload/PackageUpload.java' did not match any file(s) known to git
c631fbfcdff876f70a01f2774e5c5470f02fe760
1
cescoffier/wisdom-documentation,cescoffier/wisdom-documentation,cescoffier/wisdom-documentation
package site.upload; import com.google.common.base.Strings; import org.apache.commons.io.FileUtils; import org.apache.commons.io.IOUtils; import org.apache.felix.ipojo.annotations.Requires; import org.apache.felix.ipojo.annotations.Validate; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.wisdom.ap...
src/main/java/site/upload/PackageUpload.java
Provide documentation upload facilities Signed-off-by: Clement Escoffier <6397137e57d1f87002962a37058f2a1c76fca9db@gmail.com>
src/main/java/site/upload/PackageUpload.java
Provide documentation upload facilities
<ide><path>rc/main/java/site/upload/PackageUpload.java <add>package site.upload; <add> <add>import com.google.common.base.Strings; <add>import org.apache.commons.io.FileUtils; <add>import org.apache.commons.io.IOUtils; <add>import org.apache.felix.ipojo.annotations.Requires; <add>import org.apache.felix.ipojo.annotatio...
Java
bsd-3-clause
81bfd48a6862ad2e6ad34531b53246f17c28e66b
0
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
package gov.nih.nci.cananolab.ui.sample; /** * This class sets up the submit a new sample page and submits a new sample * * @author pansu */ /* CVS $Id: SubmitNanoparticleAction.java,v 1.37 2008-09-18 21:35:25 cais Exp $ */ import gov.nih.nci.cananolab.dto.common.AccessibilityBean; import gov.nih.nci.cananolab.d...
software/cananolab-webapp/src/gov/nih/nci/cananolab/ui/sample/SampleAction.java
package gov.nih.nci.cananolab.ui.sample; /** * This class sets up the submit a new sample page and submits a new sample * * @author pansu */ /* CVS $Id: SubmitNanoparticleAction.java,v 1.37 2008-09-18 21:35:25 cais Exp $ */ import gov.nih.nci.cananolab.dto.common.AccessibilityBean; import gov.nih.nci.cananolab.d...
updated references of retractFromPublic and setUpSubmitForReviewButton SVN-Revision: 18891
software/cananolab-webapp/src/gov/nih/nci/cananolab/ui/sample/SampleAction.java
updated references of retractFromPublic and setUpSubmitForReviewButton
<ide><path>oftware/cananolab-webapp/src/gov/nih/nci/cananolab/ui/sample/SampleAction.java <ide> UserBean user = (UserBean) (request.getSession().getAttribute("user")); <ide> if (!newSample && !user.isCurator()) { <ide> Boolean retracted = retractFromPublic(theForm, request, sampleBean <del> .getDomain().getI...
JavaScript
mit
ce84bb14d4998b430bc2abf569c3c238f47f8bab
0
serprex/openEtG,serprex/openEtG
"use strict"; // Bastardized version of Raphael Pigulla's pure JavaScript MersenneTwister @ https://github.com/pigulla/mersennetwister var MAX_INT = 4294967296, N = 624, M = 397, UPPER_MASK = 0x80000000, LOWER_MASK = 0x7fffffff, MAG_01 = new Uint32Array([0, 0x9908b0df]); function MersenneTwister(seed) { this.mti = 0; ...
MersenneTwister.js
"use strict"; // Bastardized version of Raphael Pigulla's pure JavaScript MersenneTwister @ https://github.com/pigulla/mersennetwister var MAX_INT = 4294967296, N = 624, M = 397, UPPER_MASK = 0x80000000, LOWER_MASK = 0x7fffffff, MAG_01 = new Int32Array([0, 0x9908b0df]); function MersenneTwister(seed) { this.mt = new I...
Optimize MersenneTwister a bit
MersenneTwister.js
Optimize MersenneTwister a bit
<ide><path>ersenneTwister.js <ide> "use strict"; <ide> // Bastardized version of Raphael Pigulla's pure JavaScript MersenneTwister @ https://github.com/pigulla/mersennetwister <del>var MAX_INT = 4294967296, N = 624, M = 397, UPPER_MASK = 0x80000000, LOWER_MASK = 0x7fffffff, MAG_01 = new Int32Array([0, 0x9908b0df]); <ad...
Java
apache-2.0
efa1d3d3900e2f8a949ed2eee566c46fbbaa1036
0
thomasgalvin/ThirdParty,thomasgalvin/ThirdParty
/** * Copyright 2010-2013 Coda Hale and Yammer, Inc. * Copyright 2015 Jason Dunkelberger (a.k.a. dirkraft) * * 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...
DropWizardFileAssets/src/main/java/com/github/dirkraft/dropwizard/fileassets/FileAssetServlet.java
/** * Copyright 2010-2013 Coda Hale and Yammer, Inc. * Copyright 2015 Jason Dunkelberger (a.k.a. dirkraft) * * 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...
Fixed dropwizard static file assets
DropWizardFileAssets/src/main/java/com/github/dirkraft/dropwizard/fileassets/FileAssetServlet.java
Fixed dropwizard static file assets
<ide><path>ropWizardFileAssets/src/main/java/com/github/dirkraft/dropwizard/fileassets/FileAssetServlet.java <ide> Charset defaultCharset) { <ide> final String trimmedPath = SLASHES.trimTrailingFrom(filePath); <ide> this.resourcePath = trimmedPath.isEmpty() ? trimmedPath : tr...
Java
apache-2.0
3939aa2ea7d41c3dfffd010e7310e8e75bb46158
0
babarehner/Android-XMinder
package com.babarehner.android.xminder.data; import android.content.ContentResolver; import android.net.Uri; import android.provider.BaseColumns; /** * Created by mike on 6/14/17. */ public final class ExerciseContract { // To prevent someone from accidentally instantiating the contract class // give it a...
app/src/main/java/com/babarehner/android/xminder/data/ExerciseContract.java
package com.babarehner.android.xminder.data; import android.content.ContentResolver; import android.net.Uri; import android.provider.BaseColumns; /** * Created by mike on 6/14/17. */ public final class ExerciseContract { // To prevent someone from accidentally instantiating the contract class // give it a...
Create save and delete methods. Create dialog message methods
app/src/main/java/com/babarehner/android/xminder/data/ExerciseContract.java
Create save and delete methods. Create dialog message methods
<ide><path>pp/src/main/java/com/babarehner/android/xminder/data/ExerciseContract.java <ide> public static final String CARDIO_ITEM_TYPE = ContentResolver.CURSOR_ITEM_BASE_TYPE <ide> + "/" + CONTENT_AUTHORITY + "/" + PATH_CARDIO; <ide> <add> // The content uri to access the exercise data ...
Java
bsd-3-clause
76be6bcbf77c0a837824a3954ab2896cb01b0c98
0
dilipdevaraj-sfdc/Argus-1,rajsarkapally-sfdc/Argus,rajsarkapally-sfdc/Argus,SalesforceEng/Argus,rajsarkapally/Argus,SalesforceEng/Argus,rajsarkapally/Argus,dilipdevaraj-sfdc/Argus-1,SalesforceEng/Argus,xizi-xu/Argus,rajsarkapally/Argus,rajsarkapally-sfdc/Argus,dilipdevaraj-sfdc/Argus-1,xizi-xu/Argus,salesforce/Argus,sa...
/* * Copyright (c) 2016, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of c...
ArgusCore/src/test/java/com/salesforce/dva/argus/service/schema/DefaultDiscoveryServiceTest.java
/* * Copyright (c) 2016, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of c...
Resolve file compilation during merge change
ArgusCore/src/test/java/com/salesforce/dva/argus/service/schema/DefaultDiscoveryServiceTest.java
Resolve file compilation during merge change
<ide><path>rgusCore/src/test/java/com/salesforce/dva/argus/service/schema/DefaultDiscoveryServiceTest.java <ide> * scope0,metric0,device,device0,null <ide> */ <ide> @Test <del> public void testWildcardQueriesMatchMultipleTagsWithOneTagNotMatchingAnything() { <add> public void testWildcardQueriesMatchMulti...
JavaScript
agpl-3.0
e9d6ef40ec69ea19605e29101c91c5c5e43a453a
0
cnedDI/AccessiDys,AccessiDys/AccessiDys,cnedDI/AccessiDys,AccessiDys/AccessiDys
/* File: main.js * * Copyright (c) 2014 * Centre National d’Enseignement à Distance (Cned), Boulevard Nicephore Niepce, 86360 CHASSENEUIL-DU-POITOU, France * (direction-innovation@cned.fr) * * GNU Affero General Public License (AGPL) version 3.0 or later version * * This file is part of a program which is free ...
app/scripts/controllers/listDocument/listDocument.js
/* File: main.js * * Copyright (c) 2014 * Centre National d’Enseignement à Distance (Cned), Boulevard Nicephore Niepce, 86360 CHASSENEUIL-DU-POITOU, France * (direction-innovation@cned.fr) * * GNU Affero General Public License (AGPL) version 3.0 or later version * * This file is part of a program which is free ...
fermeture automatique des modal de modification et partage
app/scripts/controllers/listDocument/listDocument.js
fermeture automatique des modal de modification et partage
<ide><path>pp/scripts/controllers/listDocument/listDocument.js <ide> $scope.afficheErreurModifier = true; <ide> } else { <ide> // console.log('in else'); <add> $('#EditTitreModal').modal('hide'); <ide> $scope.flagModifieDucoment = true; <ide> $scope.modifieTitreConfirme(); <ide> } <ide> $scop...
Java
apache-2.0
5681789ed1e435f8ac6a26746d0f30fdf539000c
0
bhecquet/seleniumRobot,bhecquet/seleniumRobot,bhecquet/seleniumRobot
/** * Orignal work: Copyright 2015 www.seleniumtests.com * Modified work: Copyright 2016 www.infotel.com * Copyright 2017-2019 B.Hecquet * * 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...
core/src/test/java/com/seleniumtests/it/webelements/TestPageObject.java
/** * Orignal work: Copyright 2015 www.seleniumtests.com * Modified work: Copyright 2016 www.infotel.com * Copyright 2017-2019 B.Hecquet * * 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...
test more robust when a browser is staled
core/src/test/java/com/seleniumtests/it/webelements/TestPageObject.java
test more robust when a browser is staled
<ide><path>ore/src/test/java/com/seleniumtests/it/webelements/TestPageObject.java <ide> <ide> import org.testng.Assert; <ide> import org.testng.ITestContext; <add>import org.testng.annotations.AfterMethod; <ide> import org.testng.annotations.BeforeMethod; <ide> import org.testng.annotations.Test; <ide> <ide> import c...
Java
apache-2.0
05acc2ae672becb0312cfd26506b37a24e48e6ee
0
kchitalia/SalesforceMobileSDK-Android,huminzhi/SalesforceMobileSDK-Android,huminzhi/SalesforceMobileSDK-Android,solomonronald/SalesforceMobileSDK-Android,seethaa/force_analytics_example,huminzhi/SalesforceMobileSDK-Android,kchitalia/SalesforceMobileSDK-Android,kchitalia/SalesforceMobileSDK-Android,solomonronald/Salesfo...
/* * Copyright (c) 2012, salesforce.com, inc. * All rights reserved. * Redistribution and use of this software in source and binary forms, with or * without modification, are permitted provided that the following conditions * are met: * - Redistributions of source code must retain the above copyright notice, this...
native/SalesforceSDK/src/com/salesforce/androidsdk/app/ForceApp.java
/* * Copyright (c) 2012, salesforce.com, inc. * All rights reserved. * Redistribution and use of this software in source and binary forms, with or * without modification, are permitted provided that the following conditions * are met: * - Redistributions of source code must retain the above copyright notice, this...
Account Callback Receiver Shouldn't be Unregistered on Low Memory
native/SalesforceSDK/src/com/salesforce/androidsdk/app/ForceApp.java
Account Callback Receiver Shouldn't be Unregistered on Low Memory
<ide><path>ative/SalesforceSDK/src/com/salesforce/androidsdk/app/ForceApp.java <ide> <ide> private String encryptionKey; <ide> private AccountWatcher accWatcher; <del> private SalesforceR salesforceR = new SalesforceR(); <del> <add> private SalesforceR salesforceR = new SalesforceR(); <ide> <ide> /****...
Java
apache-2.0
25f9246668fbb792a239ba750b9d096a6507be51
0
Nanoware/Terasology,MovingBlocks/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,Malanius/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,Malanius/Terasology
/* * Copyright 2017 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
engine-tests/src/test/java/org/terasology/rendering/FontUnderlineTest.java
/* * Copyright 2017 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
Update engine-tests/src/test/java/org/terasology/rendering/FontUnderlineTest.java Changed tabs to spaces.
engine-tests/src/test/java/org/terasology/rendering/FontUnderlineTest.java
Update engine-tests/src/test/java/org/terasology/rendering/FontUnderlineTest.java
<ide><path>ngine-tests/src/test/java/org/terasology/rendering/FontUnderlineTest.java <ide> private static final char END_UNDERLINE = 0xF002; <ide> <ide> @Test <del> public void testStartUnderline() { <del> assertTrue(FontUnderline.isValid(START_UNDERLINE)); <del> } <add> public void testStartUnderline()...
Java
agpl-3.0
4a8826fe668fab38ed1ef6909d3d79599a64b47c
0
duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test,duaneking/rockstar_test
cc2eb274-2e5f-11e5-9284-b827eb9e62be
hello.java
cc293e5c-2e5f-11e5-9284-b827eb9e62be
cc2eb274-2e5f-11e5-9284-b827eb9e62be
hello.java
cc2eb274-2e5f-11e5-9284-b827eb9e62be
<ide><path>ello.java <del>cc293e5c-2e5f-11e5-9284-b827eb9e62be <add>cc2eb274-2e5f-11e5-9284-b827eb9e62be
Java
agpl-3.0
1cc0562d2cdd7c08ea0d2e08f12654cb7bcd359b
0
axelor/axelor-business-suite,axelor/axelor-business-suite,ama-axelor/axelor-business-suite,ama-axelor/axelor-business-suite,ama-axelor/axelor-business-suite,axelor/axelor-business-suite
/** * Axelor Business Solutions * * Copyright (C) 2017 Axelor (<http://axelor.com>). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distribute...
axelor-human-resource/src/main/java/com/axelor/apps/hr/service/expense/ExpenseServiceImpl.java
/** * Axelor Business Solutions * * Copyright (C) 2017 Axelor (<http://axelor.com>). * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distribute...
Change one hard coded value
axelor-human-resource/src/main/java/com/axelor/apps/hr/service/expense/ExpenseServiceImpl.java
Change one hard coded value
<ide><path>xelor-human-resource/src/main/java/com/axelor/apps/hr/service/expense/ExpenseServiceImpl.java <ide> <ide> @Override <ide> public Expense getOrCreateExpense(User user) { <del> Expense expense = Beans.get(ExpenseRepository.class).all().filter("self.statusSelect = 1 AND self.user.id = ?1", user.getId()).ord...
JavaScript
mit
70701d95f20f3468a7d71fddfc4e0920bd4c3e75
0
rblopes/heart-star,rblopes/heart-star
import levels from '../data/levels'; import ObjectsManager from '../managers/ObjectsManager'; import LevelManager from '../managers/LevelManager'; import Goal from '../objects/Goal'; import Actor from '../objects/Actor'; import Agents from '../objects/Agents'; export default class Game extends Phaser.State { ...
src/scripts/app/states/Game.js
import levels from '../data/levels'; import ObjectsManager from '../managers/ObjectsManager'; import LevelManager from '../managers/LevelManager'; import Goal from '../objects/Goal'; import Actor from '../objects/Actor'; import Agents from '../objects/Agents'; export default class Game extends Phaser.State { ...
Decoupling method call.
src/scripts/app/states/Game.js
Decoupling method call.
<ide><path>rc/scripts/app/states/Game.js <ide> this._restartActor(this._heart, this._levelDefinitions.actors.heart); <ide> this._restartActor(this._star, this._levelDefinitions.actors.star); <ide> this._switchActors(this._heart, this._star); <add> this._switchLayers(); <ide> } <ide> <ide> _restartAc...
JavaScript
mit
684040db505560a68f6ea26bdc381b56f9af54f1
0
KitaitiMakoto/bibi,satorumurmur/bibi,satorumurmur/bibi,KitaitiMakoto/bibi
/*! * * # BiB/i (core) * * - "EPUB Reader on Your Web Site." * - Copyright (c) Satoru MATSUSHIMA - http://bibi.epub.link/ or https://github.com/satorumurmur/bibi * - Licensed under the MIT license. - http://www.opensource.org/licenses/mit-license.php * * - Mon June 29 21:21:21 2015 +0900 */ Bibi = { "vers...
dev-bib/i/res/scripts/bibi.core.js
/*! * * # BiB/i (core) * * - "EPUB Reader on Your Web Site." * - Copyright (c) Satoru MATSUSHIMA - http://bibi.epub.link/ or https://github.com/satorumurmur/bibi * - Licensed under the MIT license. - http://www.opensource.org/licenses/mit-license.php * * - Mon June 29 21:21:21 2015 +0900 */ Bibi = { "vers...
Optimize response.
dev-bib/i/res/scripts/bibi.core.js
Optimize response.
<ide><path>ev-bib/i/res/scripts/bibi.core.js <ide> //Item.RenditionLayout = ((Item.ItemRef["rendition:layout"] == "pre-paginated") && Item.ItemRef["viewport"]["width"] && Item.ItemRef["viewport"]["height"]) ? "pre-paginated" : "reflowable"; <ide> <ide> setTimeout(function() { <del> if(Item.contentDocument.styleShee...
JavaScript
apache-2.0
def5570ce3e86b2b4f4cdc971574ac8bb42794d8
0
binary-static-deployed/binary-static,binary-com/binary-static,kellybinary/binary-static,raunakkathuria/binary-static,binary-com/binary-static,4p00rv/binary-static,ashkanx/binary-static,binary-static-deployed/binary-static,ashkanx/binary-static,raunakkathuria/binary-static,negar-binary/binary-static,raunakkathuria/binar...
const moment = require('moment'); const BinaryPjax = require('../../../../base/binary_pjax'); const Client = require('../../../../base/client'); const Header = require('../../../../base/header'); const BinarySocket = require('../../../../base/socket'); const jpClie...
src/javascript/app/pages/user/account/settings/self_exclusion.js
const moment = require('moment'); const BinaryPjax = require('../../../../base/binary_pjax'); const Client = require('../../../../base/client'); const Header = require('../../../../base/header'); const BinarySocket = require('../../../../base/socket'); const jpClie...
update status on timeout_until
src/javascript/app/pages/user/account/settings/self_exclusion.js
update status on timeout_until
<ide><path>rc/javascript/app/pages/user/account/settings/self_exclusion.js <ide> } <ide> showFormMessage('Your changes have been updated.', true); <ide> Client.set('session_start', moment().unix()); // used to handle session duration limit <del> if (response.echo_req.exclude_until) { <del...
Java
apache-2.0
b45003b8a0dde3fa9cb17d8223f6a33671fa279f
0
mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData,mpi2/PhenotypeData
/******************************************************************************* * Copyright 2015 EMBL - European Bioinformatics Institute * * 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...
web/src/main/java/uk/ac/ebi/phenotype/web/controller/DataTableController.java
/******************************************************************************* * Copyright 2015 EMBL - European Bioinformatics Institute * * 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...
fixed solr params error resulting in incomplete filtering
web/src/main/java/uk/ac/ebi/phenotype/web/controller/DataTableController.java
fixed solr params error resulting in incomplete filtering
<ide><path>eb/src/main/java/uk/ac/ebi/phenotype/web/controller/DataTableController.java <ide> fq = facetField + ":\"" + names[0] + "\""; <ide> } <ide> <del> thisFqStr = fqStr == null ? "fq=" + fq : fqStr + " AND " + fq; <add> thisFqStr = fqStr == null ? "fq=" + fq : "fq=" + fqStr + " AND " + fq; <id...
Java
apache-2.0
dfc45f8478032cba0497ee2b72b7913b4b94e6c6
0
AliaksandrShuhayeu/pentaho-kettle,ddiroma/pentaho-kettle,AliaksandrShuhayeu/pentaho-kettle,tkafalas/pentaho-kettle,ma459006574/pentaho-kettle,birdtsai/pentaho-kettle,ccaspanello/pentaho-kettle,mattyb149/pentaho-kettle,MikhailHubanau/pentaho-kettle,pentaho/pentaho-kettle,pedrofvteixeira/pentaho-kettle,lgrill-pentaho/pen...
/********************************************************************** ** ** ** This code belongs to the KETTLE project. ** ** ** ** Kettle, from version 2.2...
src/be/ibridge/kettle/trans/step/filestoresult/FilesToResultDialog.java
/********************************************************************** ** ** ** This code belongs to the KETTLE project. ** ** ** ** Kettle, from version 2.2...
Fixed NP exception when no input is given to the step. git-svn-id: 9499f031eb5c9fb9d11553a06c92651e5446d292@1094 5fb7f6ec-07c1-534a-b4ca-9155e429e800
src/be/ibridge/kettle/trans/step/filestoresult/FilesToResultDialog.java
Fixed NP exception when no input is given to the step.
<ide><path>rc/be/ibridge/kettle/trans/step/filestoresult/FilesToResultDialog.java <ide> import be.ibridge.kettle.core.ResultFile; <ide> import be.ibridge.kettle.core.Row; <ide> import be.ibridge.kettle.core.dialog.ErrorDialog; <del>import be.ibridge.kettle.core.exception.KettleException; <ide> import be.ibridge.kettle....
Java
mpl-2.0
443333baad6fde5690fda3121c1f1b9b0d35255c
0
Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV,Helioviewer-Project/JHelioviewer-SWHV
package org.helioviewer.jhv.layers; import java.awt.Component; import java.util.ArrayList; import java.util.Collection; import javax.annotation.Nullable; import org.helioviewer.jhv.astronomy.Carrington; import org.helioviewer.jhv.astronomy.Sun; import org.helioviewer.jhv.astronomy.UpdateViewpoint; import org.heliovi...
src/org/helioviewer/jhv/layers/ViewpointLayer.java
package org.helioviewer.jhv.layers; import java.awt.Component; import java.util.ArrayList; import java.util.Collection; import javax.annotation.Nullable; import org.helioviewer.jhv.astronomy.Carrington; import org.helioviewer.jhv.astronomy.Sun; import org.helioviewer.jhv.astronomy.UpdateViewpoint; import org.heliovi...
Clip spiral radius to 3au
src/org/helioviewer/jhv/layers/ViewpointLayer.java
Clip spiral radius to 3au
<ide><path>rc/org/helioviewer/jhv/layers/ViewpointLayer.java <ide> import org.helioviewer.jhv.display.Display; <ide> import org.helioviewer.jhv.display.Viewport; <ide> import org.helioviewer.jhv.gui.JHVFrame; <add>import org.helioviewer.jhv.math.MathUtils; <ide> import org.helioviewer.jhv.math.Quat; <ide> import org.he...
Java
apache-2.0
6772c1aa262ca726425b3c6051073d4d7682d0d3
0
hobinyoon/apache-cassandra-2.2.3-src,hobinyoon/apache-cassandra-2.2.3-src,hobinyoon/apache-cassandra-2.2.3-src,hobinyoon/apache-cassandra-2.2.3-src
package mtdb; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.time.DurationFormatUtils; class SimTime { // Simulation time is the wall-clock time in which this simulator is running. // Simulated time is the time that this s...
mtdb/loadgen/src/main/java/mtdb/SimTime.java
package mtdb; import java.time.LocalDateTime; import java.time.ZoneId; import java.util.ArrayList; import java.util.List; import org.apache.commons.lang3.time.DurationFormatUtils; class SimTime { // Simulation time is the wall-clock time in which this simulator is running. // Simulated time is the time that this s...
update
mtdb/loadgen/src/main/java/mtdb/SimTime.java
update
<ide><path>tdb/loadgen/src/main/java/mtdb/SimTime.java <ide> _simulationTimeBegin = System.nanoTime(); <ide> _simulationTimeEnd = _simulationTimeBegin + _simulationTimeDur; <ide> Cons.P(String.format("Simulation time:" <del> + "\n begin: %14d" <del> + "\n end: %14d" <del> + "\n dur: %14d" <add>...
JavaScript
apache-2.0
c1382de8d3f23ad83dbbfa6c9ade71fa8d38e5b3
0
zorkow/speech-rule-engine,zorkow/speech-rule-engine,zorkow/speech-rule-engine
// Copyright 2020 Volker Sorge // // Licensed under the Apache on 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, sof...
src/enrich_mathml/case_limit.js
// Copyright 2020 Volker Sorge // // Licensed under the Apache on 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, sof...
Code cleanup.
src/enrich_mathml/case_limit.js
Code cleanup.
<ide><path>rc/enrich_mathml/case_limit.js <ide> * @return {boolean} True if case is applicable. <ide> */ <ide> sre.CaseLimit.test = function(semantic) { <del> // console.log(semantic.type); <del> // console.log(semantic.mathmlTree); <ide> if (!semantic.mathmlTree || !semantic.childNodes.length) { <ide> return...
Java
mit
a362d7b8dc78f71852d7ef12daebfeff6b56501e
0
stephenc/analysis-core-plugin,amuniz/analysis-core-plugin,recena/analysis-core-plugin,recena/analysis-core-plugin,recena/analysis-core-plugin,recena/analysis-core-plugin,stephenc/analysis-core-plugin,amuniz/analysis-core-plugin,jenkinsci/analysis-core-plugin,amuniz/analysis-core-plugin,jenkinsci/analysis-core-plugin,st...
package hudson.plugins.analysis.views; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import org.apache.commons.io.IOUtils; import org.apache.commons.lang.StringEscapeUtils; import org.apache.commons.lang.StringUtils; import hudson.console...
src/main/java/hudson/plugins/analysis/views/ConsoleDetail.java
package hudson.plugins.analysis.views; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import org.apache.commons.io.IOUtils; import org.apache.commons.lang.StringUtils; import hudson.console.ConsoleNote; import hudson.model.ModelObject; im...
[JENKINS-14946] Highlight affected line in console log.
src/main/java/hudson/plugins/analysis/views/ConsoleDetail.java
[JENKINS-14946] Highlight affected line in console log.
<ide><path>rc/main/java/hudson/plugins/analysis/views/ConsoleDetail.java <ide> import java.io.InputStreamReader; <ide> <ide> import org.apache.commons.io.IOUtils; <add>import org.apache.commons.lang.StringEscapeUtils; <ide> import org.apache.commons.lang.StringUtils; <ide> <ide> import hudson.console.ConsoleNote; <id...
Java
bsd-3-clause
9e27cad155da90110f591fa6abd0d9341a96ecc2
0
smartdevicelink/sdl_android,jthrun/sdl_android,anildahiya/sdl_android,jthrun/sdl_android
package com.smartdevicelink.security; import java.util.ArrayList; import java.util.List; import android.app.Service; import android.content.Context; import com.smartdevicelink.SdlConnection.SdlSession; import com.smartdevicelink.protocol.enums.SessionType; public abstract class SdlSecurityBase { pro...
sdl_android/src/main/java/com/smartdevicelink/security/SdlSecurityBase.java
package com.smartdevicelink.security; import java.util.ArrayList; import java.util.List; import android.app.Service; import android.content.Context; import com.smartdevicelink.SdlConnection.SdlSession; import com.smartdevicelink.protocol.enums.SessionType; public abstract class SdlSecurityBase { pro...
call context setter per review comments
sdl_android/src/main/java/com/smartdevicelink/security/SdlSecurityBase.java
call context setter per review comments
<ide><path>dl_android/src/main/java/com/smartdevicelink/security/SdlSecurityBase.java <ide> @Deprecated <ide> public static void setAppService(Service val) { <ide> appService = val; <add> if (val != null && val.getApplicationContext() != null){ <add> setContext(val.getApplicationContext()...
JavaScript
mit
66f27c5e5bbedd6f7ab939f022cc3265a20e8ddd
0
ONSdigital/florence,ONSdigital/florence,ONSdigital/florence,ONSdigital/florence
/** * Handles the initial creation of the workspace screen. * @param path - path to iframe * @param collectionId * @param menu - opens a specific menu * @param collectionData - JSON of the currently active collection * @param stopEventListener - separates the link between editor and iframe * @returns {boolea...
src/legacy/js/functions/_createWorkspace.js
/** * Handles the initial creation of the workspace screen. * @param path - path to iframe * @param collectionId * @param menu - opens a specific menu * @param collectionData - JSON of the currently active collection * @param stopEventListener - separates the link between editor and iframe * @returns {boolea...
Use js:void rather than hash to prevent navigation change Former-commit-id: 823d6ccb0d5dc3e6b54850f794d7b033d12e68b9 Former-commit-id: 07c68f78e2c4957e4cb12ee211bc0de4bb5489d0 Former-commit-id: ad983df1a88dcdc17383aa978c1f3bf46ed8f417
src/legacy/js/functions/_createWorkspace.js
Use js:void rather than hash to prevent navigation change
<ide><path>rc/legacy/js/functions/_createWorkspace.js <ide> updateBrowserURL(path); <ide> <ide> if (Florence.globalVars.welsh !== true) { <del> $('#nav--workspace__welsh').empty().append('<a href="#">Language: English</a>'); <add> $('#nav--workspace__welsh').empty().append('<a hre...
Java
bsd-2-clause
5319a8dd35aa23e1f09336240ec5f817b3a14467
0
TehSAUCE/imagej,biovoxxel/imagej,biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej,TehSAUCE/imagej
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2013 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
core/data/src/main/java/imagej/data/display/DefaultImageDisplay.java
/* * #%L * ImageJ software for multidimensional image processing and analysis. * %% * Copyright (C) 2009 - 2013 Board of Regents of the University of * Wisconsin-Madison, Broad Institute of MIT and Harvard, and Max Planck * Institute of Molecular Cell Biology and Genetics. * %% * Redistribution and use in sourc...
Avoid NullPointerException in DefaultImageDisplay As pointed out by Tyler Corbin, there is a NullPointerException to be expected when using the variable 'dataView' when it is still 'null'. This is due to some left-over code from 03817156(DefaultImageDisplay: add support for ColorTables): the code to make the dataView...
core/data/src/main/java/imagej/data/display/DefaultImageDisplay.java
Avoid NullPointerException in DefaultImageDisplay
<ide><path>ore/data/src/main/java/imagej/data/display/DefaultImageDisplay.java <ide> else if (o instanceof Data) { <ide> // object is a data object, which we can wrap in a data view <ide> data = (Data) o; <del> super.display(dataView); <del> updateName(dataView); <del> rebuild(); <ide> } <ide> else if...
Java
lgpl-2.1
2591fd934f17fbea52119bf2348b7ad21ba881d5
0
gallardo/opencms-core,gallardo/opencms-core,gallardo/opencms-core,alkacon/opencms-core,alkacon/opencms-core,alkacon/opencms-core,alkacon/opencms-core,gallardo/opencms-core
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.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 th...
src/org/opencms/ui/components/CmsRemovableFormRow.java
/* * This library is part of OpenCms - * the Open Source Content Management System * * Copyright (c) Alkacon Software GmbH & Co. KG (http://www.alkacon.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 th...
CmsRemovableFormRow: two new methods 1.: method to disable the remove button, 2.: method to set a runnable which gets started on removing the row.
src/org/opencms/ui/components/CmsRemovableFormRow.java
CmsRemovableFormRow: two new methods
<ide><path>rc/org/opencms/ui/components/CmsRemovableFormRow.java <ide> /** The text input field. */ <ide> private T m_input; <ide> <add> private Runnable m_remove; <add> <ide> /** <ide> * Constructor.<p> <ide> * <ide> <ide> public void buttonClick(ClickEvent event) { <ide> <del> ...
Java
apache-2.0
b623907e85a66dfc08073c8bb74513ed825b2c68
0
cityzendata/warp10-platform,hbs/warp10-platform,hbs/warp10-platform,cityzendata/warp10-platform,hbs/warp10-platform,cityzendata/warp10-platform,hbs/warp10-platform,StevenLeRoux/warp10-platform,cityzendata/warp10-platform,StevenLeRoux/warp10-platform,StevenLeRoux/warp10-platform,StevenLeRoux/warp10-platform
// // Copyright 2016 Cityzen Data // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
token/src/main/java/io/warp10/quasar/trl/QuasarTokenRevocationListLoader.java
// // Copyright 2016 Cityzen Data // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law o...
Allow blank lines in trl
token/src/main/java/io/warp10/quasar/trl/QuasarTokenRevocationListLoader.java
Allow blank lines in trl
<ide><path>oken/src/main/java/io/warp10/quasar/trl/QuasarTokenRevocationListLoader.java <ide> } <ide> line = line.trim(); <ide> <add> // Skip empty lines <add> if ("".equals(line)) { <add> continue; <add> } <add> <ide> ...
Java
bsd-3-clause
82e629840ac2df9d6a59b784f3fb8f35ff2ec9aa
0
mpakarlsson/ilearnrw-service,mpakarlsson/ilearnrw-service,mpakarlsson/ilearnrw-service
package com.ilearnrw.api.datalogger.model; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; public class SystemTags { public static final String LEARN_SESSION_START = "LEARN_SESSION_START"; public...
src/main/java/com/ilearnrw/api/datalogger/model/SystemTags.java
package com.ilearnrw.api.datalogger.model; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; public class SystemTags { public static final String LEARN_SESSION_START = "LEARN_SESSION_START"; public...
added more SystemTags
src/main/java/com/ilearnrw/api/datalogger/model/SystemTags.java
added more SystemTags
<ide><path>rc/main/java/com/ilearnrw/api/datalogger/model/SystemTags.java <ide> public static final String ACTIVITY_PROPOSED = "ACTIVITY_PROPOSED"; <ide> <ide> public static final String APP_USAGE_TIME = "APP_USAGE_TIME"; <add> public static final String SETTINGS_UPDATED = "SETTINGS_UPDATED"; <add> public static f...
Java
apache-2.0
bb754bff9d93a25670b4b38c81298667ba420b9d
0
blackducksoftware/cf-7x-connector,blackducksoftware/cf-7x-connector
/******************************************************************************* * Copyright (C) 2015 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 2 only * as pu...
src/test/java/com/blackducksoftware/tools/connector/protex/report/ReportUtilsCSVSavedTest.java
/******************************************************************************* * Copyright (C) 2015 Black Duck Software, Inc. * http://www.blackducksoftware.com/ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version 2 only * as pu...
Add testObligationsCount() method handling the 'Obligations' section testing;
src/test/java/com/blackducksoftware/tools/connector/protex/report/ReportUtilsCSVSavedTest.java
Add testObligationsCount() method handling the 'Obligations' section testing;
<ide><path>rc/test/java/com/blackducksoftware/tools/connector/protex/report/ReportUtilsCSVSavedTest.java <ide> private static final String SECTION_SUMMARY = "summary"; <ide> private static final String SECTION_ANALYSIS_SUMMARY = "analysisSummary"; <ide> private static final String SECTION_BOM = "billOfMater...
Java
apache-2.0
4d5b162142917ecfdddd5529af0fa3b7f6dd3a8f
0
ruhan1/indy,pkocandr/indy,ruhan1/indy,yma88/indy,ligangty/indy,ligangty/indy,Commonjava/indy,yma88/indy,ruhan1/indy,ruhan1/indy,pkocandr/indy,yma88/indy,yma88/indy,pkocandr/indy,ligangty/indy,jdcasey/indy,Commonjava/indy,yma88/indy,ligangty/indy,pkocandr/indy,pkocandr/indy,jdcasey/indy,Commonjava/indy,jdcasey/indy,ruha...
package org.commonjava.indy.data; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpHead; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClientBuilder; import org.commonja...
core/src/main/java/org/commonjava/indy/data/DefaultStoreValidator.java
package org.commonjava.indy.data; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpHead; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClientBuilder; import org.commonja...
Requested Changes
core/src/main/java/org/commonjava/indy/data/DefaultStoreValidator.java
Requested Changes
<ide><path>ore/src/main/java/org/commonjava/indy/data/DefaultStoreValidator.java <ide> errors.put(StoreValidationConstants.DISABLED_REMOTE_REPO, "Disabled Remote Repository"); <ide> <ide> try { <del> new URL(remoteRepository.getUrl()); <del> } catch (MalformedURLException mue) { <add>...
Java
lgpl-2.1
4eaf90278eb2bc97e7a7bf242ae0289a764446ff
0
kolinus/modeler,DFieldFL/modeler,bytekast/modeler,plagoa/modeler,bytekast/modeler,e-cuellar/modeler,DFieldFL/modeler,kolinus/modeler,krivera-pentaho/modeler,pentaho/modeler,kurtwalker/modeler,pentaho/modeler,krivera-pentaho/modeler,SergeyTravin/modeler,plagoa/modeler,rfellows/modeler,kurtwalker/modeler,SergeyTravin/mod...
/* * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you c...
test-src/org/pentaho/agilebi/modeler/ModelerWorkspaceTest.java
/* * This program is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser General Public License, version 2.1 as published by the Free Software * Foundation. * * You should have received a copy of the GNU Lesser General Public License along with this * program; if not, you c...
Trying to fix a platform specific problem with unit test comparing file on disc to string in memory.
test-src/org/pentaho/agilebi/modeler/ModelerWorkspaceTest.java
Trying to fix a platform specific problem with unit test comparing file on disc to string in memory.
<ide><path>est-src/org/pentaho/agilebi/modeler/ModelerWorkspaceTest.java <ide> <ide> package org.pentaho.agilebi.modeler; <ide> <add>import org.apache.commons.lang.StringUtils; <ide> import org.junit.Test; <ide> import org.pentaho.agilebi.modeler.nodes.*; <ide> import org.pentaho.agilebi.modeler.util.ModelerWorkspace...
Java
apache-2.0
bbc41bcb39a96962abf4ad7bb55c881fde788af4
0
ngageoint/geowave-osm
src/test/java/mil/nga/giat/osm/OSMXMLParserTest.java
package mil.nga.giat.osm; import mil.nga.giat.osm.parser.OsmXmlLoader; import org.junit.Test; import java.io.File; import java.util.Map; public class OSMXMLParserTest { @Test public void testParseToCollection() throws Exception { String file = "D:\\Projects\\geowave-osm\\target\\data\\hangzhou_china.osm"; ...
changed geowave dep. version
src/test/java/mil/nga/giat/osm/OSMXMLParserTest.java
changed geowave dep. version
<ide><path>rc/test/java/mil/nga/giat/osm/OSMXMLParserTest.java <del>package mil.nga.giat.osm; <del> <del> <del>import mil.nga.giat.osm.parser.OsmXmlLoader; <del>import org.junit.Test; <del> <del>import java.io.File; <del>import java.util.Map; <del> <del>public class OSMXMLParserTest <del>{ <del> <del> @Test <del> publi...
Java
apache-2.0
979ab883f6c74d8613c191d447abe9f780561849
0
apache/chukwa,apache/chukwa,apache/chukwa,apache/chukwa,apache/chukwa
/* * 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 ...
src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.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 ...
CHUKWA-489. Fixed malformed SQL in MetricDataLoader when values contain single quote character. (Kirk True via Eric Yang) git-svn-id: 1026c85491d86cb5f050e5099013485485fd6d06@956297 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java
CHUKWA-489. Fixed malformed SQL in MetricDataLoader when values contain single quote character. (Kirk True via Eric Yang)
<ide><path>rc/java/org/apache/hadoop/chukwa/dataloader/MetricDataLoader.java <ide> sb.append( "\\\"" ); <ide> } else if( ch == '\\' ) { <ide> sb.append( "\\\\" ); <add> } else if( ch == '\'' ) { <add> sb.append( "\\'" ); <ide> } else { <ide> sb.append( ch ); <ide> ...
JavaScript
bsd-3-clause
e6b99c450f1c273fc27f71f8656c9180facd4191
0
webrtc/samples,webrtc/samples
/* * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ 'use strict'; /* global VideoPipe */ const video1 = document.querySelector('video#video1'); co...
src/content/peerconnection/endtoend-encryption/js/main.js
/* * Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. */ 'use strict'; /* global VideoPipe */ const video1 = document.querySelector('video#video1'); co...
e2ee: improve dump to display more metadata (#1284) to simplify checking the metadata correctness. Co-authored-by: Harald Alvestrand <ce816cd73d80f958d82de1df356058c2d2bca378@google.com>
src/content/peerconnection/endtoend-encryption/js/main.js
e2ee: improve dump to display more metadata (#1284)
<ide><path>rc/content/peerconnection/endtoend-encryption/js/main.js <ide> for (let j = 0; j < data.length && j < max; j++) { <ide> bytes += (data[j] < 16 ? '0' : '') + data[j].toString(16) + ' '; <ide> } <del> console.log(performance.now().toFixed(2), direction, bytes.trim(), chunk.data.byteLength, (data[0] & ...
Java
apache-2.0
3e3162da1a047717cd1d31a224cf970354815fb3
0
qingsong-xu/netty,wangyikai/netty,jdivy/netty,WangJunTYTL/netty,altihou/netty,yawkat/netty,timboudreau/netty,Kalvar/netty,hyangtack/netty,djchen/netty,yawkat/netty,nmittler/netty,hgl888/netty,yrcourage/netty,afds/netty,MediumOne/netty,normanmaurer/netty,f7753/netty,jchambers/netty,woshilaiceshide/netty,ejona86/netty,Do...
/* * JBoss, Home of Professional Open Source * * Copyright 2008, Red Hat Middleware LLC, and individual contributors * by the @author tags. See the COPYRIGHT.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the t...
src/main/java/org/jboss/netty/channel/socket/nio/NioProviderMetadata.java
/* * JBoss, Home of Professional Open Source * * Copyright 2008, Red Hat Middleware LLC, and individual contributors * by the @author tags. See the COPYRIGHT.txt in the distribution for a * full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * under the t...
Added support for IBM AIX 1.5 VM
src/main/java/org/jboss/netty/channel/socket/nio/NioProviderMetadata.java
Added support for IBM AIX 1.5 VM
<ide><path>rc/main/java/org/jboss/netty/channel/socket/nio/NioProviderMetadata.java <ide> return 2; <ide> } <ide> } <add> <add> // AIX <add> } if (os.indexOf("aix") >= 0) { <add> if (version.equals("1.5") || version.matches...
Java
agpl-3.0
d420dd8069c8b7c1b5271955e4cb0599e4de01ee
0
Periapsis/aphelion,Periapsis/aphelion
/* * Aphelion * Copyright (c) 2013 Joris van der Wel * * This file is part of Aphelion * * Aphelion 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, version 3 of the License. * * Aphelion i...
src/main/java/aphelion/shared/physics/entities/Projectile.java
/* * Aphelion * Copyright (c) 2013 Joris van der Wel * * This file is part of Aphelion * * Aphelion 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, version 3 of the License. * * Aphelion i...
emitForce fix, force should not be emitted if the projectile is soft removed, nor should it be applied to dead actors
src/main/java/aphelion/shared/physics/entities/Projectile.java
emitForce fix, force should not be emitted if the projectile is soft removed, nor should it be applied to dead actors
<ide><path>rc/main/java/aphelion/shared/physics/entities/Projectile.java <ide> { <ide> final boolean doShip = this.forceDistanceShip > 0 && this.forceVelocityShip != 0; <ide> final boolean doProjectile = this.forceDistanceProjectile > 0 && this.forceVelocityProjectile != 0; <del>...
Java
mit
22eb56401e75c6b0a3c635f693a7de7ecf007919
0
HealthInformatics/CDCProject-One,HealthInformatics/CDCProject-One
package edu.gatech.cdcproject.demo.ui; import android.Manifest; import android.app.FragmentTransaction; import android.app.TaskStackBuilder; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.StrictMode; import android.support.design.widget.FloatingActi...
demo/src/main/java/edu/gatech/cdcproject/demo/ui/MainActivity.java
package edu.gatech.cdcproject.demo.ui; import android.Manifest; import android.app.FragmentTransaction; import android.app.TaskStackBuilder; import android.content.Intent; import android.content.pm.PackageManager; import android.os.Bundle; import android.os.StrictMode; import android.support.design.widget.FloatingActi...
Debug.
demo/src/main/java/edu/gatech/cdcproject/demo/ui/MainActivity.java
Debug.
<ide><path>emo/src/main/java/edu/gatech/cdcproject/demo/ui/MainActivity.java <ide> <ide> setContentView(R.layout.activity_main); <ide> <del> //为了在main进程中使用网络(禁止是为了防阻塞),或者用线程走HTTP <add> //In order to use Internet connection in UI thread <ide> if (android.os.Build.VERSION.SDK_INT > 9) { <i...
JavaScript
mit
46bf8bafcb8a72742d03666e21748594bbbe45ca
0
10layer/jexpress,10layer/jexpress
const Jxp = require("jxp"); var config = require('config'); var mongoose = require("mongoose"); var Websocket = require('../libs/websockets.js'); var messagequeue = require("../libs/messagequeue"); var websocket = new Websocket(); var trimuser = function(user) { if (!user) { return null; } return { _id: user._i...
bin/server.js
const Jxp = require("jxp"); var config = require('config'); var mongoose = require("mongoose"); var Websocket = require('../libs/websockets.js'); var messagequeue = require("../libs/messagequeue"); var websocket = new Websocket(); var trimuser = function(user) { if (!user) { return null; } return { _id: user._i...
Use process.env.PORT
bin/server.js
Use process.env.PORT
<ide><path>in/server.js <ide> <ide> var server = new Jxp(config); <ide> <del>server.listen(config.port || 3001, function() { <add>server.listen(config.port || process.env.PORT || 3001, function() { <ide> console.log('%s listening at %s', "Workspaceman API", server.url); <ide> }); <ide>
Java
mit
45bc218ea79576ff44cef3228fc6b94d964feeb6
0
zzhoujay/RichText
package com.zzhoujay.richtext; import android.app.Activity; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Build; import android.support.annotation.DrawableRes; import android.support.annotation...
richtext/src/main/java/com/zzhoujay/richtext/RichText.java
package com.zzhoujay.richtext; import android.app.Activity; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.ColorDrawable; import android.graphics.drawable.Drawable; import android.os.Build; import android.support.annotation.DrawableRes; import android.support.annotation...
修复了GIF图不播放的问题
richtext/src/main/java/com/zzhoujay/richtext/RichText.java
修复了GIF图不播放的问题
<ide><path>ichtext/src/main/java/com/zzhoujay/richtext/RichText.java <ide> final ImageHolder holder = imageHolder; <ide> final ImageTarget target; <ide> final GenericRequestBuilder load; <add> if (isGif(holder.getSrc())) { <add> holder.setImageType(ImageHold...
Java
bsd-2-clause
1164b06f2dadd40673527ef815c77371bd96e073
0
biovoxxel/imagej,TehSAUCE/imagej,TehSAUCE/imagej,biovoxxel/imagej,TehSAUCE/imagej,biovoxxel/imagej
// // NativeLibraryUtil.java // /* ImageJ software for multidimensional image processing and analysis. Copyright (c) 2010, ImageJDev.org. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistrib...
extra/native-library-util/src/main/java/imagej/nativelibrary/NativeLibraryUtil.java
// // NativeLibraryUtil.java // /* ImageJ software for multidimensional image processing and analysis. Copyright (c) 2010, ImageJDev.org. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistrib...
Tidied up the javadoc; deprecated methods that use defunct approach; made platform specific paths simpler. This used to be revision r4670.
extra/native-library-util/src/main/java/imagej/nativelibrary/NativeLibraryUtil.java
Tidied up the javadoc; deprecated methods that use defunct approach; made platform specific paths simpler.
<ide><path>xtra/native-library-util/src/main/java/imagej/nativelibrary/NativeLibraryUtil.java <ide> import loci.wapmx.nativeutils.jniloader.JniExtractor; <ide> <ide> /** <del> * <add> * This class is a utility for loading native libraries. <add> * <p> <add> * An early approach, exemplified in the now-deprecated loadLi...
Java
bsd-2-clause
7b53e0986b379973e9dcff11971124c7ed8b079b
0
scifio/scifio
/* * #%L * OME Bio-Formats package for reading and converting biological file formats. * %% * Copyright (C) 2005 - 2012 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * This program is free software: you ca...
components/bio-formats/src/loci/formats/in/LeicaSCNReader.java
/* * #%L * OME Bio-Formats package for reading and converting biological file formats. * %% * Copyright (C) 2005 - 2012 Open Microscopy Environment: * - Board of Regents of the University of Wisconsin-Madison * - Glencoe Software, Inc. * - University of Dundee * %% * This program is free software: you ca...
LeicaSCNReader: Work with any schema version Warn if the schema is unsupported, but otherwise try to read it.
components/bio-formats/src/loci/formats/in/LeicaSCNReader.java
LeicaSCNReader: Work with any schema version
<ide><path>omponents/bio-formats/src/loci/formats/in/LeicaSCNReader.java <ide> <ide> if (qName.equals("scn")) { <ide> String ns = attributes.getValue("xmlns"); <del> if (ns == null || <del> !(ns.equals("http://www.leica-microsystems.com/scn/2010/03/10") || <del> ns.equals("http://w...
Java
lgpl-2.1
cdf2d3cb199ab198eff8b7c67048bad6394746d9
0
fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui,fjalvingh/domui
package to.etc.domui.util; import java.math.*; import java.util.*; import javax.annotation.*; import to.etc.domui.component.event.*; import to.etc.domui.component.meta.*; import to.etc.domui.dom.errors.*; import to.etc.domui.dom.html.*; import to.etc.domui.server.*; import to.etc.domui.state.*; import to.etc.util.*;...
to.etc.domui/src/to/etc/domui/util/SessionStorageUtil.java
package to.etc.domui.util; import java.math.*; import java.util.*; import javax.annotation.*; import to.etc.domui.component.event.*; import to.etc.domui.component.meta.*; import to.etc.domui.dom.errors.*; import to.etc.domui.dom.html.*; import to.etc.domui.server.*; import to.etc.domui.state.*; import to.etc.util.*;...
Minor refactorings of session storage util
to.etc.domui/src/to/etc/domui/util/SessionStorageUtil.java
Minor refactorings of session storage util
<ide><path>o.etc.domui/src/to/etc/domui/util/SessionStorageUtil.java <ide> */ <ide> public class SessionStorageUtil { <ide> <add> private static final String PART_TIME = "time"; <add> <add> private static final String PART_TYPE = "type"; <add> <add> private static final String PART_ID = "id"; <add> <ide> /** <ide> ...
Java
mit
8d08ab2f499ccc9d0e3458e9e4d0f39c7728f678
0
dlwhitehurst/sonic-challenge
package com.sonic.domain; import static org.junit.Assert.*; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.junit.Test; public class TestOrder { protected final Log log = LogFactory.getL...
src/test/java/com/sonic/domain/TestOrder.java
package com.sonic.domain; import static org.junit.Assert.*; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.junit.Test; public class TestOrder { protected final Log log = LogFactory.getL...
refactored tests for Order
src/test/java/com/sonic/domain/TestOrder.java
refactored tests for Order
<ide><path>rc/test/java/com/sonic/domain/TestOrder.java <ide> public class TestOrder { <ide> <ide> protected final Log log = LogFactory.getLog(getClass()); <del> <del> @Test <del> public void testOrderCreation() { <add> <add> /** <add> * Creates order using array of OrderItem constructor <add> * @return preloaded ...
Java
mit
6d0527f01e8ad8791b253742f0b9bcaf173336f2
0
silentsignal/burp-requests,silentsignal/burp-requests
package burp; import java.util.*; import java.awt.datatransfer.*; import java.awt.event.*; import java.awt.Toolkit; import javax.swing.JMenuItem; public class BurpExtender implements IBurpExtender, IContextMenuFactory, ClipboardOwner { private IExtensionHelpers helpers; private final static String NAME...
src/burp/BurpExtender.java
package burp; import java.util.*; import java.awt.datatransfer.*; import java.awt.event.*; import java.awt.Toolkit; import javax.swing.JMenuItem; public class BurpExtender implements IBurpExtender, IContextMenuFactory, ClipboardOwner { private IExtensionHelpers helpers; private final static String NAME...
processBody: merged common string constructor
src/burp/BurpExtender.java
processBody: merged common string constructor
<ide><path>rc/burp/BurpExtender.java <ide> int bo = ri.getBodyOffset(); <ide> if (bo == req.length - 1) return; <ide> py.append(", data="); <add> String reqString = new String(req, bo, req.length - bo); <ide> if (ri.getContentType() == IRequestInfo.CONTENT_TYPE_URL_ENCODED) { <ide> py.append('{'); <ide> ...
Java
mit
48474ad7e78d8b2ad13a7f73b9ba7cdbb126cbaa
0
sleaze/ripme,sleaze/ripme,rephormat/ripme,rephormat/ripme,sleaze/ripme,rephormat/ripme
package com.rarchives.ripme.tst.ripper.rippers; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.List; import com.rarchives.ripme.ripper.rippers.DeviantartRipper; import com.rarchives.ripme.utils.Http; import org.jsoup.nodes.Document; public class DeviantartRipperTest ext...
src/test/java/com/rarchives/ripme/tst/ripper/rippers/DeviantartRipperTest.java
package com.rarchives.ripme.tst.ripper.rippers; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.List; import com.rarchives.ripme.ripper.rippers.DeviantartRipper; import com.rarchives.ripme.utils.Http; import org.jsoup.nodes.Document; //TODO build some tests public class ...
changed comment because of code factor check
src/test/java/com/rarchives/ripme/tst/ripper/rippers/DeviantartRipperTest.java
changed comment because of code factor check
<ide><path>rc/test/java/com/rarchives/ripme/tst/ripper/rippers/DeviantartRipperTest.java <ide> import com.rarchives.ripme.utils.Http; <ide> import org.jsoup.nodes.Document; <ide> <del>//TODO build some tests <ide> public class DeviantartRipperTest extends RippersTest { <ide> public void testDeviantartAlbum() throw...
Java
apache-2.0
0073a77fe6f62e1aa1ef69c4e0a160f061998704
0
Reidddddd/alluxio,maobaolong/alluxio,ChangerYoung/alluxio,Reidddddd/alluxio,WilliamZapata/alluxio,bf8086/alluxio,PasaLab/tachyon,jsimsa/alluxio,uronce-cc/alluxio,bf8086/alluxio,yuluo-ding/alluxio,riversand963/alluxio,bf8086/alluxio,ShailShah/alluxio,madanadit/alluxio,Alluxio/alluxio,calvinjia/tachyon,Alluxio/alluxio,ww...
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
minicluster/src/main/java/alluxio/master/MultiMasterLocalAlluxioCluster.java
/* * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 * (the "License"). You may not use this work except in compliance with the License, which is * available at www.apache.org/licenses/LICENSE-2.0 * * This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDI...
Clean up temporary zookeeper directory
minicluster/src/main/java/alluxio/master/MultiMasterLocalAlluxioCluster.java
Clean up temporary zookeeper directory
<ide><path>inicluster/src/main/java/alluxio/master/MultiMasterLocalAlluxioCluster.java <ide> <ide> package alluxio.master; <ide> <add>import alluxio.AlluxioTestDirectory; <ide> import alluxio.Configuration; <ide> import alluxio.Constants; <ide> import alluxio.client.file.FileSystem; <ide> mNumOfMasters = masters;...
Java
mit
b682e4ea5aac89ce593ed94d6add3744dcf8e733
0
segator/proxylive,segator/proxylive
/* * 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 com.github.segator.proxylive.service; import com.github.segator.proxylive.config.PlexAuthentication; import com.github.segator...
src/main/java/com/github/segator/proxylive/service/PlexAuthenticationService.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 com.github.segator.proxylive.service; import com.github.segator.proxylive.config.PlexAuthentication; import com.github.segator...
some problems with users in capital case in plex
src/main/java/com/github/segator/proxylive/service/PlexAuthenticationService.java
some problems with users in capital case in plex
<ide><path>rc/main/java/com/github/segator/proxylive/service/PlexAuthenticationService.java <ide> <ide> @Override <ide> public boolean loginUser(String user, String password) throws MalformedURLException, IOException, ParseException { <del> if(allowedUsers.contains(user)){ <add> if(user!=null && ...
Java
bsd-3-clause
cd833c17328771233b8e90fe11bdd3cdff40f60b
0
NCIP/catissue-core,NCIP/catissue-core,krishagni/openspecimen,NCIP/catissue-core,asamgir/openspecimen,krishagni/openspecimen,krishagni/openspecimen,asamgir/openspecimen,asamgir/openspecimen
package edu.wustl.catissuecore.reportloader.test; import java.io.File; import java.util.HashMap; import java.util.Map; import edu.wustl.catissuecore.reportloader.HL7Parser; import edu.wustl.catissuecore.reportloader.Parser; import edu.wustl.catissuecore.reportloader.SiteInfoHandler; import edu.wustl.common.t...
WEB-INF/src/edu/wustl/catissuecore/reportloader/test/HL7FileParserTest.java
package edu.wustl.catissuecore.reportloader.test; import java.io.File; import java.util.HashMap; import java.util.Map; import edu.wustl.catissuecore.reportloader.HL7Parser; import edu.wustl.catissuecore.reportloader.Parser; import edu.wustl.catissuecore.reportloader.ReportLoaderUtil; import edu.wustl.catissu...
test case name updated SVN-Revision: 7013
WEB-INF/src/edu/wustl/catissuecore/reportloader/test/HL7FileParserTest.java
test case name updated
<ide><path>EB-INF/src/edu/wustl/catissuecore/reportloader/test/HL7FileParserTest.java <ide> <ide> import edu.wustl.catissuecore.reportloader.HL7Parser; <ide> import edu.wustl.catissuecore.reportloader.Parser; <del>import edu.wustl.catissuecore.reportloader.ReportLoaderUtil; <ide> import edu.wustl.catissuecore.reportlo...
Java
mit
8932160ef07018d052d87526c3c8eff216569c2a
0
AlienIdeology/AIBot
/* * 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 Main; import Command.UtilityModule.*; import Command.*; import Command.InformationModule.*; import Command.ModerationModule.*...
src/main/java/Main/Main.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 Main; import Command.*; import Command.InformationModule.*; import Command.ModerationModule.*; import Command.MiscellaneousMo...
Rename to UtilityModule
src/main/java/Main/Main.java
Rename to UtilityModule
<ide><path>rc/main/java/Main/Main.java <ide> <ide> package Main; <ide> <add>import Command.UtilityModule.*; <ide> import Command.*; <ide> import Command.InformationModule.*; <ide> import Command.ModerationModule.*; <del>import Command.MiscellaneousModule.*; <ide> import Command.MusicModule.*; <ide> import Command.Res...
JavaScript
mit
5c1e41cea378b7ea5fae1c16e137d86261b8f312
0
Sora-Server/Sora,Sora-Server/Sora,Sora-Server/Sora
// The server port - the port to run Pokemon Showdown under exports.port = 13000; // The server id - the id specified in the server registration. // This should be set properly especially when there are more than one // pokemon showdown server running from the same IP exports.serverId = 'thesoraleague'; // proxyI...
config/config.js
// The server port - the port to run Pokemon Showdown under exports.port = 13000; // The server id - the id specified in the server registration. // This should be set properly especially when there are more than one // pokemon showdown server running from the same IP exports.serverId = 'thesoraleague'; // proxyI...
Update config.js
config/config.js
Update config.js
<ide><path>onfig/config.js <ide> 'hooh': '022.gif', <ide> 'gymldrzoro': '036.gif', <ide> 'frntiernight': '024.png', <del> 'frontierzachary': '101.png', <add> 'gymldrarthurzh': '101.png', <ide> 'akashpaul': '027.gif', <ide> 'gymldriris': '028.png', <ide> 'frntirtempest': '038.png',
Java
apache-2.0
4af9edc0651ae0c55b3275469b7a7c10fb7822c7
0
Malanius/Terasology,Nanoware/Terasology,Nanoware/Terasology,MovingBlocks/Terasology,Nanoware/Terasology,Malanius/Terasology,MovingBlocks/Terasology,MovingBlocks/Terasology
/* * Copyright 2017 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
engine/src/main/java/org/terasology/rendering/dag/dependencyConnections/BufferPair.java
/* * Copyright 2017 MovingBlocks * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed t...
BufferPair - javadoc and checkstyle
engine/src/main/java/org/terasology/rendering/dag/dependencyConnections/BufferPair.java
BufferPair - javadoc and checkstyle
<ide><path>ngine/src/main/java/org/terasology/rendering/dag/dependencyConnections/BufferPair.java <ide> import org.terasology.rendering.opengl.FBO; <ide> <ide> /** <del> * <add> * This class represents BufferPair, a pair of FBO buffers, which represent a main render target. <add> * A pair so you can read from one whil...
JavaScript
bsd-3-clause
940b44069d7f9ab50a4540d489bd03a04d0e884d
0
blinkmobile/bic-v2,blinkmobile/bic-v2
var MyAnswers = MyAnswers || {}, siteVars = siteVars || {}, deviceVars = deviceVars || {}, locationTracker, latitude, longitude, webappCache, hasCategories = false, hasMasterCategories = false, hasVisualCategories = false, hasInteractions = false, answerSpaceOneKeyword = false, currentInteraction, currentCategory,...
public_html/_R_/common/3/main.js
var MyAnswers = MyAnswers || {}, siteVars = siteVars || {}, deviceVars = deviceVars || {}, locationTracker, latitude, longitude, webappCache, hasCategories = false, hasMasterCategories = false, hasVisualCategories = false, hasInteractions = false, answerSpaceOneKeyword = false, currentInteraction, currentCategory,...
_R_: - restrict most logging in processForms() to cases of failure - allow showAnswerView to accept arguments as either a parameterised string or a key->value array/object
public_html/_R_/common/3/main.js
_R_: - restrict most logging in processForms() to cases of failure - allow showAnswerView to accept arguments as either a parameterised string or a key->value array/object
<ide><path>ublic_html/_R_/common/3/main.js <ide> if ($.isEmptyObject(args)) { <ide> gotoNextScreen(attributes.interaction || attributes.keyword); <ide> } else { <del> showAnswerView(attributes.interaction || attributes.keyword, $.param(args)); <add> showAnswerView(attributes.interaction || attributes.ke...
Java
apache-2.0
9583c59546a2b4d18f5157984ba678911a33e862
0
pingles/cascading.cassandra
package org.pingles.cascading.cassandra; import cascading.tap.SinkMode; import cascading.tap.Tap; import cascading.tap.hadoop.TapCollector; import cascading.tap.hadoop.TapIterator; import cascading.tuple.TupleEntryCollector; import cascading.tuple.TupleEntryIterator; import cascading.util.Util; import org.apache.cassa...
src/main/java/org/pingles/cascading/cassandra/CassandraTap.java
package org.pingles.cascading.cassandra; import cascading.tap.SinkMode; import cascading.tap.Tap; import cascading.tap.hadoop.TapCollector; import cascading.tap.hadoop.TapIterator; import cascading.tuple.TupleEntryCollector; import cascading.tuple.TupleEntryIterator; import cascading.util.Util; import org.apache.cassa...
made path names for taps unique, which enables multiple queries to write to the same CF in parallel
src/main/java/org/pingles/cascading/cassandra/CassandraTap.java
made path names for taps unique, which enables multiple queries to write to the same CF in parallel
<ide><path>rc/main/java/org/pingles/cascading/cassandra/CassandraTap.java <ide> import org.slf4j.Logger; <ide> import org.slf4j.LoggerFactory; <ide> import java.io.IOException; <add>import java.util.UUID; <ide> <ide> public class CassandraTap extends Tap { <ide> private static final Logger LOGGER = <ide> <ide> ...
Java
bsd-3-clause
b42deaee7f9923c02741982d3ef2e8160447573e
0
fvdnabee/mspsim,contiki-os/mspsim,ransford/mspsim,joakimeriksson/mspsim,ransford/mspsim,mspsim/mspsim,cmorty/mspsim,joakimeriksson/mspsim,nfi/mspsim,contiki-os/mspsim,nfi/mspsim,cmorty/mspsim,mspsim/mspsim,fvdnabee/mspsim
/** * Copyright (c) 2007, Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright *...
se/sics/mspsim/util/OperatingModeStatistics.java
/** * Copyright (c) 2007, Swedish Institute of Computer Science. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * 1. Redistributions of source code must retain the above copyright *...
Changed StatEntry to start immediately instead of waiting for first mode change git-svn-id: b6c13a3f01c183418960c1e4d1e6a42a97ce9376@397 23d1a52b-0c3c-0410-b72d-8f29ab48fe35
se/sics/mspsim/util/OperatingModeStatistics.java
Changed StatEntry to start immediately instead of waiting for first mode change
<ide><path>e/sics/mspsim/util/OperatingModeStatistics.java <ide> private class StatEntry implements OperatingModeListener { <ide> final Chip chip; <ide> long startTime; <del> int mode = -1; <add> int mode; <ide> long[] elapsed; <del> <add> <ide> StatEntry(Chip chip) { <ide> this.chip =...
Java
apache-2.0
f31003e653d8fd94b85e8b5947604c235266c654
0
Nickname0806/Test_Q4,Nickname0806/Test_Q4,apache/tomcat,apache/tomcat,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat,Nickname0806/Test_Q4,apache/tomcat
/* * 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...
java/org/apache/coyote/ajp/AjpNioProtocol.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...
Fix release of processors in AjpNioProtocol. Wrong object was used as a key in the connections map. "connections" is "Map<S,Processor<S>>", so the key in the map is socket, not its wrapper. Found this in a review inspired by a similar fix in r1426662. git-svn-id: 79cef5a5a257cc9dbe40a45ac190115b4780e2d0@1431171 13f79...
java/org/apache/coyote/ajp/AjpNioProtocol.java
Fix release of processors in AjpNioProtocol. Wrong object was used as a key in the connections map.
<ide><path>ava/org/apache/coyote/ajp/AjpNioProtocol.java <ide> */ <ide> @Override <ide> public void release(SocketWrapper<NioChannel> socket) { <del> Processor<NioChannel> processor = connections.remove(socket); <add> Processor<NioChannel> processor = <add> ...
Java
mit
f2d8284e3109847f03cdc85b93e0bf9ed70610bf
0
Thatsmusic99/HeadsPlus
package io.github.thatsmusic99.headsplus.commands.maincommand; import io.github.thatsmusic99.headsplus.HeadsPlus; import io.github.thatsmusic99.headsplus.commands.CommandInfo; import io.github.thatsmusic99.headsplus.commands.IHeadsPlusCommand; import io.github.thatsmusic99.headsplus.config.HeadsPlusConfigHeads; import...
src/main/java/io/github/thatsmusic99/headsplus/commands/maincommand/HeadInfoCommand.java
package io.github.thatsmusic99.headsplus.commands.maincommand; import io.github.thatsmusic99.headsplus.HeadsPlus; import io.github.thatsmusic99.headsplus.commands.CommandInfo; import io.github.thatsmusic99.headsplus.commands.IHeadsPlusCommand; import io.github.thatsmusic99.headsplus.config.HeadsPlusConfigHeads; import...
oh my god
src/main/java/io/github/thatsmusic99/headsplus/commands/maincommand/HeadInfoCommand.java
oh my god
<ide><path>rc/main/java/io/github/thatsmusic99/headsplus/commands/maincommand/HeadInfoCommand.java <ide> import io.github.thatsmusic99.headsplus.config.HeadsPlusMessagesManager; <ide> import io.github.thatsmusic99.headsplus.listeners.DeathEvents; <ide> import io.github.thatsmusic99.headsplus.util.CachedValues; <add>imp...
Java
apache-2.0
d4b34c7276a342aa63f1cb52363df1bb7f4a57e6
0
MatthewTamlin/Spyglass
package com.matthewtamlin.spyglass.library.default_adapters; import android.content.Context; import com.matthewtamlin.java_utilities.testing.Tested; import com.matthewtamlin.spyglass.library.default_annotations.DefaultToInteger; import static com.matthewtamlin.java_utilities.checkers.NullChecker.checkNotNull; /** ...
library/src/main/java/com/matthewtamlin/spyglass/library/default_adapters/DefaultToIntegerAdapter.java
package com.matthewtamlin.spyglass.library.default_adapters; import android.content.Context; import com.matthewtamlin.java_utilities.testing.Tested; import com.matthewtamlin.spyglass.library.default_annotations.DefaultToInteger; import static com.matthewtamlin.java_utilities.checkers.NullChecker.checkNotNull; /** ...
Reformatting
library/src/main/java/com/matthewtamlin/spyglass/library/default_adapters/DefaultToIntegerAdapter.java
Reformatting
<ide><path>ibrary/src/main/java/com/matthewtamlin/spyglass/library/default_adapters/DefaultToIntegerAdapter.java <ide> * Adapter for interfacing with DefaultToInteger annotations. <ide> */ <ide> @Tested(testMethod = "automated") <del>public class DefaultToIntegerAdapter <del> implements DefaultAdapter<Integer, Defau...
Java
apache-2.0
7240c7409a167a694c9881c4f618f9e65155cb44
0
agilemobiledev/workflow,NirmataOSS/workflow
/** * Copyright 2014 Nirmata, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
src/main/java/com/nirmata/workflow/details/JsonSerializer.java
/** * Copyright 2014 Nirmata, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
use TaskMode.STANDARD as default
src/main/java/com/nirmata/workflow/details/JsonSerializer.java
use TaskMode.STANDARD as default
<ide><path>rc/main/java/com/nirmata/workflow/details/JsonSerializer.java <ide> <ide> public static TaskType getTaskType(JsonNode node) <ide> { <del> TaskMode taskMode = node.has("mode") ? TaskMode.fromCode(node.get("mode").intValue()) : null; // for backward compatability <add> TaskMode taskMode ...
Java
apache-2.0
58be5b1e3ba86fa06e251b9b3ece9c0ea23bb03e
0
blindpirate/gradle,blindpirate/gradle,gstevey/gradle,gstevey/gradle,blindpirate/gradle,gradle/gradle,gstevey/gradle,robinverduijn/gradle,lsmaira/gradle,gradle/gradle,lsmaira/gradle,lsmaira/gradle,gradle/gradle,blindpirate/gradle,gstevey/gradle,gstevey/gradle,blindpirate/gradle,lsmaira/gradle,robinverduijn/gradle,robinv...
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
subprojects/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java
/* * Copyright 2013 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applica...
DefaultModelRegistry refinements Dedup some object graph navigation +review REVIEW-5679
subprojects/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java
DefaultModelRegistry refinements
<ide><path>ubprojects/model-core/src/main/java/org/gradle/model/internal/registry/DefaultModelRegistry.java <ide> modelGraph.add(node); <ide> ruleBindings.nodeCreated(node); <ide> <del> node.setHidden(node.getRegistrationBinder().getRegistration().isHidden()); <del> if (node.getRegistrati...
Java
bsd-3-clause
6ac9526bfb7ea9a1e1646e75a9a64dc2ce2e54dc
0
NCIP/cananolab,NCIP/cananolab,NCIP/cananolab
package gov.nih.nci.cananolab.restful; import gov.nih.nci.cananolab.dto.particle.SampleBean; import gov.nih.nci.cananolab.restful.sample.SampleBO; import gov.nih.nci.cananolab.restful.sample.SearchSampleBO; import gov.nih.nci.cananolab.restful.view.SimpleSampleBean; import gov.nih.nci.cananolab.ui.form.SearchSam...
software/cananolab-webapp/src/gov/nih/nci/cananolab/restful/SampleServices.java
package gov.nih.nci.cananolab.restful; import gov.nih.nci.cananolab.dto.particle.SampleBean; import gov.nih.nci.cananolab.restful.sample.SampleBO; import gov.nih.nci.cananolab.restful.sample.SearchSampleBO; import gov.nih.nci.cananolab.restful.view.SimpleSampleBean; import gov.nih.nci.cananolab.ui.form.SearchSam...
Refactored sampleSearch code
software/cananolab-webapp/src/gov/nih/nci/cananolab/restful/SampleServices.java
Refactored sampleSearch code
<ide><path>oftware/cananolab-webapp/src/gov/nih/nci/cananolab/restful/SampleServices.java <ide> (SearchSampleBO) applicationContext.getBean("searchSampleBO"); <ide> <ide> List results = searchSampleBO.search(searchForm, httpRequest); <add> return Response.ok(results).build(); <ide> <del> List<Simple...
Java
artistic-2.0
52188d6cc64993ba6a92b4f1a292ce64a34718bf
0
cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp,cygx/nqp
package org.perl6.nqp.sixmodel; import org.perl6.nqp.runtime.ExceptionHandling; import org.perl6.nqp.runtime.HLLConfig; import org.perl6.nqp.runtime.Ops; import org.perl6.nqp.runtime.ThreadContext; import org.perl6.nqp.sixmodel.reprs.NativeRefInstance; import org.perl6.nqp.sixmodel.reprs.NativeRefREPRData; public cla...
src/vm/jvm/runtime/org/perl6/nqp/sixmodel/NativeRefContainerSpec.java
package org.perl6.nqp.sixmodel; import org.perl6.nqp.runtime.ExceptionHandling; import org.perl6.nqp.runtime.Ops; import org.perl6.nqp.runtime.ThreadContext; import org.perl6.nqp.sixmodel.reprs.NativeRefInstance; public class NativeRefContainerSpec extends ContainerSpec { /* Fetches a value out of a container. Us...
Non-native fetch/store to native_ref conts.
src/vm/jvm/runtime/org/perl6/nqp/sixmodel/NativeRefContainerSpec.java
Non-native fetch/store to native_ref conts.
<ide><path>rc/vm/jvm/runtime/org/perl6/nqp/sixmodel/NativeRefContainerSpec.java <ide> package org.perl6.nqp.sixmodel; <ide> <ide> import org.perl6.nqp.runtime.ExceptionHandling; <add>import org.perl6.nqp.runtime.HLLConfig; <ide> import org.perl6.nqp.runtime.Ops; <ide> import org.perl6.nqp.runtime.ThreadContext; <ide> ...
Java
apache-2.0
ef9d099ffd94c0962f8eae8d25c18086193998b1
0
coding0011/elasticsearch,naveenhooda2000/elasticsearch,kalimatas/elasticsearch,ThiagoGarciaAlves/elasticsearch,Stacey-Gammon/elasticsearch,LeoYao/elasticsearch,wenpos/elasticsearch,strapdata/elassandra,LeoYao/elasticsearch,wangtuo/elasticsearch,qwerty4030/elasticsearch,gfyoung/elasticsearch,GlenRSmith/elasticsearch,jim...
/* * 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/index/shard/IndexShardTests.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...
Mute IndexShardTests#testRelocatedShardCanNotBeRevivedConcurrently
core/src/test/java/org/elasticsearch/index/shard/IndexShardTests.java
Mute IndexShardTests#testRelocatedShardCanNotBeRevivedConcurrently
<ide><path>ore/src/test/java/org/elasticsearch/index/shard/IndexShardTests.java <ide> closeShards(shard); <ide> } <ide> <add> @AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/25419") <ide> public void testRelocatedShardCanNotBeRevivedConcurrently() throws IOException, Interrupted...
Java
apache-2.0
b9ad03fc16601e5ed4f2955f81b678ab804c0dee
0
abarisain/dmix,hurzl/dmix,0359xiaodong/dmix,joansmith/dmix,0359xiaodong/dmix,joansmith/dmix,abarisain/dmix,jcnoir/dmix,hurzl/dmix,jcnoir/dmix
/* * Copyright (C) 2010-2014 The MPDroid Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
MPDroid/src/com/namelessdev/mpdroid/fragments/StreamsFragment.java
/* * Copyright (C) 2010-2014 The MPDroid Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable ...
Temporary fix : disable remote streams fetching
MPDroid/src/com/namelessdev/mpdroid/fragments/StreamsFragment.java
Temporary fix : disable remote streams fetching
<ide><path>PDroid/src/com/namelessdev/mpdroid/fragments/StreamsFragment.java <ide> import android.content.SharedPreferences; <ide> import android.os.Bundle; <ide> import android.preference.PreferenceManager; <add>import android.util.Log; <ide> import android.util.Xml; <ide> import android.view.ContextMenu; <ide> import...
Java
apache-2.0
9197d8a07ebf5987217b0cec729383a881a18484
0
vlsidlyarevich/unity,vlsidlyarevich/unity,vlsidlyarevich/unity,vlsidlyarevich/unity
package com.github.vlsidlyarevich.unity.service; import com.github.vlsidlyarevich.unity.models.Name; import com.github.vlsidlyarevich.unity.models.WorkerProfile; import com.github.vlsidlyarevich.unity.repository.WorkerProfileRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springfr...
src/main/java/com/github/vlsidlyarevich/unity/service/WorkerProfileService.java
package com.github.vlsidlyarevich.unity.service; import com.github.vlsidlyarevich.unity.models.Name; import com.github.vlsidlyarevich.unity.models.WorkerProfile; import com.github.vlsidlyarevich.unity.repository.WorkerProfileRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springfr...
Little fix of worker profile service
src/main/java/com/github/vlsidlyarevich/unity/service/WorkerProfileService.java
Little fix of worker profile service
<ide><path>rc/main/java/com/github/vlsidlyarevich/unity/service/WorkerProfileService.java <ide> return repository.findAll(); <ide> } <ide> <del> //TODO:// FIXME: 30.09.16 <del> public List<WorkerProfile> findByFilters(MultiValueMap<String, String> filters) { <del> return null; <del> } <del>...
Java
lgpl-2.1
c2188edc4c6fdd298738b3623de03613c072ad28
0
marcomachadosantos/gwt-chronoscope,marcomachadosantos/gwt-chronoscope,sangohan/gwt-chronoscope,sangohan/gwt-chronoscope,KunjanSharma/gwt-chronoscope,marcomachadosantos/gwt-chronoscope,KunjanSharma/gwt-chronoscope,sangohan/gwt-chronoscope,KunjanSharma/gwt-chronoscope,sangohan/gwt-chronoscope,codeaudit/gwt-chronoscope,co...
package org.timepedia.chronoscope.client.plot; import com.google.gwt.event.shared.EventHandler; import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.HandlerManager; import com.google.gwt.event.shared.HandlerRegistration; import org.timepedia.chronoscope.client.Chart; import org.timepedia.ch...
chronoscope-api/src/main/java/org/timepedia/chronoscope/client/plot/DefaultXYPlot.java
package org.timepedia.chronoscope.client.plot; import com.google.gwt.event.shared.EventHandler; import com.google.gwt.event.shared.GwtEvent; import com.google.gwt.event.shared.HandlerManager; import com.google.gwt.event.shared.HandlerRegistration; import org.timepedia.chronoscope.client.Chart; import org.timepedia.ch...
fix domain width max, min limits
chronoscope-api/src/main/java/org/timepedia/chronoscope/client/plot/DefaultXYPlot.java
fix domain width max, min limits
<ide><path>hronoscope-api/src/main/java/org/timepedia/chronoscope/client/plot/DefaultXYPlot.java <ide> public class DefaultXYPlot<T extends Tuple2D> <ide> implements XYPlot<T>, Exportable, DatasetListener<T>, ZoomListener { <ide> <add> protected static double MIN_WIDTH_FACTOR = 2.0; <add> protected static double...
JavaScript
mit
ee18b897442f62328b0cad95f67c5cf7600212fe
0
kodumen/dumpchi,kodumen/dumpchi,kodumen/dumpchi
var elixir = require('laravel-elixir'); /* |-------------------------------------------------------------------------- | Elixir Asset Management |-------------------------------------------------------------------------- | | Elixir provides a clean, fluent API for defining some basic Gulp tasks | for your Larave...
gulpfile.js
var elixir = require('laravel-elixir'); /* |-------------------------------------------------------------------------- | Elixir Asset Management |-------------------------------------------------------------------------- | | Elixir provides a clean, fluent API for defining some basic Gulp tasks | for your Larave...
Updated gulp
gulpfile.js
Updated gulp
<ide><path>ulpfile.js <ide> */ <ide> <ide> elixir(function(mix) { <del> mix.sass('app.sass'); <add> mix.sass('app.scss'); <ide> });
JavaScript
mit
728daa5871657495b27b6c95d254af9081eaab5a
0
makotom/nodebed,makotom/nodebed
(function () { "use strict"; var CONFIG = { serverUid : "http", serverGid : "http", listenIPv4 : true, listenIPv6 : true, servicePort : 37320, workersMaxNum : 64, workersKeepIdle : 7200, // Unit: second workersTimeout : 60, // Unit: second messageCap : 1024 * 16 // Unit: octet }, Messenger = fun...
core.js
(function () { "use strict"; var CONFIG = { serverUid : "http", serverGid : "http", listenIPv4 : true, listenIPv6 : true, servicePort : 37320, workersMaxNum : 64, workersKeepIdle : 7200, // Unit: second workersTimeout : 60, // Unit: second messageCap : 1024 * 16 // Unit: octet }, Messenger = fun...
[core] Added built-in query string parsing
core.js
[core] Added built-in query string parsing
<ide><path>ore.js <ide> <ide> fs = require("fs"), <ide> <add> parseStr = function (str) { <add> var ret = {}; <add> <add> str.toString().split("&").forEach(function (term) { <add> var eqSplit = term.split("="), <add> fieldName = decodeURIComponent(eqSplit.shift()); <add> <add> if (fieldName === "") { ...
Java
apache-2.0
4f426d1a34f594b2546064c8d8502f81dd1885c0
0
TarantulaTechnology/JGroups,Sanne/JGroups,vjuranek/JGroups,ligzy/JGroups,deepnarsay/JGroups,slaskawi/JGroups,rvansa/JGroups,rvansa/JGroups,kedzie/JGroups,belaban/JGroups,TarantulaTechnology/JGroups,danberindei/JGroups,dimbleby/JGroups,rhusar/JGroups,rhusar/JGroups,Sanne/JGroups,pferraro/JGroups,deepnarsay/JGroups,ibrah...
package org.jgroups.tests; import junit.framework.TestCase; import org.jgroups.JChannel; import org.jgroups.Message; import org.jgroups.ReceiverAdapter; import org.jgroups.View; import org.jgroups.util.Util; import java.util.LinkedList; import java.util.List; /** * Tests a SEQUENCER based stack: A, B and C. B s...
tests/junit/org/jgroups/tests/SequencerFailoverTest.java
package org.jgroups.tests; import junit.framework.TestCase; import org.jgroups.JChannel; import org.jgroups.Message; import org.jgroups.ReceiverAdapter; import org.jgroups.View; import org.jgroups.util.Util; import java.util.LinkedList; import java.util.List; /** * Tests a SEQUENCER based stack: A, B and C. B s...
using "sequencer.xml" as props
tests/junit/org/jgroups/tests/SequencerFailoverTest.java
using "sequencer.xml" as props
<ide><path>ests/junit/org/jgroups/tests/SequencerFailoverTest.java <ide> * Tests a SEQUENCER based stack: A, B and C. B starts multicasting messages with a monotonically increasing <ide> * number. Then A is crashed. C and B should receive *all* numbers *without* a gap. <ide> * @author Bela Ban <del> * @version $Id: ...
Java
apache-2.0
2592c947fe65bc5872fde323f59605031e07972a
0
PEXPlugins/PermissionsEx,Phoenix616/PermissionsEx,xaoseric/PermissionsEx,Phoenix616/PermissionsEx,PEXPlugins/PermissionsEx,PEXPlugins/PermissionsEx,xaoseric/PermissionsEx
/* * PermissionsEx - Permissions plugin for Bukkit * Copyright (C) 2011 t3hk0d3 http://www.tehkode.ru * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, ...
src/main/java/ru/tehkode/permissions/PermissionEntity.java
/* * PermissionsEx - Permissions plugin for Bukkit * Copyright (C) 2011 t3hk0d3 http://www.tehkode.ru * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, ...
Fixed formatting
src/main/java/ru/tehkode/permissions/PermissionEntity.java
Fixed formatting
<ide><path>rc/main/java/ru/tehkode/permissions/PermissionEntity.java <ide> */ <ide> public abstract class PermissionEntity { <ide> <del> protected static Pattern rangeExpression = Pattern.compile("(\\d+)-(\\d+)"); <del> protected PermissionManager manager; <del> private String name; <del> protected boolea...
Java
epl-1.0
b636f3d675353d4217584827f4a56ed3ab7c30d3
0
kaloyan-raev/eclipse-wtp-webresources,kaloyan-raev/eclipse-wtp-webresources,angelozerr/eclipse-wtp-webresources,angelozerr/eclipse-wtp-webresources,angelozerr/eclipse-wtp-webresources,kaloyan-raev/eclipse-wtp-webresources
/** * Copyright (c) 2013-2014 Angelo ZERR. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributor...
org.eclipse.a.wst.html.webresources.ui/src/org/eclipse/wst/html/webresources/internal/ui/utils/HTMLWebResourcesPrinter.java
/** * Copyright (c) 2013-2014 Angelo ZERR. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributor...
fix typo
org.eclipse.a.wst.html.webresources.ui/src/org/eclipse/wst/html/webresources/internal/ui/utils/HTMLWebResourcesPrinter.java
fix typo
<ide><path>rg.eclipse.a.wst.html.webresources.ui/src/org/eclipse/wst/html/webresources/internal/ui/utils/HTMLWebResourcesPrinter.java <ide> buffer.append("\" />"); <ide> // Hack to generate an well height for the browser input control. <ide> Integer imageHeight = ResourceHelper.getImageHeight(resource); <del> ...
Java
apache-2.0
c920d86c39f96af6817f03d8074fa18cc929eeab
0
beckchr/juel
/* * Copyright 2006-2009 Odysseus Software GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
modules/impl/src/main/java/de/odysseus/el/TreeMethodExpression.java
/* * Copyright 2006-2009 Odysseus Software GmbH * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
EL specification requires NPE (instead of ELException) if paramTypes is null
modules/impl/src/main/java/de/odysseus/el/TreeMethodExpression.java
EL specification requires NPE (instead of ELException) if paramTypes is null
<ide><path>odules/impl/src/main/java/de/odysseus/el/TreeMethodExpression.java <ide> throw new ELException(LocalMessages.get("error.method.invalid", expr)); <ide> } <ide> if (paramTypes == null) { <del> throw new ELException(LocalMessages.get("error.method.notypes")); <add> throw new NullPointerException...
Java
apache-2.0
error: pathspec 'common-repository/api-repository/src/main/java/io/shardingsphere/example/repository/api/service/DemoService.java' did not match any file(s) known to git
d1c68c120196887e248cec16eab391c3593e1a99
1
leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,leeyazhou/sharding-jdbc,leeyazhou/sharding-jdbc,apache/incubator-shardingsphere,apache/incubator-shardingsphere
/* * Copyright 2016-2018 shardingsphere.io. * <p> * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable l...
common-repository/api-repository/src/main/java/io/shardingsphere/example/repository/api/service/DemoService.java
add demo service
common-repository/api-repository/src/main/java/io/shardingsphere/example/repository/api/service/DemoService.java
add demo service
<ide><path>ommon-repository/api-repository/src/main/java/io/shardingsphere/example/repository/api/service/DemoService.java <add>/* <add> * Copyright 2016-2018 shardingsphere.io. <add> * <p> <add> * Licensed under the Apache License, Version 2.0 (the "License"); <add> * you may not use this file except in compliance wit...
Java
isc
094ac9f27b2b1302c60d826b27321e959e77dbda
0
Mitsugaru/EntityManager
package net.milkycraft.listeners; import net.milkycraft.EntityManager; import net.milkycraft.configuration.Settings; import org.bukkit.ChatColor; import org.bukkit.entity.Enderman; import org.bukkit.entity.Entity; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.bukkit.event.EventHan...
src/net/milkycraft/Listeners/EntitiesListener.java
package net.milkycraft.listeners; import java.util.List; import java.util.logging.Logger; import net.milkycraft.configuration.Settings; import org.bukkit.ChatColor; import org.bukkit.entity.Enderman; import org.bukkit.entity.Entity; import org.bukkit.entity.LivingEntity; import org.bukkit.entity.Player; import org.b...
Various minor changes
src/net/milkycraft/Listeners/EntitiesListener.java
Various minor changes
<ide><path>rc/net/milkycraft/Listeners/EntitiesListener.java <ide> package net.milkycraft.listeners; <ide> <del>import java.util.List; <del>import java.util.logging.Logger; <del> <add>import net.milkycraft.EntityManager; <ide> import net.milkycraft.configuration.Settings; <ide> <ide> import org.bukkit.ChatColor; <ide...
JavaScript
mpl-2.0
b8a8c520576492986650bcf97de93fcb7209c2cb
0
159356-1702-Extramural/capstone,159356-1702-Extramural/capstone,159356-1702-Extramural/capstone,159356-1702-Extramural/capstone
/** * Create a cards object to hold relevant card relating to specific action */ function Cards(){ this.resource_cards = { brick : 0, grain : 0, sheep : 0, lumber: 0, ore : 0 }; this.dev_cards = { year_of_plenty : 0, monopoly : 0, knight :...
public/data_api/cards.js
/** * Create a cards object to hold relevant card relating to specific action */ function Cards(){ this.resource_cards = { brick : 0, grain : 0, sheep : 0, lumber: 0, ore : 0 }; this.dev_cards = { year_of_plenty : 0, monopoly : 0, knight :...
buyDevCard: fixed testing mess I created
public/data_api/cards.js
buyDevCard: fixed testing mess I created
<ide><path>ublic/data_api/cards.js <ide> governors_house : 0 <ide> }; <ide> <del> this.round_distibution = { <del> brick : 0, <del> wheat : 0, <del> sheep : 0, <del> wood : 0, <del> ore : 0, <de...
Java
mpl-2.0
7985fa678e7575a731ba010c432186233091a411
0
jonalmeida/focus-android,mozilla-mobile/focus-android,ekager/focus-android,mozilla-mobile/focus-android,jonalmeida/focus-android,ekager/focus-android,mozilla-mobile/focus-android,ekager/focus-android,jonalmeida/focus-android,ekager/focus-android,jonalmeida/focus-android,mozilla-mobile/focus-android,jonalmeida/focus-and...
/* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*- * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.focus.fragment;...
app/src/main/java/org/mozilla/focus/fragment/FirstrunFragment.java
/* -*- Mode: Java; c-basic-offset: 4; tab-width: 20; indent-tabs-mode: nil; -*- * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ package org.mozilla.focus.fragment;...
Handle First Run A11y Detach UrlInputFragment Closes #2615
app/src/main/java/org/mozilla/focus/fragment/FirstrunFragment.java
Handle First Run A11y Detach UrlInputFragment Closes #2615
<ide><path>pp/src/main/java/org/mozilla/focus/fragment/FirstrunFragment.java <ide> final TabLayout tabLayout = (TabLayout) view.findViewById(R.id.tabs); <ide> tabLayout.setupWithViewPager(viewPager, true); <ide> <add> final FragmentManager fragmentManager = getFragmentManager(); <add> fin...
Java
apache-2.0
8c16d0ddc1ca65110c9a1970c8532e97c7a3c5bd
0
sriksun/falcon,kenneththo/incubator-falcon,vramachan/falcon,kenneththo/incubator-falcon,PraveenAdlakha/falcon,InMobi/falcon,vramachan/falcon,InMobi/falcon,InMobi/ivory,PraveenAdlakha/falcon,baishuo/falcon_search,pragya-mittal/falcon,sriksun/falcon,pisaychuk/falcon,pisaychuk/falcon,InMobi/incubator-falcon,kenneththo/inc...
/* * 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 ...
webapp/src/test/java/org/apache/ivory/util/ResourcesReflectionUtilTest.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 ...
Aspect method added to reflectionutil for Rollback alerts-testcase
webapp/src/test/java/org/apache/ivory/util/ResourcesReflectionUtilTest.java
Aspect method added to reflectionutil for Rollback alerts-testcase
<ide><path>ebapp/src/test/java/org/apache/ivory/util/ResourcesReflectionUtilTest.java <ide> Assert.assertEquals("processName", ResourcesReflectionUtil.getResourceDimensionsName("ProcessInstanceManager.killProcessInstance").get(1)); <ide> <ide> Assert.assertEquals("process-instance",ResourcesReflectionUtil.getRe...
Java
apache-2.0
0059c20071798914f216034ea93556c46e56efab
0
metaborg/mb-exec,metaborg/mb-exec,metaborg/mb-exec
/* * Created on 10. okt.. 2006 * * Copyright (c) 2006-2011, Karl Trygve Kalleberg <karltk near strategoxt dot org> * * Licensed under the GNU Lesser General Public License, v2.1 */ package org.spoofax.interpreter.library.ecj; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; i...
org.spoofax.interpreter.adapter.ecj/src/main/java/org/spoofax/interpreter/library/ecj/ECJTools.java
/* * Created on 10. okt.. 2006 * * Copyright (c) 2005-2011, Karl Trygve Kalleberg <karltk near strategoxt dot org> * * Licensed under the GNU Lesser Public License, v2.1 */ package org.spoofax.interpreter.library.ecj; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import or...
Added is/as for method declarations. svn path=/spoofax/trunk/spoofax/org.spoofax.interpreter.adapter.ecj/; revision=23712
org.spoofax.interpreter.adapter.ecj/src/main/java/org/spoofax/interpreter/library/ecj/ECJTools.java
Added is/as for method declarations.
<ide><path>rg.spoofax.interpreter.adapter.ecj/src/main/java/org/spoofax/interpreter/library/ecj/ECJTools.java <ide> /* <ide> * Created on 10. okt.. 2006 <ide> * <del> * Copyright (c) 2005-2011, Karl Trygve Kalleberg <karltk near strategoxt dot org> <add> * Copyright (c) 2006-2011, Karl Trygve Kalleberg <karltk near s...
Java
agpl-3.0
8373b68f59182e6e716609ed9e5066ec3b37c36c
0
KinshipSoftware/KinOathKinshipArchiver,PeterWithers/temp-to-delete1,PeterWithers/temp-to-delete1,KinshipSoftware/KinOathKinshipArchiver
package nl.mpi.kinnate.svg; import nl.mpi.kinnate.kindata.GraphSorter; import nl.mpi.kinnate.kindata.EntityData; import nl.mpi.kinnate.ui.GraphPanelContextMenu; import nl.mpi.kinnate.ui.KinTypeEgoSelectionTestPanel; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.MouseWheelEvent; import ...
src/main/java/nl/mpi/kinnate/svg/GraphPanel.java
package nl.mpi.kinnate.svg; import nl.mpi.kinnate.kindata.GraphSorter; import nl.mpi.kinnate.kindata.EntityData; import nl.mpi.kinnate.ui.GraphPanelContextMenu; import nl.mpi.kinnate.ui.KinTypeEgoSelectionTestPanel; import java.awt.BorderLayout; import java.awt.Dimension; import java.awt.event.MouseWheelEvent; import ...
Added check boxes to the gedcom import to select newly imported entity by type and show them in a graph.
src/main/java/nl/mpi/kinnate/svg/GraphPanel.java
Added check boxes to the gedcom import to select newly imported entity by type and show them in a graph.
<ide><path>rc/main/java/nl/mpi/kinnate/svg/GraphPanel.java <ide> ArrayList<URI> returnPaths = new ArrayList<URI>(); <ide> for (String egoId : dataStoreSvg.egoIdentifierSet) { <ide> try { <del> returnPaths.add(new URI(getPathForElementId(egoId))); <add> String en...
Java
mit
0298f529482ed1526abe6c0f73e01e42f23ead4c
0
nking/curvature-scale-space-corners-and-transformations,nking/curvature-scale-space-corners-and-transformations
package algorithms.imageProcessing; import algorithms.misc.Misc; import algorithms.misc.MiscDebug; import algorithms.misc.MiscMath; import java.util.logging.Logger; import java.util.HashSet; import algorithms.util.PairInt; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Set...
src/algorithms/imageProcessing/CannyEdgeColorAdaptive.java
package algorithms.imageProcessing; import algorithms.misc.Misc; import algorithms.misc.MiscDebug; import algorithms.misc.MiscMath; import java.util.logging.Logger; import java.util.HashSet; import algorithms.util.PairInt; import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Set...
changing the "C" canny upper threshold in the Canny color edges filter to reduce noise in the final edges.
src/algorithms/imageProcessing/CannyEdgeColorAdaptive.java
changing the "C" canny upper threshold in the Canny color edges filter to reduce noise in the final edges.
<ide><path>rc/algorithms/imageProcessing/CannyEdgeColorAdaptive.java <ide> cannyC.overrideToUseAdaptiveThreshold(); <ide> } <ide> <del> cannyL.setOtsuScaleFactor(otsuScaleFactor); <del> cannyC.setOtsuScaleFactor(otsuScaleFactor); <del> <ide> cannyL.override2LayerFa...
Java
lgpl-2.1
c4c43affd0fe66ec1c9c5f22b397f03f06abc44b
0
ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror,ekiwi/jade-mirror
/***************************************************************** JADE - Java Agent DEvelopment Framework is a framework to develop multi-agent systems in compliance with the FIPA specifications. Copyright (C) 2000 CSELT S.p.A. GNU Lesser General Public License This library is free software; you can redistribute i...
src/jade/gui/GuiAgent.java
/***************************************************************** JADE - Java Agent DEvelopment Framework is a framework to develop multi-agent systems in compliance with the FIPA specifications. Copyright (C) 2000 CSELT S.p.A. GNU Lesser General Public License This library is free software; you can redistribute i...
no message
src/jade/gui/GuiAgent.java
no message
<ide><path>rc/jade/gui/GuiAgent.java <ide> @version $Date$ $Revision$ <ide> */ <ide> <del>public class GuiAgent extends Agent <add>public abstract class GuiAgent extends Agent <ide> { <ide> /** <ide> @serial <ide> <ide> ///////////////////////////////////////////////////////////////////////// <ide> // METHODS TO ...
Java
mit
89b23053d36333ab4f80e5968372831d0319ea63
0
MaxMEllon/InfoExpr2,MaxMEllon/InfoExpr2
package Common; import javax.swing.JPanel; import Game.Content.Ball.Ball; import java.awt.Dimension; import java.awt.Rectangle; import java.awt.geom.Area; public class BongPanel extends JPanel { private static final long serialVersionUID = -6626211277264484350L; protected Point point; pr...
Bong/src/Common/BongPanel.java
package Common; import javax.swing.JPanel; import java.awt.Dimension; public class BongPanel extends JPanel { private static final long serialVersionUID = -6626211277264484350L; protected Point point; protected Size size; public BongPanel() { super(); this.point = new P...
[add] 当たり判定メソッドの仮実装
Bong/src/Common/BongPanel.java
[add] 当たり判定メソッドの仮実装
<ide><path>ong/src/Common/BongPanel.java <ide> package Common; <ide> <ide> import javax.swing.JPanel; <add> <add>import Game.Content.Ball.Ball; <add> <ide> import java.awt.Dimension; <add>import java.awt.Rectangle; <add>import java.awt.geom.Area; <ide> <ide> public class BongPanel extends JPanel <ide> { <ide> ...
Java
apache-2.0
cde2da16de7dcb66aa3458b0ed277d967d05fdc0
0
SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
server/src/main/java/io/spine/server/aggregate/model/AggregateClass.java
/* * Copyright 2019, TeamDev. All rights reserved. * * Redistribution and use in source and/or binary forms, with or without * modification, must retain the above copyright notice and the following * disclaimer. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR...
Fix Javadoc layout
server/src/main/java/io/spine/server/aggregate/model/AggregateClass.java
Fix Javadoc layout
<ide><path>erver/src/main/java/io/spine/server/aggregate/model/AggregateClass.java <ide> * <ide> * <p>Although technically imported events are not "produced" by the aggregates, <ide> * they end up in the same {@code EventBus} and have the same behaviour as the ones <del> * emitted by the aggregates....
Java
epl-1.0
c89b34b39506c058dbc8513255974272169b5f6e
0
cmaoling/portfolio,buchen/portfolio,Beluk/portfolio,cmaoling/portfolio,cmaoling/portfolio,sebasbaumh/portfolio,cmaoling/portfolio,sebasbaumh/portfolio,sebasbaumh/portfolio,simpsus/portfolio,Beluk/portfolio,simpsus/portfolio,sebasbaumh/portfolio,Beluk/portfolio,buchen/portfolio,simpsus/portfolio,buchen/portfolio,buchen/...
package name.abuchen.portfolio.ui.wizards.datatransfer; import java.io.IOException; import java.nio.charset.Charset; import java.text.MessageFormat; import java.text.ParseException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.EnumMap; import java.util.HashSet...
name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ImportDefinitionPage.java
package name.abuchen.portfolio.ui.wizards.datatransfer; import java.io.IOException; import java.nio.charset.Charset; import java.text.MessageFormat; import java.text.ParseException; import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.EnumMap; import java.util.HashSet...
Used new column editing support for import dialog
name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ImportDefinitionPage.java
Used new column editing support for import dialog
<ide><path>ame.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/wizards/datatransfer/ImportDefinitionPage.java <ide> import name.abuchen.portfolio.datatransfer.CSVImporter.FieldFormat; <ide> import name.abuchen.portfolio.ui.Messages; <ide> import name.abuchen.portfolio.ui.PortfolioPlugin; <del>import name.abuchen.por...
Java
epl-1.0
d1497db1b353a4a395b481039e55b1b2059e7e1e
0
jboss-reddeer/reddeer,djelinek/reddeer,djelinek/reddeer,jboss-reddeer/reddeer
package org.jboss.reddeer.swt.test; import org.apache.log4j.ConsoleAppender; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView; import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException; import...
org.jboss.reddeer.swt.test/src/org/jboss/reddeer/swt/test/RedDeerTest.java
package org.jboss.reddeer.swt.test; import org.apache.log4j.ConsoleAppender; import org.apache.log4j.Level; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import org.eclipse.swtbot.eclipse.finder.widgets.SWTBotView; import org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException; import...
Fixed NPE when log.debug system property is not set
org.jboss.reddeer.swt.test/src/org/jboss/reddeer/swt/test/RedDeerTest.java
Fixed NPE when log.debug system property is not set
<ide><path>rg.jboss.reddeer.swt.test/src/org/jboss/reddeer/swt/test/RedDeerTest.java <ide> * @author Jiri Peterka <ide> */ <ide> public class RedDeerTest { <add> <add> Logger log = Logger.getLogger(RedDeerTest.class); <ide> <ide> @Before <ide> public void setUpRDT(){ <ide> String PATTERN = "%-5p [%t][%C{1}] %m%...